Commit graph

42224 commits

Author SHA1 Message Date
Chandler Prall
59482009f6
Upgrade EUI to v32.1.0 (#97276)
* Upgradee EUI to v32.1.0

* Jest snapshots

* Update Discover datagrid test condition

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 09:10:53 -06:00
Ahmad Bamieh
0f4538195f
[Usage collection] Collect non-default kibana configs (#97368)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 11:02:27 -04:00
Alejandro Fernández Haro
db7f279a03
HTTP-Server: Graceful shutdown (#97223)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 10:03:30 -04:00
Christiane (Tina) Heiligers
948aa3a9f5
[uiSettings]Removes Infinity from notifications lifetimes (#97384) 2021-04-20 06:52:10 -07:00
Melissa Alvarez
ce2fec29e7
[ML] Data Frame Analytics results: ensure model evaluation stats are shown (#97486)
* ensure we check for NaN and Infinity in eval response

* add unit test
2021-04-20 09:49:10 -04:00
Uladzislau Lasitsa
7b030f3118
[TSVB] Fix working with kibana rollup indexes which includes wildcard symbol (*) (#97594)
* Fix working with kibana rollup indexes which includes wildcard in tsvb

* Fix CI
2021-04-20 16:46:27 +03:00
Garrett Spong
f122e76559
[Security Solution][Detections] Adds Security Network ML Module to list of available jobs (#97014)
## Summary

This PR adds the `Security Network` ML Module to the available jobs displayed within the `ML Job Settings` UI within the Security Solution. Module was added as part of this PR: https://github.com/elastic/kibana/pull/96480




<p align="center">
  <img width="500" src="https://user-images.githubusercontent.com/2946766/114595590-c9f9be80-9c4b-11eb-9bcb-0c2d99b58195.png" />
</p>
2021-04-20 07:27:22 -06:00
Maja Grubic
ec4b20ed4f
[Search Source] Fix field filtering (#97189)
* [Search Source] Fix field filtering

* Add more use-cases for source filtering

* Add more use-cases

* Change filtering to use fieldWildcardFilter

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 14:11:38 +01:00
Shahzad
e6b0f80114
[Uptime] make index status api call unblocking (#97225) 2021-04-20 15:09:06 +02:00
Dario Gieselaar
7271827ff1
[APM] Show alerts in context (#97450) 2021-04-20 15:07:09 +02:00
Matthew Kime
5aebfdf779
Add scripted field deprecation message (#97574)
* add scripted field deprecation msg
2021-04-20 07:46:10 -05:00
Matthias Wilhelm
2ecbca0d8d
[Discover] Enable EuiDataGrid (#89264)
* Now the new EuiDataGrid based document table is the default

* Columns can be sorted by drag and drop

* Column width can be changed by drag and drop

* There's a fullscreen mode

* There's document selection 

* There's document navigation in the flyover of a expanded document

* Sorting is much more user friendly, less confusing and sort order can be changed by drag and drop
2021-04-20 14:43:02 +02:00
Jason Stoltzfus
b57abad9dc
[App Search] 2 fixes for Result Settings (#97179) 2021-04-20 08:12:53 -04:00
Alison Goryachev
7c103bfb56
[Snapshot and Restore] Fix snapshot name wrapping issue (#97527) 2021-04-20 08:01:28 -04:00
Alison Goryachev
f572fb9d7d
[Snapshot + Restore] prevent # char in repository name (#97495) 2021-04-20 08:00:37 -04:00
Pierre Gayvallet
12c2e7e488
Fix flaky SO import tests (#97586)
* Fix flaky SO import tests

* [will be reverted] remove all tests from CI group 8

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007ec

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007ec
2021-04-20 13:58:33 +02:00
Jean-Louis Leysens
f72a0a6c7a
added aria-label to EuiIconTip (#97424) 2021-04-20 13:58:15 +02:00
Dmitry Shevchenko
e5fe77b339
Disable duplicated rules by default (#96760) 2021-04-20 13:55:41 +02:00
Angela Chuang
f8a3ea64e7
unskip tls integration test (#97597) 2021-04-20 12:51:21 +01:00
Alexey Antonov
37ea80d6fa
Fix date histogram fails on rollup index (#97369)
Closes: #97125

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 14:49:09 +03:00
Stratoula Kalafateli
0cec3439cb
[Discover] Adds an Options menu for switching between the two table modes (#97120)
* [Discover] Adds an Options menu for enabling the Legacy table

* Add unit test

* Layout and copy tweaks

* Update UI and fix unit test

* Change description text

* Revert legacy text mode functionality

Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 14:06:57 +03:00
Dmitry Tomashevich
4faff46b53
[Timelion] Fixes bug with escape colons in field names in the metric/split parameter (#96770)
* [Timelion] add colons support in field names for metric

* [Timelion] support percent for metric

* [Timelion] get rid of array indexes

* [Timelion] get rid of lodash methods

* [Timelion] support colons in split. fix expression suggestions

* [Timelion] escape colons for metric

* [Timelion] use metric types common constants

* [Timelion] support one symbol field name

* [Timelion] resolve duplicate imports

* [Timelion] remove console logs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 12:53:25 +03:00
Marta Bondyra
b227b8fc86
[Lens] fix amsterdam theme issues (#97237)
* adding border to the toolbar buttons

* Weird ranges/filters shadows/borders fixed

* suggestion shadows fixed

* adjusting border radius on workspace

* add new layer button

* adjust styles for filter by just like for filter agg

* don't show outer style for selecting the field item

* fix color button

* add padding to the button

* v8 conditional

* fix v7

* Update toolbar_button.scss

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 11:48:14 +02:00
Robert Oskamp
a3c2aebb9f
[ML] Functional tests - stabilize anomaly charts embeddables test (#97452)
This PR stabilizes the anomaly charts embeddables test by adding a retry.
2021-04-20 11:38:16 +02:00
Angela Chuang
e4bbdda129
use smaller piece of mock data (#96953)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 10:30:30 +01:00
Felix Stürmer
9ae605af93
[Logs UI] Display and query runtime fields from KIPs in the log stream and entry flyout (#97467)
This enhances the queries such that they pass runtime fields defined on Kibana index patterns as `runtime_mappings` in the log entry search strategies.
2021-04-20 11:22:14 +02:00
Dima Arnautov
20b585d122
[ML] Anomaly detection rule lookback interval improvements (#97370)
* [ML] add advanced settings

* [ML] default advanced settings

* [ML] advanced settings validators

* [ML] range control for top n buckets

* [ML] execute rule with a new query for most recent anomalies

* [ML] find most anomalous bucket from the top N

* Revert "[ML] range control for top n buckets"

This reverts commit e039f250

* [ML] validate check interval against the lookback interval

* [ML] update descriptions

* [ML] fix test subjects

* [ML] update warning message

* [ML] add functional tests

* [ML] adjust unit tests, mark getLookbackInterval

* [ML] update lookback interval description and warning message

* [ML] update fetchResult tsDoc

* [ML] cleanup

* [ML] fix imports to reduce bundle size

* [ML] round up lookback interval

* [ML] update functional test assertion

* [ML] async import for validator
2021-04-20 10:52:54 +02:00
Alexey Antonov
13411882eb
[TSVB] Fix validation for Data time range mode combo-box (#97475) 2021-04-20 11:47:22 +03:00
Patryk Kopyciński
2e7e682023
[Asset Management] Enable osquery plugin (#97422) 2021-04-20 04:20:08 -04:00
Uladzislau Lasitsa
0aa31add4a
Visualize data table: Summary row is detached and jumps in Firefox (#97083)
* Use display: flex for footer in table

* Update table_visualization.scss

* Update table_visualization.scss

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 10:37:58 +03:00
Shahzad
0876fce6b9
[ Exploratory view] Add page load dist link for exploratory view (#97352) 2021-04-20 09:11:44 +02:00
Shahzad
6173583b09
[Exploratory View] Add monitor duration link for exploratory view (#97418) 2021-04-20 09:10:14 +02:00
Yulia Čech
bd5e9ba10a
[Remote Clusters] Added a11y tests and fixed violations (#96989)
* Added a11y tests for Remote Clusters plugin and fixed discovered violations

* Added an a11y test for a delete modal

* Updated payload type casting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 08:51:28 +02:00
Matthias Wilhelm
69edee5b75
[Discover] Display toast when adding columns and filters from document flyout (#97270) 2021-04-20 05:56:18 +02:00
Nathan L Smith
042fa1a2ce
Remove alerting feature flag from advanced settings (#97265)
* Remove alerting feature flag from advanced settings

Make it so the alerting UI in Observability can only be turned on and off in kibana.yml with `xpack.observability.enableAlertingExperience`.

We no longer:

* Allow turning this on and off for the current space in the advanced settings in Kibana
* Allow turning this on on cloud
* Send telemetry on whether or not the flag is enabled

Add some docs in READMEs as well.
2021-04-19 22:09:51 -05:00
Frank Hassanabad
1fc1bcdb08
Skips flaky test Open timeline (#97547)
## Summary

See:
https://github.com/elastic/kibana/issues/97544

A test failed:

```
Timed out retrying after 60000ms: Expected to find element: `[data-test-subj="title-eb8e97f0-a0ce-11eb-9e0c-db238893b7ff"]`, but never found it.

Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Open timeline`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
```
2021-04-19 19:27:17 -06:00
Nicolas Chaulet
9bfa1050fb
[Fleet] Fix condition to show fleet server migration modal (#97570) 2021-04-19 21:15:18 -04:00
Angela Chuang
44eda0fa73
[SecuritySolution] Timeline http endpoints (#95036)
* add notes and pinned events routes

* add api endpoints on client side

* add apis

* fix get all timelines

* add decodeResponseFavoriteTimeline

* rm apolloClient

* fix unit tests

* remove unused routes

* update cypress task

* fix integration tests

* clean up type dependency

* fix types

* update snapshot

* remove graphql types dependency

* fix types

* remove graphql queries

* remove unused i18n

* fix types

* fix delete timelines

* fix types and rewrite timeline integration tests

* add readme

* fix unit test

* fix unit test

* update package.json

* rm x-pack/yarn.lock

* fix tests

* update yarn.lock

* update yarn.lock

* rm unused dependency

* fix types

* fix unit test

* update query params for getAllTimelines

* fix integration test

* wrap JSON.stringify with try/catch

* fix lint error

* fix type

* wrap JSON.stringify with try/catch

* fix unit test

* review

* review

* review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 20:32:39 -04:00
Yuliia Naumenko
9cf66a78e9
[Docs][Alerting] Changed overall alerting documentation structure (#95004)
* [Docs][Alerting] Changed overall alerting documentation structure

* fixed image link

* moved alerting and connectors under the graph in the menu list

* moved management docs to alerting and connectors

* fixed image link

* fixed connector menu position

* fixed mappings

* fixed mappings

* fixed links

* fixed levels

* move manage connectors before action types

* adjust connectors management

* adjust connectors management

* split domain specific and stack rules

* fixed rule types links

* added connectors ui images

* fixed image links

* fixed image links

* fixed image links

* test

* fixed image links

* fixed broken links

* fixed broken links

* fixed email links

* fixed email links

* fixed email links

* fixed links

* added images to connectors docs

* Update docs/user/alerting/rule-management.asciidoc

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

* Update docs/user/alerting/stack-rules.asciidoc

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

* fixed due to comments

* fixed due to comments

* fixed create connector

* moved connectors to stack management section

* removed bazel files

* fixed managing-alerts-and-actions links

* Revert "fixed managing-alerts-and-actions links"

This reverts commit 0ed228b090.

* fixed code owners

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 15:54:54 -07:00
Wylie Conlon
9bc66ed343
[Lens] Faster field existence failures by adding timeouts (#97188)
* [Lens] Faster field existence failures by adding timeouts

* Increase shard timeout and add timeout-specific warning

* Fix types

* Fix import

* Hide field info when in error state, but not timeout

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 18:17:57 -04:00
Wylie Conlon
563e4e68a0
[Console] Update definition for _search autocomplete (#97303)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 18:17:04 -04:00
Felix Stürmer
89dd4b6eec
[Logs UI] Support Kibana index patterns in the Logs UI settings UI (#94849)
This enhances the Logs UI settings screen to support both the legacy configuration style with index name patterns as well as the new style based on Kibana index patterns.
2021-04-20 00:04:25 +02:00
Cauê Marcondes
83824ab13a
[APM] Stop fetching previous period data when comparison is disabled (#97469)
* stopping fetching previous period data when comparison is disabled

* addressing PR comments

* refactoring comparison and primary API names
2021-04-19 17:50:48 -04:00
Cauê Marcondes
41d55ef2e0
[APM] Comparisons: Change the legend dot color to the line instead of the area viz color (#97481)
* changing legend color

* fixing unit test
2021-04-19 17:50:10 -04:00
Jen Huang
6885ad1fc0
Pass force unenrollment option as new revoke param (#97516) 2021-04-19 14:47:05 -07:00
John Schulz
8db333147c
Don't show 'Upgrade available' for agents in hosted policies (#97517)
## Summary
Close item 3 on https://github.com/elastic/kibana/issues/91906. Don't show icon & "upgrade available" for agents in hosted agent policies

### Local testing
I'll try to come back and post the exact commands if anyone wants them, but my rough flow was

1. start ES in 7.13
2. checkout kibana 7.x branch and start
3. create agents in kibana
4. stop kibana & ES
5. start ES in 8.0.0-SNAPSHOT
6. switch to kibana `master` branch & start
7. Navigate to http://localhost:5601/app/fleet#/fleet/agents and observe agents with upgrade available
8. assign agent(s) to a hosted agent policy
9. Observe behavior shown in two screenshots
### Don't show "upgrade available" for hosted agents in list
<img width="947" alt="Screen Shot 2021-04-19 at 3 08 12 PM" src="https://user-images.githubusercontent.com/57655/115291869-421c2480-a123-11eb-9dd2-6e450775c16b.png">

### Don't show agent in list when "Upgrade available" filter is selected
<img width="945" alt="Screen Shot 2021-04-19 at 3 08 40 PM" src="https://user-images.githubusercontent.com/57655/115291870-421c2480-a123-11eb-9309-09e3de8902f8.png">


closes https://github.com/elastic/kibana/issues/91906
2021-04-19 17:38:14 -04:00
Tiago Costa
f0070be7d6
docs(NA): add requirements for windows development into the getting started developer guide (#97264)
* docs(NA): add requirements for windows development into the getting started developer docs

* chore(NA): change docs id for the new introduced section

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 14:09:43 -07:00
Ece Özalp
a254f0f810
[CTI] Adds Threat Intel Tab to Alert Summary Flyout (#97185) 2021-04-19 17:03:56 -04:00
Bhavya RM
b5effc20a4
unskipping login and spaces a11y tests (#97190) 2021-04-19 16:59:51 -04:00
Nicolas Chaulet
c3decc0110
[Fleet] Fleet Server migration modal (#97413) 2021-04-19 16:35:32 -04:00