Commit graph

33662 commits

Author SHA1 Message Date
Matthias Wilhelm
23be466c97
[Discover] Replace EuiTooltip by native title for better performance (#68280) 2020-06-08 20:24:54 +02:00
Lukas Olson
8174b5ce29
[Search] Refactor service to register search strategies, not providers (#60342)
* Add async search strategy

* Add async search

* Fix async strategy and add tests

* Move types to separate file

* Revert changes to demo search

* Update demo search strategy to use async

* Add async es search strategy

* Return response as rawResponse

* Poll after initial request

* Add cancellation to search strategies

* Add tests

* Simplify async search strategy

* Move loadingCount to search strategy

* Update abort controller library

* Bootstrap

* Abort when the request is aborted

* Add utility and update value suggestions route

* Fix bad merge conflict

* Update tests

* Move to data_enhanced plugin

* Remove bad merge

* Revert switching abort controller libraries

* Revert package.json in lib

* Move to previous abort controller

* Add support for frozen indices

* Fix test to use fake timers to run debounced handlers

* Revert changes to example plugin

* Fix loading bar not going away when cancelling

* Call getSearchStrategy instead of passing  directly

* Add async demo search strategy

* Fix error with setting state

* Update how aborting works

* Fix type checks

* Add test for loading count

* Attempt to fix broken example test

* Revert changes to test

* Fix test

* Update name to camelCase

* Fix failing test

* Don't require data_enhanced in example plugin

* Actually send DELETE request

* Use waitForCompletion parameter

* Use default search params

* Add support for rollups

* Only make changes needed for frozen indices/rollups

* Only make changes needed for frozen indices/rollups

* Add back in async functionality

* Fix tests/types

* Fix issue with sending empty body in GET

* Don't include skipped in loaded/total

* Don't wait before polling the next time

* Add search interceptor for bulk managing searches

* Simplify search logic

* Fix merge error

* Review feedback

* UI to stop async searches

* Add service for running beyond timeout

* Refactor abort utils

* Remove unneeded changes

* Add tests

* Refactor search service to register strategies directly

* Remove accidental change

* re-generate docs

* Fix merge

* types

* doc

* eslint

* Fix async strategy jest test

* type fix

* Use getStartServices in search strategies

* Code review + snapshot

* eslint

* Type script

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2020-06-08 21:22:09 +03:00
Corey Robertson
16fbbf4345
[Canvas] Tear down history instances (#68277)
* [Canvas] Tear down history instances

* Always create history on Canvas startup

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 14:11:51 -04:00
Thomas Neirynck
0189ae5c3f
[Maps] Enable gridding/clustering/heatmaps for geo_shape fields (#67886)
Enables heatmap, clusters, and grid layers for index-patterns with geo_shape field. This feature is only available for Gold+ users.
2020-06-08 11:51:04 -04:00
Melissa Alvarez
e2f11e9fe9
[ML] DFAnalytics results: ensure ml result fields are shown in data grid (#68305)
* wip: ensure top classes and influencer result col show up correctly

* ensure ml subFields columns are populated
2020-06-08 11:19:01 -04:00
Robert Austin
bc3918671c
[security_solution] enable react-hooks/exhaustive-deps (#68470)
* Enable `react-hooks/exhaustive-deps` rule for security_solution
* Disable it anywhere that it would catch an issue
2020-06-08 10:43:10 -04:00
Oliver Gupte
2bedb59c8e
Closes #66867 by adding missing, requried API params (#68465)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 07:30:14 -07:00
Stratoula Kalafateli
fcab9745e0
[Telemetry] collect number of visualization saved in the past 7, 30 and 90 days (#67865)
* Update telemetry for visualizations to also count the vis from the past 30 and 90 days

* Also add metrics for the saved visualizations for the past 7 days

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 17:29:20 +03:00
Alejandro Fernández
e66eaf74fd
[Logs UI] View in context tweaks (#67777)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 15:49:26 +02:00
Stacey Gammon
f89e911f64
Kibana developer examples landing page (#67049)
* Kibana developer examples

* Batch explorer tests should be run in examples config

* Fix tests

* add codeowner for new developer examples plugin & readme cleanup

* Try to frame embeddable wording based on what a developer's goals are.

* Add noopener noreferer, fix bad merge

* Remove bfetch.png

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 09:47:51 -04:00
Joe Portner
c29fcbb46b
Bump decompress package version (#68386) 2020-06-08 09:45:06 -04:00
Peter Pisljar
de4eaf9ae7
fix #66185 (#66186) 2020-06-08 15:31:14 +02:00
Joe Portner
77ab709976
Bump pdfmake package version (#68395) 2020-06-08 09:19:32 -04:00
Anton Dosov
49171516d7
Unskip embeddables/adding_children suite (#68111)
Giving it another chance *cross fingers* 
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 15:01:55 +02:00
Alex Wild
38b9a8db8a
Add embed mode options in the Share UI (#58435) 2020-06-08 14:12:03 +02:00
Cauê Marcondes
00cff3cd7e
Adding key to avoid react warning (#68491) 2020-06-08 13:03:05 +02:00
Tim Roes
09eaa1c57a
Add app arch team as owner of datemath package (#66880)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 11:37:44 +02:00
Cauê Marcondes
07e3c9cb41
[Observability] Landing page for Observability (#67467)
* creating overview page and menu

* styling the home page

* adjusting breadcrumb

* renaming isnt working

* renaming isnt working

* renaming isnt working

* fixing import

* fixing scroll when resize window

* fixing eslint errors

* prepending links

* adding target option

* refactoring

* adding dark mode support

* fixing prettier format

* fixing i18n

* reverting some unnecessary changes

* addressing PR comments

* fixing functional tests

* ordering observability menu

* fixing tests

* addressing PR comments

* fixing test

* fixing scroll

* addressing pr comments

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-08 09:07:35 +02:00
patrykkopycinski
48ef260e11
[SIEM] Fix timeline buildGlobalQuery (#68320) 2020-06-06 11:25:12 +02:00
Rudolf Meijering
2559dbe3ba
Optimize saved objects getScopedClient and HTTP API (#68221)
* Create a single repository to be shared by all calls to getScopedClient

* Cache migrator.getActiveMappings to improve createRepository

* Use typeregistry.getAllTypes instead of getRootPropertiesObjects(mappings)

* Don't validate plugin's config every time it's read

* Fix saved_objects_mixin
2020-06-06 01:05:02 +02:00
Thomas Neirynck
77c8aee3cd
[Maps] Fix mb-style interpolate style rule (#68413) 2020-06-05 17:33:38 -04:00
Dmitry Lemeshko
1f99144ef6
update script to always download node (#68421)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 23:28:49 +02:00
Xavier Mouligneau
e3d88a4f09
[SECURITY SOLEIL] Fix selection of event type when no siem index signal created (#68291)
* fix selection of event type when no siem index signal created

* including the term signal for the old timeline

* fix import path

* Add a specific msg in the inspect modal if we do not have the alert index created

* fix import if eventType is siganl to match it to alert

* forget to update test

* fix signal view

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 15:29:16 -04:00
gchaps
eaca7ee008
[DOCS] Adds note about configuring File Data Visualizer (#68407) 2020-06-05 11:10:52 -07:00
gchaps
66138a8e71
[DOCS] Adds link from remote clusters to index patterns (#68406) 2020-06-05 11:09:45 -07:00
Tre
5bfd704dd8
[QA] slack notify on failure (#68126) 2020-06-05 10:49:06 -06:00
Robert Austin
c98cfda890
upgrade eslint-plugin-react-hooks from 2.3.0 to 4.0.4 (#68295)
* updates `eslint-plugin-react-hooks` from `v2.3.0` to `v4.0.4`. 
* Disable rules on failing lines
2020-06-05 12:43:55 -04:00
Xavier Mouligneau
bc7655a80f
moving to jira to a gold license (#67178)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 12:34:18 -04:00
gchaps
891e3c585c
[DOCS] Revises doc on adding data (#68038)
* [DOCS] Revises doc on adding data

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* Update docs/setup/connect-to-elasticsearch.asciidoc

Co-authored-by: debadair <debadair@elastic.co>

* [DOCS] Minor edits to add data doc

* [DOCS] Incorporated review comments

* [DOCS] Incorporates review comments

* [DOCS] Removes link to advanced settings

Co-authored-by: debadair <debadair@elastic.co>
2020-06-05 09:06:12 -07:00
Søren Louv-Jansen
c7353b0b0e
[APM] Add ThemeProvider to support dark mode (#68242) 2020-06-05 17:39:33 +02:00
Robert Oskamp
fd1ad4c293
Make welcome screen disabling first action in loginIfPrompted (#68238)
This PR moves the welcome screen disabling in loginIfPrompted to the first position.
2020-06-05 17:39:03 +02:00
Dmitry Lemeshko
5064ae4a4c
[QA] Code coverage: unskip tests, collect tests results, exclude bundles from report (#64477)
* custom nyc configs, run all tests

* copy tests results back to original folder
2020-06-05 09:34:25 -06:00
Robert Oskamp
28a7540f22 [ML] Functional tests - disable flaky regression and classification creation test 2020-06-05 17:32:42 +02:00
Patrick Mueller
e57f92549b
[Alerting] change eventLog ILM requests to absolute URLs (#68331)
resolves https://github.com/elastic/kibana/issues/68265

This changes the ILM requests made by the eventLog from relative to absolute
URLs.  These requests test the existence of and create ILM policies, and are
made with a cluster client using `transport.request`.  Relative URLs work fine
locally and in CI, however do not work on the cloud.
2020-06-05 11:04:03 -04:00
Dmitry Lemeshko
6f57fa0b2d
Report page load asset size (#66224)
* performance_tests: draft version

* update cli runner and script

* ingest metrics

* save asset type for plugins

* Update src/dev/performance/ingest_metrics.ts

Co-authored-by: Spencer <email@spalger.com>

* follow review comments

* fix size calc, add FTR config, move src to kbn/test

* fix import, remove unused interface

* Update packages/kbn-test/src/page_load_metrics/capture_page_load_metrics.ts

Co-authored-by: Spencer <email@spalger.com>

* start chromium with no-sandbox

* add logging

* check page contains expected element, cut apps to 5

* fix locator & typo

* Update packages/kbn-test/src/page_load_metrics/navigation.ts

Co-authored-by: Spencer <email@spalger.com>

* Update navigation.ts

* Update navigation.ts

* bump puppeteer version

* fix typo

* update navigation script

* update config file

* update yarn.lock

* fix

* take screenshot on failure

* update screenshot title

* fix screenshot saving and error

* invalid locator

* Revert "invalid locator"

This reverts commit 3007539a69.

* run script in a loop 10 times

* Revert "run script in a loop 10 times"

This reverts commit 6cfa219140.

* path config value directly

* fix screenshots directory setup

* update maps locator, common for landing and new map

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2020-06-05 16:42:55 +02:00
Christos Nasikas
ade2f03916
[SIEM][CASE] Change SIEM to Security (#68365) 2020-06-05 16:27:15 +03:00
Maja Grubic
45107bc480
[Dashboard] Improve duplicate panel positioning (#67461)
* [Dashboard] Clone panel position

* Fixing inconsistencies in previous commit; removing readonly property of a grid

* Change sorting algorithm so that it sorts by the ending coordinates

* Always place panel to the bottom

* Fixing declaration error

* Add more comments

* Make GridData readonly
2020-06-05 14:21:17 +01:00
Shahzad
20b804e1c3
[Uptime]update cert flaky tests (#67167)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 15:00:37 +02:00
Vadim Dalecky
7ea8ef1fba
Discover URL generator (#67937)
* feat: 🎸 stub discover_enhanced plugin

* feat: 🎸 add Discover URL generator

* chore: 🤖 remove x-pack plugin

* fix: 🐛 fix types in URL generator

* test: 💍 setup test file for Discover URL generator

* feat: 🎸 expose Discover URL generator in start life-cycle

* feat: 🎸 add ability to specify saved search ID in URL generator

* docs: ✏️ add JSDoc for Discover URL generator

* fix: 🐛 set correctly global filters in Discover URL generator

* docs: ✏️ remove wrong comment in JsDoc

* style: 💄 format single arg arrow function with parens

* chore: 🤖 disable toggles in Dicover sample drilldown

* feat: 🎸 use Discover URL generator in example plugin

* test: 💍 add urlGenerator mock

* test: 💍 add .registerUrlGenerator() test mock

* test: 💍 correct Karma mock for "share" plugin URL generator
2020-06-05 14:52:05 +02:00
Matthias Wilhelm
a6e9caefe4
[Discover] Unskip context size tests (#68213) 2020-06-05 14:45:59 +02:00
Vadim Dalecky
99a6435daf
advanced_ui_actions 👉 ui_actions_enhanced (#68258)
* chore: 🤖 rename advanced_ui_actions to ui_actions_enhanced

* chore: 🤖 rename exported interface to "enhanced"
2020-06-05 13:14:01 +02:00
Uladzislau Lasitsa
b87eefc753
[uiSettings]: Migrate items owned by app arch to new platform (#66040)
* Migrated uiSettings items to new platform

* API changes

* Fixed translations

* Fixed comment and i18n

* Fixed tests

* Fixed internalization

* Fix karma tests

* made code more explicit

* Fixed plugin

* Added consts for ui settings ids.

* Added id for another settings

* Fixed tests.

* Improved imports

* Fix imports to public which were happening from the server.

* Fixed paths

* Moved styles to plugin.ts

* Moved styles

* Fixed docs

* Fix ci

* Fix ci

* fix documentation

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2020-06-05 10:55:42 +03:00
Ashik Meerankutty
7027d5bad9
Add whitespace before add actions (#67835)
* Added empty string filter

* Changed operator in empty string filter

* Add space before add condition

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 03:06:12 -04:00
Thomas Watson
b01a8f8e08
Update Node.js to version 10.21.0 (#68059) 2020-06-05 08:31:59 +02:00
Aleh Zasypkin
c6e2fed1c6
Register privileges in Kibana Platform Security plugin and remove legacy getUser API. (#65472) 2020-06-05 08:11:58 +02:00
igoristic
6ef2a2c07e
Fixed access denied page (#68046)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-05 02:06:20 -04:00
Alison Goryachev
2abf9d5946
[ILM] Add missing time unit labels (#68205)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 21:18:44 -04:00
Paul Tavares
cdb6b4dd33
[Endpoint] Move the Endpoint Host page over to the Management Endpoints sub-tab (#68002)
* move code dir. to management/pages
* Make hosts appear on endpoints tab
* Add support for `className` to `<FormattedDate>` component
* add FormattedDate to Host list to display last seen date
2020-06-04 21:09:00 -04:00
Paul Tavares
c3269fa117
Fix typo in policy response action name (#68307) 2020-06-04 21:04:05 -04:00
spalger
6f5a0c3b41 remove and ignore legacy/plugins/reporting directory 2020-06-04 17:10:07 -07:00