Commit graph

42857 commits

Author SHA1 Message Date
Kaarina Tungseth 4a56a01a08
[DOCS] Adds runtime fields (#99395)
* [DOCS] Runtime fields

* [DOCS] Runtime fields

* Adds examples and Lens changes

* Review comments

* Adds redirects

* Review comments

* Revert "Review comments"

This reverts commit 537732a5cf.

* Review comments

* Fixes broken link

* Removes duplicate link

Co-authored-by: Kaarina Tungseth <kaarinatungseth@Kaarinas-MacBook-Pro.local>
2021-05-12 15:48:13 -05:00
Casper Hübertz febaafecc0
[APM] Add iOS agent icon (#99911) 2021-05-12 22:30:48 +02:00
Constance 4803f28ef3
[App Search] Add red alert icon to Schema nav link if engine has schema reindex errors (#99976)
* Add hasSchemaErrors selector

* [Cleanup] Remove now-unused setIndexingStatus action

- Was previous used onSuccess after schema was manually updated in the UI, but we now re-fetch all engine detail data instead (to get additional document/boost/relevance tuning info) and no longer need that specific setter

* Add red alert/warning icon to Schema nav link

* [Polish] Fix mobile UI when nav icons are present
2021-05-12 16:29:07 -04:00
Justin Kambic 5dec3db8c3
[Uptime] Clear selectedFilters state when action payload is blank (#99851)
* Clear `selectedFilters` state when action payload is blank.

* Add tests.

* Fix import error.
2021-05-12 15:38:43 -04:00
Constance ea7582361d
[App Search] Schema reindex job errors view (#99941)
* Set up ReindexJobLogic

* Update ReindexJob view with load behavior & shared SchemaErrorsAccordion
2021-05-12 12:33:10 -07:00
Tyler Smalley 537be25754
[FTR][CI] Use default distribution for all tests (#94968)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-05-12 15:24:25 -04:00
Justin Kambic e3f0afa4e0
Move functional tests off of legacy es client. (#99801)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 15:21:22 -04:00
Casper Hübertz 98fa1b58f5
[APM] Changing the palette and opacity (#99908) 2021-05-12 20:25:06 +02:00
Quynh Nguyen e99cfb5c0b
[ML] Stabilize anomaly chart embeddable tests (#99955)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 13:15:52 -05:00
CJ Cenizal 6abce78d15
Change Snapshot and Restore doc link to point to the Kibana docs. (#99850) 2021-05-12 11:02:55 -07:00
Jonathan Budzenski 3c282fa977
[kbn-crypto] Fix typo in package name (#99935) 2021-05-12 13:05:20 -04:00
Tiago Costa 6f819638ba
chore(NA): upgrade bazel rules nodejs to v3.5.0 (#99932) 2021-05-12 12:50:03 -04:00
Wylie Conlon 43f4bdf2bf
Correct types on CodeEditor (#99844) 2021-05-12 12:40:48 -04:00
Thom Heymann 4e5df8cf20
Handle session timeout and user activity (#98461)
* Handle session timeout and user activity

* Added suggestions form code review

* Fix i18n errors

* Moved session timeout calculation to server side

* fixed tests

* Added suggestions from code review

* fix types

* Removed unecessary response interceptor and improved copy

* Handle scenario when session does not exist correctly

* Do not show warning again if previously dismissed

* Added suggestions from code review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 17:33:10 +01:00
Constance 907c8a5a86
Fix Flash Messages live region axe issue (#99872) 2021-05-12 09:27:38 -07:00
Stratoula Kalafateli dffa14334f
[TSVB] Replaces hardcoded ids with uuid (#97423)
* [TSVB] Replace hardcoded ids with uuid

* Use v4 instead

* Add id on the model initialization

* Change the id in case of new visualization

* Add paneld to the meta object

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 19:25:24 +03:00
Nathan Reese b097385707
[Lens] visualize in maps button (#98677)
* [Lens] visualize in maps button

* clean up dependency injection as suggested

* add custom workspace render for geo fields

* tslint and finish drag and drop for geo field

* convert react class to function component

* prevent page reload when clicking visualize in maps button

* filter allFields instead of using condition to populate fieldTypeNames to fix tslint

* clean up UI

* fix jest test

* globe illustration

* UI cleanup

* functional test

* Update x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx

Co-authored-by: Michael Marcialis <michael@marcial.is>

* Update x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.scss

Co-authored-by: Michael Marcialis <michael@marcial.is>

* Update x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx

Co-authored-by: Michael Marcialis <michael@marcial.is>

* Update x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.scss

Co-authored-by: Michael Marcialis <michael@marcial.is>

* Update x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.scss

Co-authored-by: Michael Marcialis <michael@marcial.is>

* Update x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx

Co-authored-by: Michael Marcialis <michael@marcial.is>

* updated globe svg

* remove unused

* better message for drop zone screen reader

* Update x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx

Co-authored-by: Michael Marcialis <michael@marcial.is>

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Marcialis <michael@marcial.is>
2021-05-12 09:54:34 -06:00
Dominique Clarke 4b2203754e
[Uptime] remove optional tag from timeout field in synthetics integration (#99410)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 11:35:24 -04:00
Dominique Clarke e11848f5ea
[Uptime] use blob mime type for journey screenshot headers (#99832) 2021-05-12 11:34:16 -04:00
igoristic 6d263162f0
[Monitoring] Added missing cgroup memory (#99602)
* Added missing cgroup memory

* Fixed tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 11:24:05 -04:00
Wylie Conlon 4c8f44e6ce
[Lens] Reframe Lens tutorials for our target users (#97339)
* [Lens] Reframe Lens tutorials for our target users

* Update all titles

* Focus more on dashboard creation and simplified examples

* Update screenshots and add title instructions

* 📝 First draft of advanced tutorial in lens

* Update first two tutorial sections from feedback

* More review comments

* Respond to feedback
2021-05-12 11:07:45 -04:00
Dominique Clarke e2e046850a
[Uptime] remove extra response body docs external link icon (#99064)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 11:05:28 -04:00
Dominique Clarke 497cc5a8e8
[Observability] update exploratory view title to analyze data (#99270)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 11:05:00 -04:00
Jonathan Budzenski 67595786a7
[packages] Move @kbn/telemetry-tools to Bazel (#99726) 2021-05-12 09:27:11 -05:00
Stratoula Kalafateli a900110a34
[TSVB] Filter by clicking on the timeseries chart (#97426)
* WIP TSVB filter by click

* Disable filter click when showBar is set to false

* Exclude metric columns as they are not filtered

* Allow filters group by filter click event

* Fix CI and unit tests

* Add some comments

* Move to separate function for easier testing

* Add more unit tests

* Add a functional test

* Improve types

* Fix bug with group by filters and user applies custom labels

* fix time filter bug

* Address PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 16:58:24 +03:00
Michael Dokolin 4064b022ce
[Discover][Dashboard] Fix creating filters for non-distinct data (#99400)
* Fix creating filters for non-distinct values in the embedded search (#92876)
* Fix creating non-unique filters in the visualization (#66595)
2021-05-12 15:54:02 +02:00
Nicolas Chaulet 9907903f41
[Fleet] Fix package category count (#99677) 2021-05-12 09:47:47 -04:00
Thomas Neirynck bc2b846b44
[Maps][Vega] Tidy up mapbox-gl imports (#99733)
VegaMaps now instantiates mapbox-gl the same way as the Maps app.
2021-05-12 09:33:48 -04:00
David Sánchez 254a876ae0
[Security Solution][Endpoint] User can filter event filters list (#99608)
* Moves search component outside trusted apps to be used by event filters

* Allos user search and filter event filters by query

* Parse query and share same utils between trusted apps and event filters

* Fixes test case with a filter in query

* Removes old multilang keys

* Removes remaining old translations

* Fixes unit test changing a testId prop

* Adds todo comment

* Revert type. Fix listDataNeedsRefresh condition

* Add unit test for search action on event_filters

* Makes const readonly
2021-05-12 15:26:00 +02:00
Pete Hampton 68dd485c1e
Fix size with detection rule telemetry. (#99900) 2021-05-12 08:53:22 -04:00
Jason Stoltzfus 2ce8e10cdc
Removed fromKibana param (#99834) 2021-05-12 08:20:31 -04:00
Robert Oskamp c44e5f75a3
[ML] Functional tests - increase module test coverage (#99758)
This PR adds a couple API integrations tests to get, recognize and setup modules.
2021-05-12 13:18:36 +02:00
Michael Dokolin a76677e78f
[Data] Add IPv6 support by the data plugin (#99837) 2021-05-12 12:00:58 +02:00
Gloria Hornero 0b4c9573b7
[Security Solution][Detections] Completes alert details for Indicator Match Rules (#99671)
* adds 'Displays threat summary data on alerts details' test

* adds 'Displays threat indicator data on the threat indicator tab' test

* changes name of the test from 'threat indicator tab' to 'threat intel tab'

* adds an extra assertion
2021-05-12 10:57:05 +02:00
Jean-Louis Leysens c22d9fd690
[Reporting] Relax save requirement for CSV reports (#99313)
* update requirement to save csv report in ui

* update expectation that CSV reporting is disabled for new discover searches

* update test expectations (again)

* refactor to using props-driven approach

* provide a fallback title

* refine title a bit more

* added component level test

* return ISO string with offset

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 10:32:51 +02:00
Jean-Louis Leysens 07ed7161ad
[Dashboard/Reporting] Fix print layout report (#99458)
* re-introduce dshAppContainer class name to fix generated report

* update the classname to dashboardViewport

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 10:24:34 +02:00
Marta Bondyra 1185aff209
[Lens] display pie chart properly for only falsy correct data (#99598)
* [Lens] display pie chart properly for only falsy correct data

* case for metric with no data
2021-05-12 08:03:20 +02:00
Nicolas Chaulet ae08154205
[Fleet] Support dataset with multiple level like system.process.summary (#99852) 2021-05-11 21:24:32 -04:00
Zacqary Adam Xeper c328ab0145
[Metrics UI] Increase groupBy pagination size on Metric Threshold alerts (#99683) 2021-05-11 17:29:07 -05:00
Stacey Gammon 548698bcc0
Syntax in styleguide.mdx is breaking docs build (#99840)
* Update STYLEGUIDE.mdx

* add space in title
2021-05-11 18:06:42 -04:00
Tiago Costa ada3b42be0
chore(NA): moving @kbn/plugin-generator into bazel (#99646)
* chore(NA): moving @kbn/plugin-generator into bazel

* chore(NA): add templates to build file

* chore(NA): restore plugins empty file
2021-05-11 23:05:07 +01:00
John Dorlus dc8329ed0d
Added CIT test for the fail processor. (#95261)
* Added CIT test for the fail processor.

* Fixed linter issues.

* Used new functions and helpers.

* Added common test to ensure that a processor type was selected before saving. Fixed some titles and nits from the PR feedback.

* Removed unused var.

* Merged in master and updated tests to remove repeat code.
2021-05-11 16:41:56 -04:00
Alejandro Fernández Gómez 37b7f6afb0
[Fleet] Correctly encode logs URL (#99782) 2021-05-11 22:27:50 +02:00
Liza Katz 6e8ccdbd09
[Bug] Fixes #9184 (#99099)
* code review

* test
2021-05-11 23:05:42 +03:00
Lukas Olson 7617642bba
Add partial results to search examples demo (#96366)
* Add partial results to search examples demo

* Add functional test

* Move types into separate file and separate custom strategies

* Review feedback

* Update test

* Try to fix test

* Attempt to fix test

* Try to fix observable error

* Sanity check

* Fix test

* Another attempt

* Remove rxjs from strategy
2021-05-11 12:41:21 -07:00
Constance c28213b6c3
[App Search] Schema: Set up server routes, grand foray into shared/connected Kea logic (#99548)
* Set up server API routes

* Set up types

* Set up shared/base Schema logic file

- values & actions shared between both default source engine & meta engine pages

* Add default/indexed engine SchemaLogic

* Add MetaEnginesSchemaLogic

- significantly different actions (no updating) & API response from source engines, hence the separate files

+ fix typing issue - without Partial<>, all 4 enum types are expected instead of 1-4
- for some reason this causes an error in a separate a util file, not sure why (Typescript issue?)

* Update Schema & MetaEngineSchema views with loaders

* PR feedback: comment nit

* PR feedback: Remove unnecessary async/awaits

* PR feedback: Simplify loadSchema to be shared by base logic

Much clean, such simple

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-11 11:48:08 -07:00
John Dorlus f058d27d16
Add Component Integration Test for Append Processor (#95001)
* Added first steps for append processor test and added data test subject for append processor input combo box.

* Added first steps for append processor test and added data test subject for append processor input combo box.

* Fixed assertion for processor.

* Merged in newer test functionality and used it in the append processor test.

* Fixed asssertion and form to use append box.

* Update snapshot.

* Fixed assertion for array.

* Made changes per notes in PR.

* Used common fields var in test.

* Fixed merge conflict.

* Fixed unused vars and added data test subject to helper file.

* Removed this snapshot that was erronously added to PR due to a merge conflict.

* Removed old common field var from uri tests.

* Fixed nits in PR in all tet files.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-11 14:26:52 -04:00
Melissa Alvarez d5a16f438c
[ML] Data vizualizer: add choropleth map for index and file (#99434)
* wip: add choropleth map to dataviz

* add choropleth map to datavisualizer index and file based

* fix translation

* make function name more clear
2021-05-11 13:40:06 -04:00
Kaarina Tungseth 14f225fbd4
[DOCS] Adds dual mode to TSVB (#99493)
* [DOCS] Adds  to TSVB

* Fixes {es} typo

* Review comment
2021-05-11 12:34:55 -05:00
Jason Stoltzfus 56908e1739
Support prepopulated Search UI fields (#99793) 2021-05-11 13:11:32 -04:00