Commit graph

39229 commits

Author SHA1 Message Date
Quynh Nguyen 4c17faa023
[ML] Fix zoom missing in Anomaly detection URLs (#86182)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 12:12:12 -06:00
gchaps a2d13f6211
[DOCS] Fixes typo in saved search doc (#86808) 2020-12-22 10:08:50 -08:00
Melissa Alvarez bd13284bfe
[ML] Ensure job group badge fonts are same color (#86674)
* use badge component to keep group badge consistent. sort groups

* use all colors now that badge component is used

* set left margin on group badge wrapped in link to match badge margin

* add badge colors to edit flyout job groups
2020-12-22 12:41:18 -05:00
Devon Thomson 1d856c39b5
Fix Add From Library Flyout Staying Open (#86698)
* Fixed add from library flyout staying open after save or cancel
2020-12-22 11:41:35 -05:00
Alexey Antonov 57d3349638
Remove legacy src/plugins/charts -> src/plugins/discover cyclic dependencies (#86758)
Part of #84750
2020-12-22 19:39:30 +03:00
Joe Reuter 57a72a78f7
[Lens] Configurable color syncing (#86180) 2020-12-22 17:35:27 +01:00
Patryk Kopyciński 9c74a1090e
[Security Solution] Fix artifacts in Events table (#86767) 2020-12-22 17:33:36 +01:00
Lisa Cawley ce546adb04
[ML] Use doc links service for more ML pages (#86405) 2020-12-22 08:14:07 -08:00
Nick Partridge 3aeb344b7c
Enable new chart library setting (#86538) 2020-12-22 10:06:37 -06:00
Jonathan Budzenski 9a2858105e
[build] Migrate grunt ensureAllTestsInCIGroup to script (#85873)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 09:44:47 -06:00
Wylie Conlon 23fd044562
[Lens] Introduce 4 new calculation functions: counter rate, cumulative sum, differences, and moving average (#84384)
* [Lens] UI for reference-based functions

* Fix tests

* Add a few unit tests for reference editor

* Respond to review comments

* Update error handling

* Update suggestion logic to work with errors and refs

* Support ParamEditor in references to fix Last Value: refactoring as
needed

* Fix error states

* Update logic for showing references in dimension editor, add tests

* Fix tests

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 10:33:27 -05:00
Peter Schretlen 9bc2fccb2d
use alerting concepts diagram with sequence, and update docs to explain the sequence (#86699) 2020-12-22 09:54:54 -05:00
Bohdan Tsymbala 128a772ee3
Fixed the extraction of ServerApiError. (#86732) 2020-12-22 15:43:01 +01:00
Jason Stoltzfus 8527b6cbe3
Fixed Result engine display (#86559) 2020-12-22 07:48:59 -05:00
Silvia Mitter 3b5bf69070
update apm index pattern (#86739) 2020-12-22 13:12:23 +01:00
Alexey Antonov e2c4356108
[Visualizations] Remove vis_default_editor - visualize plugins cyclic dependencies (#85422)
* [Visualizations] Remove vis_default_editor - visualize plugins cyclic dependencies

# Conflicts:
#	src/plugins/visualize/kibana.json

* fix CI

* fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 15:05:06 +03:00
Pete Harverson 39af596d69
[ML] Fix alignment of values in data frame analytics results view badges (#86621) 2020-12-22 10:48:47 +00:00
Stratoula Kalafateli a79e8a341c
[Visualizations] Remove charts - editor plugins cyclic dependencies (#84887)
* Remove charts - editor cyclic dependencies

* Move translations from the charts plugin to the editor plugin

* Remove the dependency from the script as it is gone

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 11:15:28 +02:00
Cauê Marcondes c4a8c688e9
fixing blank page (#86640) 2020-12-22 09:34:03 +01:00
renovate[bot] 5708d4c7b7
Update dependency vega to ^5.17.1 (#86715)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-22 09:45:55 +02:00
Chris Roberson ecb4522910
[Monitoring] Convert Kibana-related server files that read from _source to typescript (#86364)
* Identifying kibana source fields

* Fix types

* Fix types, take 2

* Should really fix it now

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 20:54:35 -05:00
Tyler Smalley 42c1414e09
Uses @elastic/elasticsearch-canary (#86398)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:07:24 -08:00
Tyler Smalley a76c666a61
[CI] Removes script previously used for Karma (#86412)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:06:31 -08:00
Jonathan Budzenski 52cd716bc3
[build] Remove grunt checkPlugins task (#85852)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:21:27 -06:00
Jonathan Budzenski 26b784b2a4
[build] Remove grunt docker:docs task (#85848)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:18:56 -06:00
Lisa Cawley 27b3a366a3
[ML] Add doc link for classification AUC ROC evaluation (#86660) 2020-12-21 12:17:41 -08:00
Lisa Cawley 5725e14b69
[ML] Edits saved object synchronization message (#86664) 2020-12-21 12:15:10 -08:00
Christiane (Tina) Heiligers 68ec9d2f22
Uses the new es client in canvas usage collector's fetch methods (#86668) 2020-12-21 13:06:59 -07:00
Dima Arnautov 58b429749f
[ML] Support legacy watcher URL (#86661)
* [ML] update watcher URL, support legacy state

* [ML] fix comment
2020-12-21 20:59:23 +01:00
Quynh Nguyen 8760fa5a4d
[ML] Fix Single Metric Viewer y domain extending beyond the visible focus area (#86655) 2020-12-21 13:30:41 -06:00
Christiane (Tina) Heiligers 7930854bea
Migrates search telemetry usage collector es client from legacy to new (#86597) 2020-12-21 12:22:14 -07:00
Gidi Meir Morris 2db76660ce
[Alerting] Encourage type safe usage of Alerting (#86623)
This PR encourages type safe usage of the Alerting framework by replacing the current default Params/State/InstanceState/InstanceContext types (which are `AlertTypeParams`/`AlertTypeState`/etc.) with `never`.
This means that code can continue to omit the specific types for these fields, as long as they aren't referenced.
Once an alert developer wishes to actually reference the parameters (or state/context), then they have to specify the type.

This PR also changed the typing of the `AlertTypeParams` and `AlertTypeState` from `Record<string, any>` to `Record<string, unknown>`, to ensure that where these catch-all types are used they will at least enforce `unknown` rather than `any`.
This change broke some usage in both @elastic/kibana-alerting-services  plugins, but also other plugins in the Stack/Solutions. I tried to fix these where I could, but some of these require new types and refactoring in other teams' code, which I decided is best done by the team who own and maintain that code - I've added explicit `TODO` comments in all of these places, describing the required fix.

This PR also introduced a Generics based typing for the `Alert` type so that the `params` field can be typed as something other than `AlertTypeParams`.
2020-12-21 19:17:04 +00:00
Christiane (Tina) Heiligers 61a0b00802
Migrates kql_telemetry usage collector es client (#86585)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 12:09:23 -07:00
Dima Arnautov 7de243e7fd
[ML] Fix time range adjustment for the swim lane causing the infinite loop update (#86461)
* [ML] fix swim lane time selection adjustment

* [ML] fix adjustment

* [ML] fix tooManyBuckets condition

* [ML] fix typo
2020-12-21 19:54:45 +01:00
Jonathan Budzenski 256c8cdffb skip histogram brushing, #86602 2020-12-21 11:26:35 -06:00
Paul Tavares 1e9e0400a0
Added docs for fleet UI extensions (#86654) 2020-12-21 11:59:03 -05:00
James Gowdy f349d0a398
[ML] Fix cloning of partition field in per-partition categorization jobs (#86635)
* [ML] Fix cloning of partition field in per-partition categorization jobs

* fixing cloned bucket span
2020-12-21 16:56:35 +00:00
Chris Roberson 805fc4b95c
Fix more sorts by adding unmapped_type (#85837)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 11:50:28 -05:00
Marco Liberati 8ecd726b5c
[Lens] Fix esaggs missing default time field scenario in Lens (#85754)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 17:32:19 +01:00
James Gowdy 5bcef6f82e
[ML] Fix displaying of setup errors in recognizer wizard (#86430)
* [ML] Fix displaying of setup errors in recognizer wizard

* add saved object error

* sharing error message extractor

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 16:31:56 +00:00
Wylie Conlon 664a7553d2
[Lens] Refactor param editor to use layers (#86499)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 11:19:25 -05:00
Steph Milovic 513138ba7c
[Security Solution] Fixing jest warnings and errors (#86532) 2020-12-21 08:18:32 -07:00
ymao1 8d5dd1de63
[Alerting] Updating wording on "Notify" dropdown (#86453)
* Updating wording

* PR fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 10:11:19 -05:00
Walter Rafelsberger d744eaec8c
[ML] Data Frame Analytics: Scatterplot Matrix Fixes (#86357)
- use ml API service from the Kibana context
- adds jest tests for the Vega Lite Spec generator
- fix chart layout overflow with too many fields selected
2020-12-21 15:22:42 +01:00
Alejandro Fernández Gómez 34803ed98b
[Logs UI] Toggle log entry context menu when user clicks the trigger button (#86307)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:13:07 +01:00
Joe Reuter 36a8343064
fix time scaling bugs (#86444) 2020-12-21 15:02:51 +01:00
Joe Reuter 388b2508b3
[Lens] Make sure Lens does not reload unnecessarily (#86092) 2020-12-21 14:26:14 +01:00
James Gowdy 6d72042ca4
[ML] Fixing endpoint schema for can_delete_job endpoint (#86436)
* [ML] Fixing endpoint schema for can_delete_job endpoint

* changing get to post in docs

* renaming canUntag

* fixing typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 12:17:53 +00:00
Thom Heymann c05533ebbd
Fix ECS HTTP scheme and improve docs (#86612) 2020-12-21 11:42:51 +00:00
Cauê Marcondes 74d1e39ea4
[APM] Bug: Service overview: Link to Transactions list from the Overview page is broken (#86447)
* fixing link and refactoring some stuff

* addressing pr comments
2020-12-21 12:36:20 +01:00