Commit graph

40655 commits

Author SHA1 Message Date
Maja Grubic c8fab9f8cb
[Discover] Always show unmapped fields (#91735)
* [Discover] Always show unmapped fields

* Updating the functional test

* Remove unmapped switch toggle

* Some more code cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 16:41:00 +00:00
Cauê Marcondes 99a60caf81
[APM] Bug: Service overview - Sparkline loading state icons has changed (#91884)
* adjusting icon size

* Updating color
2021-02-19 11:15:40 -05:00
Thomas Neirynck d6984ca160
[Maps] upgrade mapbox-gl to v1.13.1 (#91564) 2021-02-19 10:56:52 -05:00
Jonathan Buttner a108469ec7
Allowing deletion of collections (#91926) 2021-02-19 10:50:35 -05:00
Aaron Caldwell eea6f82e4e
[Maps] Use new index patterns service for Maps telemetry (#86703)
Co-authored-by: Matt Kime <matt@mattki.me>
2021-02-19 08:00:01 -07:00
Alejandro Fernández Gómez 4d34a13bab
[Logs UI] Replace dependencies in the infra bundle (#91503) 2021-02-19 09:06:33 -05:00
Maja Grubic 8b909cedc8
[Search Source] Do not request unmapped fields if source filters are provided (#91921) 2021-02-19 14:05:47 +00:00
Cauê Marcondes 1fa742d0ce
[APM] Kql Search Bar suggests values outside the selected time range (#91918) 2021-02-19 08:57:14 -05:00
Yulia Čech f8fd08fbcd
Refactored component edit policy tests into separate folders and using client integration testing setup (#91657)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 14:34:52 +01:00
John Schulz 5bfcc096a6
[Fleet] Don't error on missing package_assets value (#91744)
## Summary
closes https://github.com/elastic/kibana/issues/89111

 * Update TS type to make `package_assets` key in EPM packages saved object optional
 * Update two places in code to deal with optional vs required property

### Checklist

- [ ] [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

#### Manual testing
1. checkout `7.10` branch
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 7.10.3 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   2. **observe** `{"is_initialized: true}`
1. checkout `7.11` branch
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 7.11.1 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   1. **observe** `{"is_initialized: true}`
1. checkout `master` branch
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 8.0.0 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   1. **observe error** {"statusCode":500,"error":"Internal Server Error","message":"Cannot read property 'map' of undefined"}
1. checkout this PR `8911-fleet-startup-error`
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 8.0.0 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   1. **observe success** `{"is_initialized: true}`

**_Notes_**
 * _you might need to do a `yarn kbn clean` when starting kibana if it fails. There have been some big changes in the tooling recently_
2021-02-19 07:40:16 -05:00
Joe Reuter bf7fdfc87c
[Lens] Pass used histogram interval to chart (#91370) 2021-02-19 11:30:40 +01:00
Stratoula Kalafateli 494d1decf5
[Indexpattern management] Use indexPatterns Service instead of savedObjects client (#91839)
* [Index pattern management] Use indexPatterns Service instead of savedObjects client

* Minor fixes

* Keep the same test setup
2021-02-19 11:54:28 +02:00
Frank Hassanabad 8d9ac0058f
[Security Solutions] Fixes Cypress tests for indicator match by making the selectors more specific (#91947)
## Summary

Fixes the indicator match rules cypress e2e tests by making the selectors more specific. Previously other rules and forms code which live on the DOM beside the indicator match rules could interfere when moving around on the DOM. Now with more specific selectors this should be less likely to happen.

If it does happen again I will make the selectors even more specific. 

### 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-02-18 23:25:01 -05:00
Brian Seeders a164411286
[CI] backportrc can skip CI (#91886) 2021-02-18 21:00:19 -05:00
Jonathan Budzenski 539f33e53b Revert "[SOM] fix flaky suites (#91809)"
This reverts commit 386afdca8f.
2021-02-18 18:43:43 -06:00
Nicolas Chaulet fe35e0de3b
[Fleet] Install Elastic Agent integration by default during setup (#91676) 2021-02-18 18:45:15 -05:00
Jen Huang 0f804677de
[Fleet] Silently swallow 404 errors when deleting ingest pipelines (#91778)
* Only show transform logs when there are transforms

* Silently swallow 404 errors when deleting ingest pipelines

* Change to IngestManagerError
2021-02-18 13:43:03 -08:00
Lukas Olson 2408d00325
[data.search] Use incrementCounter for search telemetry (#91230)
* [data.search] Use incrementCounter for search telemetry

* Update reported type

* Retry conflicts

* Fix telemetry check

* Use saved object migration to drop previous document

* Review feedback

* Fix import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-18 14:42:17 -07:00
Zacqary Adam Xeper 0760bfb870
[Fleet] Bootstrap functional test suite (#91898) 2021-02-18 16:34:50 -05:00
Yuliia Naumenko da25d2753b
[Alerts][Docs] Added API documentation for alerts plugin (#91067)
* Added API documentation for alerts plugin

* Added link to user api

* fixed links

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/delete.asciidoc

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

* Update docs/api/alerts/delete.asciidoc

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

* Update docs/api/alerts/disable.asciidoc

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

* Update docs/api/alerts/enable.asciidoc

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

* Update docs/api/alerts/disable.asciidoc

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

* Update docs/api/alerts/update.asciidoc

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

* Update docs/api/alerts/enable.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/get.asciidoc

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

* Update docs/api/alerts/get.asciidoc

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

* Update docs/api/alerts/health.asciidoc

Co-authored-by: Gidi Meir Morris <github@gidi.io>

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

Co-authored-by: Gidi Meir Morris <github@gidi.io>

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/list.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/list.asciidoc

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

* Update docs/api/alerts/list.asciidoc

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

* Update docs/api/alerts/list.asciidoc

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

* Apply suggestions from code review

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

* fixed due to comments

* fixed due to comments

* fixed due to comments

* fixed links

* Apply suggestions from code review

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

* fixed due to comments

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Gidi Meir Morris <github@gidi.io>
2021-02-18 12:36:25 -08:00
Nathan L Smith 863a2d06a4
Use correct environment in anomaly detection setup link (#91877)
This was still using `uiFilters.environment` instead of environment, so the warning would never show.
2021-02-18 13:58:55 -06:00
Brian Seeders a82b13d147
[FTSR] Convert to tasks and add jest/api integration suites (#91770) 2021-02-18 11:52:50 -08:00
Brian Seeders 03206b688a
[CI] Build and publish storybooks (#87701) 2021-02-18 14:13:23 -05:00
Brandon Morelli 043848787d
docs: add PHP agent info to docs (#91773) 2021-02-18 11:06:13 -08:00
Kaarina Tungseth 4ce0b6c14f
[DOCS] Adds and updates Visualization advanced settings (#91904) 2021-02-18 13:03:50 -06:00
Devon Thomson 0a685dbb63
[Time to Visualize] Dashboard Save As New by Default (#91761)
* changed dashboard save as to have save as new switch on by default
2021-02-18 13:49:26 -05:00
Brian Seeders 96bc9e868d
[CI] Ping assignees on Github PR comments (#91871) 2021-02-18 13:42:40 -05:00
Sébastien Loix eddf1c94b1
Index pattern field editor (#88995)
Index pattern field editor
2021-02-18 12:00:43 -06:00
Aaron Caldwell df8f2b1412
[Maps] Fix issue preventing WebGL warning message from appearing (#91069) 2021-02-18 10:48:42 -07:00
Michail Yasonik 18db413083
Adding automated a11y tests for Canvas (#91571) 2021-02-18 12:43:24 -05:00
James Gowdy 60e63aa53b
[ML] Switching to new find file structure endpoint (#91802)
* [ML] Switching to new find file structure endpoint

* js client change
2021-02-18 17:40:25 +00:00
Tiago Costa 619a658227
chore(NA): setup renovate for the new 7.13 (#91859) 2021-02-18 12:33:16 -05:00
Alejandro Fernández Haro 5342877a32
[HTTP] Apply the same behaviour to all 500 errors (except from custom responses) (#85541)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-18 17:31:18 +00:00
Tiago Costa 4304cb9e62
chore(NA): setup backport tool for new 7.12 branch (#91858) 2021-02-18 12:30:53 -05:00
Brian Seeders 47b2c12b7e
[backportrc] Adds 7.12 branch and bumps 7.x (#91883) 2021-02-18 12:23:30 -05:00
Ahmad Bamieh 386afdca8f
[SOM] fix flaky suites (#91809)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-18 18:34:44 +02:00
Maja Grubic c5dabc2e86
[Discover] Always request unmapped fields in a single doc view and a context view (#91825)
* [Discover] Always request unmapped fields in a single doc view

* Updating unit test

* Request unmapped fields in context view
2021-02-18 16:25:57 +00:00
Joe Reuter 759f343b6a
[Lens] Support index pattern runtime fields in existence and field stats API (#90600) 2021-02-18 17:15:22 +01:00
Joe Reuter 543bf1bf1d
Discover: Add handling for source column (#91815) 2021-02-18 16:39:17 +01:00
Alejandro Fernández Haro 70d1d9cdbb
[Usage Collection] Small performance improvements (#91467)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-18 15:18:12 +00:00
Justin Ibarra 1498000213
[Detection Rules] Add 7.12 rules (#91082)
## Summary

Pull updates to detection rules from https://github.com/elastic/detection-rules/tree/7.12

This should not merge until after #91553 is merged and backported

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
2021-02-18 07:59:46 -07:00
Alejandro Fernández Haro 3c0d73af8b
[DOCS] Accept core changes (#91826) 2021-02-18 14:35:27 +00:00
Peter Pisljar 7503fd256a
support serializing nested searchsource (#91525) 2021-02-18 15:12:41 +01:00
Nathan L Smith dadf0e6564
Pass service node name in query for instance table links (#91796)
For a non-Java service, the previous link was like:

```
http://localhost:5601/kbn/app/apm/services/opbeans-python/metrics?rangeFrom=now-15m&rangeTo=now
```

which did not filter by the `service.node.name`.

It now is:

```
http://localhost:5601/kbn/app/apm/services/opbeans-python/metrics?kuery=service.node.name:%226a7f116fe344aee7e92fceeb426cbfdf6a534a8e3ba6345c16a47793eba6daf5%22&rangeFrom=now-15m&rangeTo=now
````

Which links to the metrics page with the filter applied.

The component is using a `MetricOverviewLink` which was using a `EuiLink` and passing throught the props, including `mergeQuery`, which includes the `kuery` parameter.

Replace the `EuiLink` with an `APMLink` which does use the `mergeQuery` prop and does pass the parameters through correctly.

Looks like this was changed to an `EuiLink` by a refactor in #86986.

Since we'll be making some further changes to how `kuery` is handled in #84526, I'm just making the minimal change to fix this bug at this time.
2021-02-18 07:57:19 -06:00
Jean-Louis Leysens 7a7f071236
[ILM] Update Delete phase default days (#91811)
* update delete phase default

* added test for delete phase serialization
2021-02-18 14:51:14 +01:00
Chris Roberson a558920176
[Monitoring] Fetch status once and change fetchStatus to support an array of clusters (#91749)
* Fetch status once and change fetchStatus to support an array of clusters

* Update test
2021-02-18 08:47:03 -05:00
Jason Stoltzfus 8c9eaa2fba
[App Search] First cut of the Relevance Tuning UI (#90621) 2021-02-18 08:07:14 -05:00
Bhavya RM 2aaeea7ce8
Unskip import saved objects test 2021-02-18 07:56:18 -05:00
Christos Nasikas 1e3b13a55c
[Security Solution][Case] Add the ability to mark cases in progress in cases table. (#89341) 2021-02-18 07:02:43 -05:00
Felix Stürmer 28fa873d21
[Logs UI] Wrap log stream embeddable with proper providers (#91725)
This declares the correct dependencies for the `LogStreamEmbeddable` and replaces parts of the custom provider hierarchy used therein with the common Logs UI `CoreProviders`.
2021-02-18 11:52:14 +01:00