Commit graph

1030 commits

Author SHA1 Message Date
Marco Liberati 03cc5cc0c2
[Lens] Introduces new chart switcher (#91844)
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 11:25:35 +01:00
Xavier Mouligneau 2903844dd1
[SECURITY SOLUTIONS] Bug case connector (#93104)
* bring back case connector to design

* disable connector sir in collection

* missing to only create collection type

* fix fields connector when you need to hide service-now sir
2021-03-01 22:46:22 -05:00
Jonathan Buttner 4739eab490
[Security Solution][Case][Bug] Prevent closing collection when pushing (#93095)
* Prevent closing collection when pushing

* Fixing translations
2021-03-01 17:11:47 -05:00
Uladzislau Lasitsa ccf1fcc00e
Control round and decimal places in Gauge Visualization when using aggregate functions like average (#91293)
* Add field for providing format in percentage mode

* Fix CI

* Add tests

* Fix ci

* Fix some remarks

* Fix ci

* Fix some remarks

* Fix ci

* Fix width

* Fix some remarks

* Fix text

* Fix i18n

* Remove unneeded import

* Remove unneeded code

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-01 14:58:16 +03:00
Jean-Louis Leysens bc347d8633
[ILM] Fix replicas not showing (#92782)
* remove logic that disables SS action in cold if no rollover and always show replicas field

* update test coverage to be consistent with new form behaviour and expand hot phase without rollover test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-25 18:05:19 +01:00
Marco Liberati 019473948f
[Expressions] [Lens] Add id and copyMetaFrom arg to mapColumn fn + add configurable onError argument to math fn (#90481)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-25 09:43:15 +01:00
Alison Goryachev fe6bd2ecbb
[Upgrade Assistant] Align code between branches (#91862) 2021-02-24 16:15:06 -05:00
Shahzad 1be0612b05
[Uptime] Search made easy (#88581)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-24 16:02:32 +01:00
igoristic 0e6c38d630
[Monitoring] Added cgroup option for APM cpu usage (#90873)
* Added APM cpu cgroup

* Fixed tests

* Fixed i18n

* Removed agent logic and fixed tests

* Fixed test

* Fixed tests and backup field

* Removed backup field fix

* Fixed cluster tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 12:19:10 -05:00
Shahzad 2ce344019a
Add text search mode in global kuery bar (#91814)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 10:37:56 +01:00
Larry Gregory 12bb59abb0
Adds doc titles to security management sections (#91013) 2021-02-22 12:00:01 -05:00
Nathan Reese 6ef7d2cd55
[file_upload] move ml Importer classes to file_upload plugin (#91559)
* [ml] move importer to file_upload plugin

* move file_parse logic into GeoJsonImporter

* move file_parser tests to geojson_importer tests

* rename geo_json_clean_and_validate to geojson_clean_and_validate

* replace file_upload import with Importer.import

* simplify JsonIndexFilePicker props

* tslint

* i18n fixes and tslint fixes

* update functional test to account for change in layer name

* review feedback

* dependency_cache review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 08:47:39 -07:00
Shahzad 7043d75bdb
[Uptime] Updated duration chart units and formatting (#91420) 2021-02-22 14:34:38 +01:00
Devon Thomson 85bc8b0b42
[Time to Visualize] Stay in Edit Mode After Dashboard Quicksave (#91729)
* Make quicksave function stay in edit mode
2021-02-19 12:34:01 -05:00
Sébastien Loix eddf1c94b1
Index pattern field editor (#88995)
Index pattern field editor
2021-02-18 12:00:43 -06:00
Nathan L Smith f022792f6a
Latency percentile labels and instances table support (#91758)
* Add "(avg.)" to dependencies table column label. (This one is always average.)
* Add latency aggregation type support to the instances table.
* Make the memory usage column a bit wider (it was cut off.)
2021-02-18 00:15:03 -06:00
Angela Chuang 97d391a636
[Security Solution] Detection rules for case UI (#91434)
* Adding type field to client

* Removing context and adding association type

* Handle alerts from multiple indices

* Adding flow for adding a sub case

* Making progress on creating alerts from rules

* Refactored add comment to handle case and sub case

* Starting sub case API and refactoring of case client

* Fleshing out find cases

* Finished the find cases api

* Filtering comments by association type

* Fixing tests and types

* Updating snapshots

* Cleaning up comment references

* Working unit tests

* Fixing integration tests and got ES to work

* Unit tests and api integration test working

* Refactoring find and get_status

* Starting patch, and update

* script for sub cases

* Removing converted_by and fixing type errors

* Adding docs for script

* Removing converted_by and fixing integration test

* init expanded rows

* Adding sub case id to comment routes

* Removing stringify comparison

* styling

* clean up

* add status column

* styling

* hide actions if it has sub-cases

* Adding delete api and tests

* generated alert

* Updating license

* missed license files

* Integration tests passing

* Adding more tests for sub cases

* wip

* Find int tests, scoped client, patch sub user actions

* fixing types and call cluster

* fixing get sub case param issue

* Adding user actions for sub cases

* Preventing alerts on collections and refactoring user

* Allowing type to be updated for ind cases

* subcases attached to api

* combine enum on UI for simplification

* Refactoring and writing tests

* Fixing sub case status filtering

* add alerts count

* Adding more tests not allowing gen alerts patch

* Working unit tests

* Push to connector gets all sub case comments

* Writing more tests and cleaning up

* Updating push functionality for generated alerts and sub cases

* Adding comment about updating collection sync

* use CaseType to check if it is a sub-case

* fix types and disable selection if it has subcases

* isEmpty

* Detection rule correctly adding alerts to sub case

* update api and functionality to accept sub case

* integration part I

* fix integration with case connector

* Fix manual attach

* Fix types

* Fix bug when updating

* Fix bug with user actions

* Fix react key error

* Fix bug when pushing a lot of alerts

* fix lint error

* Fix limit

* fix title on sub case

* fix unit tests

* rm bazel

* fix unit tests and cypress test

* enable delete case icon

* revert change

* review

* Fix the scripts alerts generation code

* temp work

* Fix rule types and add migration

* fix types

* fix types error

* Remove query alerts

* Fix rules

* fix types

* fix lint error

* fix types

* delete a sub case

* rm unused i18n

* fix delete cases

* fix unit tests

* fix unit test

* update Case type

* fix types

* fix unit test

* final integration between rule and case

* fix integration test

* fix unit test + bring back connector in action of rule

Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
2021-02-17 20:32:40 -05:00
Michael Olorunnisola e095a6abf2
[Security Solution][Timeline] Minor side panel fixes (#91691) 2021-02-17 16:26:40 -05:00
Diana Derevyankina 5bbbcb358f
Replace EuiCodeBlock with Monaco editor in Discover (#90781)
* Update version of react-monaco-editor and monaco-editor libraries

* Fix yarn lock file

* Fix CI

* Fix unit tests

* Fix CI

* Fix comment

* move monaco instance in window.MonacoEnvironment

* Replace EuiCodeBlock with Monaco editor in Discover expanded document

* Replace EuiCodeBlock with EuiErrorBoundary

* Revert changes done by mistake

* Remove unused translations

* Fix doc_viewer test and snapshots

* Add comment and rename the function related to editor height calculation

* Remove "value" from JSON tree and fix resizing

* Update json_code_editor.test.tsx.snap

* Fix JsonCodeEditor props

* Fix json_code_editor test

* Delete JsonCodeBlock and remove inline style in JsonCodeEditor

* Rename jsonCodeEditor CSS class name to dscJsonCodeEditor

Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-18 00:04:38 +03:00
Jean-Louis Leysens edc11d9680
[Ingest Pipelines] Preserve unknown fields in processors (#91146)
* keep known and unknown options in processor config

* added test for preserving unknown fields

* refactor form for NOT stripping empty field values, also allow empty "value" for set and gsub

* remove unused i18n

* fix user agent form serialization, update field help text

* remove out of date translation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-17 12:57:23 +01:00
Oliver Gupte d7d2b15cdb
[APM] Correlations Beta (#86477) (#89952)
* [APM] Correlations GA (#86477)

* polish and improvements to correlations UI

* more improvements and polish

* added impact bar

* added descriptions

* make custom field persistence be unique per service

* make custom threshold unique per service in latency correlations

* adds telemetry for apm correlations feature. Events:
 - 'show_correlations_flyout'
 - 'customize_correlations_fields'
 - 'select_significant_term'

* adds more telemetry for correlations (#90622)

* removes the raw score column

* replaces experiemental callout with beta badge

* replaces threshold number input with percentile option selector

* improvements to latency correlations scoring and percentage reporting

* removes the 'apm:enableCorrelations' UI setting

* - rename useFieldNames.ts -> use_field_names.ts
- filter out fields that are not type 'keyword'
- feedback improvements

* Fixes casing issue for the 'correlations' dir

* [APM] Moves correlations button to service details tabslist row (#91080)

* [APM] Adds license check for correlations (#90766)

* [APM] Adds metrics tracking for correlations views and license prompts (#90622)

* Updated the API integration tests to check for new default fields and 15 buckets

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 20:21:47 -08:00
Devon Thomson dc4e94e0ba
[Time to Visualize] Unsaved Changes Badge (#91073)
* Added unsaved changes badge to dashboards. Removed (unsaved) from the dashboard title
2021-02-16 13:47:25 -05:00
Matthew Kime 5f500a3c69
Improved painless error toasts (#91346)
* better painless error modal
2021-02-16 10:47:30 -06:00
Quynh Nguyen bb653a40ae
[ML] Fix import missing range for File Data Visualizer, Discover card visible when disabled, texts (#91352)
This PR fixes several issues related to the Data Visualizer
2021-02-16 16:05:01 +01:00
Dima Arnautov a8e1e47de6
[ML] Anomaly Detection alert initialisation from the ML app (#91283) 2021-02-15 20:47:00 +01:00
Joe Reuter 5a5b8ad9a8
[Lens] Adjust new copy for 7.12 (#90413) 2021-02-15 13:17:31 +01:00
Marco Liberati 75a7f78730
[Lens] Improves ranking feature in Top values (#90749)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-15 12:25:19 +01:00
Jean-Louis Leysens fb2552661d
[ILM] Rollover min age tooltip and copy fixes (#91110)
* removed an unnecessary tooltip in rollover field, added a tooltip to min age field when rollover is enabled

* slight update to copy, added jest test and added comment about testing

* page title and timeline title to sentence case

* added link to learn more about timing to phase timeline component

* fix jest test copy

* remove unused import

* fix i18n

* remove unused translations

* slight refactor to conditional for clarity

* slight refactor to i18n text naming

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-15 12:04:01 +01:00
Joe Portner 5c3c3efdd8
Sharing saved objects, phase 2.5 (#89344) 2021-02-13 04:28:35 -05:00
Casper Hübertz 6438cb0431
[APM] Remove UX app promo callout (#91118)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-12 10:19:55 +01:00
Catherine Liu 30e86ac065
[Dashboard] Adds Save as button to top menu (#90320)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 12:17:09 -08:00
Michael Olorunnisola 1fdd6ad639
[Security Solution][Timeline] - Open Host & Network details in side panel (#90064) 2021-02-11 11:15:11 -05:00
ymao1 3e91bc728d
[Alerting] License Errors on Alert List View (#89920)
* Adding tooltips to alert list and modal for license upgrade

* Fixing typings

* Custom License Error status. Moving modal to alerts list page

* Adding unit test

* Cleanup

* Unit tests

* Removing tooltip from alert name

* License

* PR fixes

* Updating modal wording

* Updating license state error message

* i18n fix

* Fixing functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 08:06:09 -05:00
Zacqary Adam Xeper 38a6475396
Revert "Revert "[Metrics UI] Add Metrics Anomaly Alert Type (#89244)"" (#90889)
* Revert "Revert "[Metrics UI] Add Metrics Anomaly Alert Type (#89244)""

This reverts commit 8166becc55.

* Fix type error
2021-02-09 21:30:25 -05:00
spalger 8166becc55 Revert "[Metrics UI] Add Metrics Anomaly Alert Type (#89244)"
This reverts commit 0d94968df1.
2021-02-09 17:15:12 -07:00
Zacqary Adam Xeper 0d94968df1
[Metrics UI] Add Metrics Anomaly Alert Type (#89244)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 18:40:18 -05:00
Zacqary Adam Xeper 95948fd5eb
[Metrics UI] Add warning severity to Metric Alerts (#90070) 2021-02-09 15:12:13 -06:00
Kerry Gallagher 32ddd5e795
[Logs UI] Show anomalies across both the log rate and categorization ML jobs in a swimlane visualization. (#89589)
* Allow anomalies visualisation to represent anomalies from all jobs

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
2021-02-09 15:28:59 +00:00
Angela Chuang 11a6197dec
[Security Solution] Update open timeline filters and add unit tests (#89852)
* update filter and add unit tests

* styling

* fix i18n error

* fix unit test

* fix lint error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 13:27:49 +00:00
Alexey Antonov 19543d8d3c
[Vega] user should be able to set a specific tilemap service using the mapStyle property (#88440)
* [Vega] user should be able to set a specific tilemap service using the mapStyle property

* Update vega-reference.asciidoc

* fix PR comments

* rename mapStyle -> emsTileServiceId

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 13:51:12 +03:00
Christos Nasikas a0d4b04155
[Security Solution][Case] ServiceNow SIR Connector (#88655)
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2021-02-09 12:28:43 +02:00
Yulia Čech f94aacecd9
[ILM] Delete phase redesign (rework) (#90291)
* Phases redesign

* Fixed scss file

* Fixed errors

* Added changes for phase blocks

* Added styles adjustments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 09:50:37 +01:00
Chris Roberson 231610c720
[Monitoring] Migrate data source for legacy alerts to monitoring data directly (#87377)
* License expiration

* Fetch legacy alert data from the source

* Add back in the one test file

* Remove deprecated code

* Fix up tests

* Add test files

* Fix i18n

* Update tests

* PR feedback

* Fix types and tests

* Fix license headers

* Remove unused function

* Fix faulty license expiration logic
2021-02-08 21:50:07 -05:00
Marta Bondyra 43e8ff8f8f
[Lens] Add new drag and drop capabilities (#89745) 2021-02-05 18:17:03 +01:00
Uladzislau Lasitsa 1f0da4f889
Removes editorConfig.collections (#89854)
* Removed editorConfig.collections

* Fix CI

* Update snapshots

* Fix comments

* Fix eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-05 10:58:30 +03:00
Nathan L Smith 85e92b5ccd
Remove UI filters from UI (#89793)
* Start moving some stuff

* Move some stuff around

* more

* Transactions label

* some snake casing

* i18n fix

* Remove unused ui filters endpoints

* Updates to select

* remove projections

* Use urlHelpers.push

* License change
2021-02-04 13:27:17 -06:00
Brandon Kobel 4584a8b570
Elastic License 2.0 (#90099)
* Updating everything except the license headers themselves

* Applying ESLint rules

* Manually replacing the stragglers
2021-02-03 18:12:39 -08:00
Devon Thomson 9232a5a26a
[Time to Visualize] Remove Panels from URL (#86939)
Removed panels from dashboard URLs

Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2021-02-03 17:23:01 -05:00
Stratoula Kalafateli d8f7997c83
Remove navigation from Discover to Visualize (#89132)
* Remove navigation from Discover to Visualize

* Remove unused translation

* Remove oss check from functional test

* Fix functional test

* Skip test for OSS

* Fix

* Should not remove the uiSettings getter and setter

* Move the isOss flag inside the test

* Cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-03 10:15:53 +02:00
Christos Nasikas 7a45fc45e1
[Alerts] ServiceNow SIR Connector (#88190)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-02 11:29:42 +02:00