Commit graph

47964 commits

Author SHA1 Message Date
Dima Arnautov e10ac3c56e
[ML] Fixes for the Model Management table (#117293)
* [ML] allocated models as a table

* [ML] handle fetching stats for stopped model

* [ML] change date formatter, enable check for start and stop action, change icon

* [ML] hide stats tab when not stats are available

* [ML] update state on action

* [ML] update memory breakdown message

* [ML] fix type

* [ML] fix functional test

* [ML] render nodes as links

* [ML] fix locator types

* [ML] support node name in the URL state

* [ML] update icon

* [ML] routing state with reason tooltip

* [ML] move experimental tag

* [ML] add state column, fix import

* [ML] update stats on aciton

* [ML] refresh by timer

* [ML] rename fetchStats callback

* [ML] replace with promise.all

* [ML] add deployment state const
2021-11-05 17:08:39 +00:00
Kyle Pollich b7076e82e0
Consider all errors non-fatal during dry runs (#117594)
Since we've enabled auto upgrades for some packages in 7.16, we need to
revert a previous change that only considered policy validation errors
non-fatal. Any error encountered during the dry-run/upgrade process
should be considered non-fatal so that users can still access the Fleet
UI if setup fails.

Fixes #116985
2021-11-05 17:05:42 +00:00
Quynh Nguyen 55d40a2788
[ML] Add multilayer time axis style to Data visualizer doc count chart (#117398)
* [ML] Add multilayer timea axis style to data viz doc count chart

* [ML] Fix doc count chart missing timezone
2021-11-05 12:02:27 -05:00
Gloria Hornero 4844ea8305
improves URL fix (#117641)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 17:55:29 +01:00
Ryan Keairns 427cba0484
Welcome to Analytics! (#117603) 2021-11-05 11:54:24 -05:00
Kaarina Tungseth 8aa45f4cec
[DOCS] Adds the 7.16 Lens docs (#116222)
* [DOCS] Adds the 7.16 Lens docs

* Updates end-to-end tutorial screenshots and text

* Updates text and images in advanced tutorial

* Updates the Lens advanced tutorial text and images

* Adds images to end-to-end tutorial

* Review comments

* Update docs/user/dashboard/lens-advanced.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Review comments pt 2

* Remove comments pt 3

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-11-05 11:48:37 -05:00
Spencer 62be2737bc
[x-pack/test/apm_api_integration] make registry a service (#116365)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-11-05 16:22:55 +00:00
Maja Grubic 7504668f8b
[Discover] [Value suggestion non-timebased functional test] Unskip (#115718)
* [Discover] Add a retry in a value suggestion non timebased test

* Dismiss popover before Discover even loads

* Set local storage value in navigateToApp

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 17:00:34 +01:00
Ashokaditya f40df9d201
[Security Solution][Endpoint] Use fleet const instead of hardcoded paths (#117146)
fixes elastic/security-team/issues/1958

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 16:31:44 +01:00
Brian Seeders c480fb8172 skip flaky suite (#117674) 2021-11-05 11:24:22 -04:00
Christos Nasikas 28142609cc
[Cases] Fix cases navigation after attaching an alert to a case. (#117633) 2021-11-05 15:03:55 +00:00
Orhan Toy 92762fa62f
[App Search] ILM is always enabled from 8.0 (#117291) 2021-11-05 14:40:43 +00:00
István Zoltán Szabó cd33f58ea6
[DOCS] Adds transfrom rules to the list of rule types (#117325) 2021-11-05 10:32:31 -04:00
Christiane (Tina) Heiligers ff7e77ad54
Updates and refactors main config (#117597) 2021-11-05 07:22:49 -07:00
Devon Thomson 5d5fb3f91c
[Dashboard] Listing Page Callout When New Dashboard In Progress (#117237)
* Added dashboard listing state for when no dashboards are available, but the user has one in progress
2021-11-05 10:21:26 -04:00
Jean-Louis Leysens 18f601dc49
[Reporting] Remove pdf-to-img (#117637)
* remove use of pdf to png conversion checker in comparison test

* remove use of pdf-to-img use in compare images service

* remove pdf-to-img dep from kibana
2021-11-05 09:05:35 -05:00
Thomas Watson e8eb222e25
Bump wide-align used by gauge from v1.1.3 to v1.1.5 (#117623) 2021-11-05 14:04:51 +01:00
Christos Nasikas 5ce12b2a84
[Connectors][ServiceNow] Remove SN flags (#117511) 2021-11-05 12:44:45 +02:00
Robert Oskamp d0567f8779
[ML] Functional tests - stabilize and re-enable feature importance tests (#117503)
This PR re-activates and stabilizes the data frame analytics feature importance tests by reducing the job run time. It also scrolls the feature importance section into view during validation so in case of a failure the screenshot shows the relevant part of the screen.
2021-11-05 10:28:07 +01:00
Ersin Erdal d84e006637
[RAC] Disable the actions button if the user has inadequate privileges (#117488)
Disable the actions button if the user has inadequate privileges
2021-11-05 10:18:21 +01:00
Marta Bondyra 2f6e2c86ef
[Visualize] [xyChart] filter labels by default (#117288)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 10:05:23 +01:00
David Sánchez a2296c5e2a
Fix warning when setting description to undefined (#117338)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 09:33:56 +01:00
Tyler Smalley 60340b5a05
[build] Set monitoring.ui.container.elasticsearch.enabled for all containers (#115087)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 00:39:04 +00:00
Jonathan Budzenski 2603f9d0b3 fix types 2021-11-04 16:53:59 -05:00
ymao1 eb99e5e6fe
[Alerting] UX fixes for execution duration chart (#117193)
* UX fixes for duration chart

* UX fixes for duration chart

* UX fixes for duration chart

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 17:52:49 -04:00
Brian Seeders 22a9382014
[CI] Delete node_modules in between bootstrap attempts (#117588) 2021-11-04 21:22:49 +00:00
Nathan L Smith 0d9f9fd90a
Flaky test fixes (#117028) 2021-11-04 16:00:54 -05:00
Steph Milovic fb6fe9bd72
[Security Solution] [Sourcerer] [Feature Branch] Update to use Kibana Data Views (#114806) 2021-11-04 14:51:32 -06:00
Pete Harverson 46e91f3d12
[ML] Hide anomaly entity filter button tooltips when clicked (#117493)
* [ML] Hide anomaly entity filter button tooltips when clicked

* [ML] Move logic into blurButtonOnClick helper function
2021-11-04 18:49:21 +00:00
Dominique Clarke 3ec0dd7983
adjust the synthetics journey type (#117316) 2021-11-04 14:27:17 -04:00
Claudio Procida debdfd2fd6
Refines hasAnyData check for alerts (#117499)
* Refines hasAnyData check for alerts

* Fixes type refinements

* Applies review feedback

* Naming is hard
2021-11-04 19:27:09 +01:00
Thomas Neirynck 8ae4275671
[Fleet] Default to APM tutorial (#117421) 2021-11-04 14:24:41 -04:00
Nathan Reese 11341ffe0e
[Maps] update docs for index pattern -> data view rename (#117400)
* [Maps] update docs for index pattern -> data view rename

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 12:04:05 -06:00
Zacqary Adam Xeper 8420094de3
[Logs UI][Metrics UI] Remove deprecated config fields from APIs and SavedObjects (#116821)
* [Logs UI][Metrics UI] Remove deprecated config fields from APIs

* Fix typecheck

* Fix typecheck

* Fix typecheck

* Fix jest

* Fix functional test

* Remove extraneous timeField args

* Typecheck fix

* Consolidate log file changes to ResolvedLogSourceConfiguration

* Fix merge

* Revert additional logs files

* Revert inventory models

* Revert log_analysis api

* Fix timefield reference in process list

* Restore logs page files, fix typecheck on mock

* Fix functional test

* Restore inventory models index

* Fix typecheck on getFilteredMetrics

* Look CI if you don't tell me all the type errors at once I can't fix them all

* Maybe this is the last typecheck fix who knows

* Restore reading timestamp field from data view

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 17:57:18 +00:00
Mark Hopkin 9bc2f221ae
[Fleet] Fix agent logs not reading query from URL (#117286)
* Don't use hash for agent logs url state

* revert core app services change
2021-11-04 17:00:37 +00:00
ymao1 947a11427b
Fixing Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should successfully test valid es_query alert (#114917)
* Unskipping test

* Commenting out fix and fixing another test

* Fixing functional test

* Fixing functional test agaaaiiinn

* Fixing the actual flake

* Splitting into two tests

* Maybe this time
2021-11-04 13:00:25 -04:00
Zacqary Adam Xeper e4982fe4b7
[Metrics UI] Add docs link to redundant groupBy detection (#116822)
* [Metrics UI] Fix OR logic on redundant groupBy detection

* Switch regex change to doc change

* Fix core docs links

* Update x-pack/plugins/infra/public/alerting/metric_threshold/components/expression.tsx

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2021-11-04 16:54:12 +00:00
Xavier Mouligneau b0110d8bff
[SECURITY] Flaky api keys grid (#116991)
* fix flaky test + adding functional test

* review + remove more jest flaky test

* fix type

* fix review/confusion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 12:49:38 -04:00
Frank Hassanabad f7761d9fca
[Security Solutions] Replaces console logging with the correct e2e logger in the e2e tests (#116872)
## Summary

This replaces the `console.log` we have with `ToolingLog` which is what the e2e tests want to use. Right now they're producing a lot of `console.log` debugging information and noise which we don't want. Instead we want to use the standard tool logging that e2e has for the FTR tests.

The two most important files with changes are:
* x-pack/test/detection_engine_api_integration/utils.ts 
* x-pack/test/lists_api_integration/utils.ts

From there everything else is just a repeating pattern of:

```ts
const log = getService('log');
```

And then pushing the log into the utilities:

such as:

```ts
await deleteListsIndex(supertest, log);
```

For reviewers, if you want to, checkout this branch and just ensure I didn't miss a `console.log` statement within the e2e tests anywhere. Also double check I did the correct `log.debug` vs `log.error` or if you think I misinterpreted one, point it out. I use `log.debug` where I have retries and then I use `log.error` where I thought it would be most useful to call out a very probable or unexpected statement happening when the tests begin to go sideways or have issues.

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-11-04 16:10:16 +00:00
Mikhail Shustov 93197414aa
remove unnecessary global typings (#117408)
* remove unnecessary global typings

* clanup index.ts

* put storybook typings back
2021-11-04 16:59:14 +01:00
Christos Nasikas d38fb03820
[Cases] Align cases lint rules with security solution (#117177)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 17:51:02 +02:00
Joe Reuter 4c5e59db56
unskip rollup (#116567)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 16:37:11 +01:00
Søren Louv-Jansen 18b2395236
[APM] Improve service inventory performance (#116258)
* [APM] Improve service inventory perf

* Remove optimization for transaction groups api

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 16:36:53 +01:00
Andrew Tate 37571a441f
fix alignment (#117378)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 09:52:05 -05:00
Frank Hassanabad d735b7dc0f
Increases the timeout for the test from default 1 second. (#117389)
## Summary

Fixes https://github.com/elastic/kibana/issues/115624

by increasing the timeout from 1 second to 5 seconds. Although jest is 5 seconds by default the `waitForNextUpdate` is by default 1 second. This adds a simple configuration to have it wait for 20 seconds before timing out which is what the flake is hinting at is a timeout that is beyond 1 second.
2021-11-04 08:35:01 -06:00
Dmitry Tomashevich c7866c360b
[Discover] Move truncate-by-height into Discover (#114320)
* [Discover] move source field formatter to discover

* [Discover] cleanup source field from field formatters

* [Discover] return source field format

* [Discover] move truncate by height to discover settings category, apply css via emotion

* [Discover] improve code readability, fix i18n

* [Discover] fix remaining i18n

* [Discover] fix unit tests

* [Discover] return truncate-by-height setting to general

* [Discover] return i18n naming

* [Discover] apply suggestions

* [Discover] fix i18n

* Update src/plugins/discover/server/ui_settings.ts

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* [Discover] fix embeddable and discover grid truncation styles

* [Discover] fix tests

* [Discover] get rid of emotion

* [Discover] apply suggestions

* [Discover] inject emotion styles properly

* [Discover] remove console.log

* [Discover] revert react router changes

* [Discover] fix truncate max height reset

* [Discover] simplify

* [Discover] return injection to the right place

* [Discover] remove unused import

* [Discover] apply suggestions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
2021-11-04 17:29:22 +03:00
Dominique Clarke 3a096788d2
increase timeout for long running test (#117375)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 10:22:47 -04:00
Carlos Delgado 3638a50990
Enterprise Search - Fix event structure name change (#117502) 2021-11-04 15:18:23 +01:00
Søren Louv-Jansen 2e35260012
[APM] E2E script improvements (#116972) 2021-11-04 14:05:54 +00:00
James Gowdy faba43576d
[File data visualizer] Disabling create data view based on capabilities (#117347)
* [File data visualizer] Disabling create data view based on capabilities

* removing data view management card based on permissions

* fixing reset button and index data viz link
2021-11-04 13:53:43 +00:00