Commit graph

42690 commits

Author SHA1 Message Date
Constance
794e040847
[App Search] Small route fixes/updates (#98556)
* Various route URL updates

- Snake case Kibana routes
- Remove unnecessary extra subdirectory pathing

* Fix missing ability check

- There isn't currently a role that would fail the check, but since the nav link is wrapped in the role, we might as well copy it and look at our role checks in the 8.0 refactor

* fix test
2021-04-28 08:49:37 -07:00
Dima Arnautov
23e568518f
[ML] Fix columns alignment on the Anomaly Detection jobs list (#98598)
* [ML] fix columns alignment

* [ML] remove redundant styles

* [ML] fix test subj attr
2021-04-28 17:45:25 +02:00
Poff Poffenberger
84d38427d6
[Canvas] Replace squel with safe-squel (#97169)
* Replace squel with safe-squel

* Update squel import name

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 10:17:16 -05:00
Brian Seeders
27ab4e9c65
[CI] Use a new helper library for consistently cloning the repo (#98555) 2021-04-28 11:08:51 -04:00
Candace Park
a1cb79b3d2
[Security Solution][Host Isolation] Host Isolation Flyout UI only (#96077)
Co-authored-by: pzl <dan@panzarel.la>
2021-04-28 11:02:53 -04:00
Tiago Costa
fb34ba0337
chore(NA): moving @kbn/logging into bazel (#98564)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 16:01:22 +01:00
Walter Rafelsberger
639f8290ff
Transforms/Data Frame Analytics: Fix populated fields sorting used for data grid columns. (#98596)
Missed sorting the columns ids based on populated fields. If not all fields are populated in all documents equally, this could result in not correctly sorted columns, also resulting in flaky tests.
2021-04-28 16:22:33 +02:00
Shahzad
5023dce97c
[Exploratory View] Polish design and layout fixes (#98123)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 16:08:16 +02:00
dmlemeshko
d3106338c4
update chromedriver & ms-edge-driver (#98590) 2021-04-28 15:26:15 +02:00
David Sánchez
1ac3c5712e
[Security Solution] User can add new event filter from event filter list (#98118)
* New flyout with event filters form

* Changes on event filters form to allow OS selector. Add new error on state for OS. Add created entry to the entries list

* Fixes typo

* Adds empty page with an add button that opens flyout. Alos added route and path management

* Fixes type and adds a TODO comment. Also removes ESlit rule for useCallback deps

* Fixes unit test. Adds consts for default page size and page index

* Fixes warning state update on an unmounted component

* Fixes infinite useEffect loop useFetchIndex hook because non memoized value

* Adds policy:all to eventFilter.tag and disables or button on exception builder

* Changes component name and simplify hook using useCallback without a custom callback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 15:02:39 +02:00
Larry Gregory
5560802d80
Replace lodash template with static react renderer for discover's row formatter (#98072)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 08:33:14 -04:00
Anton Dosov
18dd767cae
[Search] Unify search plugin step 2 — Search Interceptor (#97845)
Unify search interceptor
Deprecate TimeoutErrorMode.UPGRADE
2021-04-28 14:08:01 +02:00
Jorge Sanz
66a1aff924
[Maps] Updated documentation for Elastic Maps Server 7.13 (#98310)
Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-04-28 14:02:35 +02:00
Stratoula Kalafateli
3cc6989e5f
[Visualize] Fixes V8 theme issues (#97090)
* [Visualize] Fixes K8 theme issues

* Fix ci

* Make it work for v7 too

* Fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 13:59:19 +03:00
Joe Reuter
0cf1256784
always load test fixtures (#98464) 2021-04-28 10:12:29 +02:00
Pierre Gayvallet
10a93366e0
change config reload message (#98455)
* change config reload message

* change function name
2021-04-28 10:03:02 +02:00
Pierre Gayvallet
c408e3ae09
SO MigV2: fix logStateTransition (#98445)
* SO MigV2: fix logStateTransition

* extract func

* use info directly

* improve tests & impl
2021-04-28 09:56:24 +02:00
Walter Rafelsberger
bfb363f050
[ML] Transforms/Data Frame Analytics: Fix freezing wizard for indices with massive amounts of fields. (#98259)
The transform wizard can become very slow when used with indices with e.g. 1000+ fields.

This PR fixes it by prefetching 500 random documents to create a list of populated/used fields and passes those on to the data grid component instead of all available fields from the list derived via Kibana index patterns.

For example, for an out of the box metricbeat index, this reduces the list of passed on fields from 3000+ to ~120 fields. Previously, the page would freeze on load for tens of seconds and would freeze again on every rerender. With the applied update, the page loads almost instantly again and remains responsive.

Note this fix of reducing available fields is only applied to the data grid preview component. All fields are still available to create the configuration in the UI for groups and aggregations. These UI components, e.g. the virtualized dropdowns, can handle large lists of fields.
2021-04-28 08:23:07 +02:00
Yara Tercero
c24c0d38f8
[Security Solution][Tech Debt] - Fix flakey notes tab cypress test (#98439)
Fix flakey cypress test related to notes_tab before/after hooks.
2021-04-27 23:06:53 -07:00
Pierre Gayvallet
9dae1ef5b1
SOM: hide actions for hidden types (#98290)
* SOM: hide actions for hidden types

* fix FTR tests

* add and fix tests

* fix unit tests

* fix test types

* fix FTR test assertions

* add more FTR tests

* delete old file
2021-04-28 07:58:45 +02:00
Frank Hassanabad
6c635b3b98
Adds documentation about a painless script (#98509)
## Summary

Adds dev documentation about a painless script in our code and when we could remove it. See:
https://github.com/elastic/elasticsearch/issues/72276
https://github.com/elastic/kibana/pull/78912
2021-04-27 15:34:28 -06:00
Yuliia Naumenko
33f47ba590
[Connectors][API] Updated connectors with isMissingSecrets flag (#98223)
* [Connectors][API] Updated connectors with enabledAfterImport flag

* fixed functional tests

* added new field to connectors API docs

* added update unit test

* fixed test

* renamed enableAfterImport to isMissingSecrets

* removed onExport

* revert the logic of true/false for isMissingSecrets

* fixed test

* fixed tests

* added unit test

* fixed docs

* fixed import text and button labels

* fixed import text

* fixed text
2021-04-27 14:14:01 -07:00
Stacey Gammon
1a1c36a99b
Update best_practices.mdx (#98032) 2021-04-27 16:50:39 -04:00
Nathan Reese
942243158d
[Maps] convert FeaturesTooltip to TS (#97920)
* [Maps] convert FeaturesTooltip to TS

* tslint

* pass addFilters to method to keep not null check closer to check for undefined

* FeaturesTooltip

* convert test to ts

* fix snapshot

* clean up cast

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 14:42:39 -06:00
Zacqary Adam Xeper
41b930c97c
[Fleet] Add troubleshooting link to setup instructions (#98531)
* [Fleet] Add troubleshooting link to setup instructions

* Add troubleshooting link to Fleet Server instructions
2021-04-27 16:39:13 -04:00
Nick Peihl
cbd6f844cb
Fetch geojson using ems-client (#97908)
* Fetch geojson using ems-client

* Review feedback
2021-04-27 13:25:29 -07:00
Alejandro Fernández Haro
6ed93c3571
[Telemetry] Remove all usages of any (#98338) 2021-04-27 21:45:19 +02:00
Mikhail Shustov
a386fd86f0
Fix SO migration integration tests (#98478)
* do not restart Kibana server on integration tests writing logs

* unskip tests

* do not write to ended stream to avoid a race condition

* revert changes to the File appender

* fix race condition on the logging_system level

enforce buffer usage for all the logs created during  disposal phase
2021-04-27 20:00:44 +01:00
Spencer
31660419ea
[kbn/es] disable geoip downloader at the root (#98372)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-27 11:31:07 -07:00
Felix Stürmer
0b16688a24
[Logs UI] Don't break log stream on syntactically invalid KQL (#98191) 2021-04-27 20:06:16 +02:00
Mikhail Shustov
afc4aef9d5
Cleanup UI settings client API (#98248)
* remove unused overrideLocalDefault method

* remove unused getSasved$ method

* fix dashboard unit test

* update docs

* fix Security Solution unit test
2021-04-27 20:01:07 +02:00
Tiago Costa
7c043dc3de
chore(NA): moving @kbn/apm-config-loader into bazel (#98323)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 18:44:41 +01:00
Melissa Alvarez
b0486caefd
ensure map supports old source index metadata (#98483) 2021-04-27 13:21:01 -04:00
Domenico Andreoli
35bd88e754
[DOCS] Fix development tests table (#98309)
* Fix visualization of consecutive inline code blocks
* Remove trailing '_' from the correct script name
2021-04-27 10:12:23 -07:00
Aleh Zasypkin
808959e316
Handle 401 Unauthorized errors in a more user-friendly way (#94927) 2021-04-27 19:09:54 +02:00
Nicolas Chaulet
52a90e3dc9
[Fleet] Use default port for fleet server cloud url (#98492) 2021-04-27 13:04:08 -04:00
Chris Cowan
aa281ffad7
[Metrics UI] Unskip Home Page Functional Test (#98085)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 09:36:27 -07:00
Andrea Del Rio
8de766904d
[K8] Small fixes (#98099) 2021-04-27 09:12:17 -07:00
Walter Rafelsberger
18d9d435af
[ML] Transforms: Adds a link to discover from the transform list to the actions menu. (#97805)
Adds a link to discover from the transform list to the actions menu. Conditions for the link to be enabled:
- Kibana index pattern must be available
- Transform must have been started once and done some progress so there's the destination index available
2021-04-27 10:49:20 -04:00
Kaarina Tungseth
6c46e4107c
[DOCS] Drilldown docs changes for 7.13 (#98390) 2021-04-27 09:32:02 -05:00
Stratoula Kalafateli
2372700483
[Docs] TSVB supports url drilldowns on 7.13+ (#98460) 2021-04-27 17:31:16 +03:00
Joe Reuter
d0b836b172
do not debounce chart (#98451) 2021-04-27 15:50:52 +02:00
Alexey Antonov
88288c8c51
[visTypeTimeseries] Reduce page load bundle to under 100kB #95873 (#97972)
* [visTypeTimeseries] Reduce page load bundle to under 100kB #95873

Closes: 95873

* ts-ignore -> ts-expect-error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 06:09:38 -07:00
Marco Liberati
088212b8db
[Lens] Prevent editor crash on histograms datatype mix (#98453) 2021-04-27 14:31:04 +02:00
Joe Reuter
61d57370fa
[Lens] Fix column order issues (#98261) 2021-04-27 14:14:16 +02:00
ymao1
b544be6ff2
[Alerting] Return 400 Bad Request errors when creating/enabling/updating rules using API key authentication (#98088)
* Catching API key creation errors and throwing bad request errors instead

* Catching API key creation errors and throwing bad request errors instead

* Adding warning to docs

* Updating error messages

* Updating tests

* Updating warning wording in docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 07:46:35 -04:00
Joe Reuter
6b8c44d113
[Lens] Build endzone markers (#97849) 2021-04-27 13:41:24 +02:00
James Gowdy
c9832832df
[File Data Visualizer] Fixing missing css imports for file stats table (#98312)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 11:16:34 +01:00
Marco Liberati
6dd637630d
[Lens] Prevent React error on first field drop (#98269) 2021-04-27 10:27:04 +02:00
Pierre Gayvallet
328febabd3
migrate logstash plugin to new ES client (#98064)
* migrate logstash plugin to new ES client

* handle 404s

* use default ES client
2021-04-27 10:25:50 +02:00