Commit graph

31985 commits

Author SHA1 Message Date
Søren Louv-Jansen
3b3e3f539b
[backport] Bump to 5.1.2 (#62117) 2020-04-01 14:10:16 +02:00
Cauê Marcondes
a8425e2481
[APM] .apm-agent-configuration is not created if Kibana is started while ES is not ready (#61610)
* adding retry functionaty when creating index

* adding p-retry module to x-pack package.json

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-01 13:27:26 +02:00
Nicolas Chaulet
36ff703e51
[Fleet] Enrollment list page (#61346) 2020-04-01 07:23:44 -04:00
Walter Rafelsberger
70fcaaa4fa
[ML] Fix maximum default enabled columns for data grid. (#62005)
UI Performance could degrade to make a page unusable if a dataset had a very much number of columns to be displayed in data grid (e.g. filebeat based date with 1000+ fields).
This PR fixes it by limiting the columns selected by default to a maximum number of 20. The fix gets applied to Transforms Source Table and Pivot Preview as well as the Analytics Outlier Results page.
2020-04-01 13:05:31 +02:00
Mario Castro
58d4e71b1c
[Home][Tutorial] Add Oracle data UI (#61595) 2020-04-01 13:00:04 +02:00
Dario Gieselaar
d4fa5edafd
[APM] Ensure telemetry data matches SO/telemetry mapping (#61957)
* [APM] Ensure telemetry data matches SO/telemetry mapping

Closes #61802.

* Correct mapping for dotnet data
2020-04-01 12:39:24 +02:00
Alejandro Fernández
9ac2bc5aa4
[DOCS] Show new date picker in logs UI docs (#62019) 2020-04-01 11:55:00 +02:00
Nicolas Ruflin
9628aef381
Update docs on how to run ingest manager (#62112)
This adds the --no-base-path flag and also enables endpoint. I think we should get used to always running endpoint too.

This also adds the bootstrap step as if this is missing, things often break.
2020-04-01 10:43:35 +02:00
Cauê Marcondes
79757651a9
[APM] Filters are not prefilled when the custom link flyout is opened from a transaction page. (#61650)
* open flyout with filters prefilled

* addressing pr comments

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-01 08:50:06 +02:00
spalger
aab5a0ce6d skip flaky suite (#53308) 2020-03-31 19:49:32 -07:00
Tyler Smalley
6246393dcb
[Maps] Updates tests to not rely on field order (#62092)
Elasticsearch master is now returning a different order for these
fields and is failing the promotion of our nightly builds.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-03-31 19:02:01 -07:00
Ryland Herrick
4fe5c6346b
Fix race condition in integration tests (#62064)
There's a race condition with our rule creation tests where if they're
executed we'll get a failure message in the response, but if they
haven't yet executed we won't.

This ultimately seems like a bug with this
removeServerGeneratedProperties helpers, which has been updated to
remove those failure properties as well.
2020-03-31 20:09:16 -05:00
Nathan L Smith
433d06fd16
Don't fetch service map data if no license (#62071)
Fixes #61994
2020-03-31 19:57:30 -05:00
Lukas Olson
c98c2253f6
[Search service] Shim total hits in async search response (#61565)
* Shim total hits in async search response

* Resolve types

* Fix types

* Fix tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 17:40:38 -07:00
spalger
5d8c65a10b skip flaky suite (#61714) 2020-03-31 16:30:15 -07:00
Shahzad
92eab3e8d1
[Uptime] Added func test for obsv location map (#61518)
* add functional test

* update func test

* refactor more changed

* update test

* update test

* update type and test

* fix the fix of fix, which din't get fix

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-01 00:51:55 +02:00
Justin Kambic
93ad6d42e4
[Uptime] Fix action variables for monitor status alert (#61844)
* Add action variables for monitor status alert.

* Translate action variable descriptions.

* Add state variables to list. Update defaultActionMessage.

* Remove non-literal characters from test names, and update outdated snapshots.
2020-03-31 18:41:17 -04:00
Charlie Pichette
1ea27c1959
Tests Endpoint App Host Detail (#61857)
* endpoint-161-refactor-management-list-test

* fix location of es archive file

* restored missing data and added new tests

* remove commented out code

* implement suggested enhancments

* fix api tests to use the restored data

* add endpoint metadata to the alert es_archive

* restore the original alerts/api_feature archive

* skipped failing endpoint alert tests
2020-03-31 18:32:41 -04:00
spalger
51ee797ad7 fix local @elastic/datemath version 2020-03-31 15:16:15 -07:00
spalger
0b74d30fee [elastic/datemath] version 5.0.3 2020-03-31 14:46:46 -07:00
Spencer
db996f8879
[elastic/datemath] update readme to indicate usefulness outsid… (#62079)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-03-31 14:36:42 -07:00
Justin Kambic
aa20442a3d
Close create alert popover after the create alert flyout has been selected. (#62036) 2020-03-31 16:56:34 -04:00
Corey Robertson
f9fefdd467
[CANVAS] Gets ride of chrome/ui for advanced settings (#61865)
* Gets ride of chrome/ui for advanced settings

* Mock new platform for test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 16:43:07 -04:00
Paul Tavares
0eb01aca23
[Endpoint] Policy Details integration with Ingest APIs (#61827)
* implement Policy Details header
* use Ingest APIs to persist (save) policy data to the Datasource
* implement UI behaviour for Save, Cancel
* implement UI bahaviour for when Policy (datasource) can not be retrieved
2020-03-31 16:37:49 -04:00
Spencer
84cb048020
[ci/es] always pull snapshots, break early when they're not av… (#62040)
* [ci/es] always pull snapshots, break early when they're not available

* move to setup.sh after deps are installed

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-03-31 13:25:14 -07:00
MadameSheema
86a70ba963
slows down timeline creation (#62037) 2020-03-31 21:46:32 +02:00
Joel Griffith
12caa46e35
Always log non-200 responses in reportin (#61897)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 12:30:47 -07:00
MadameSheema
c8b7b55a93
increases default command timeout (#62022) 2020-03-31 21:15:27 +02:00
Nathan L Smith
49e53dac7b
Hide APM alerting menu if alerting plugin is disabled (#61907)
* Hide APM alerting menu if alerting plugin is disabled

Checks for presence of plugin and does not display the link if the plugin is disabled.

Use `xpack.alerting.enabled: false` in config/kibana.dev.yml to try it.

Fixes #61048.
2020-03-31 13:22:36 -05:00
Kaarina Tungseth
6af9b136bc
[DOCS] Changed Elasticsearch raw data (#61997)
* [DOCS] Changed Elasticsearch raw data

* Review comments
2020-03-31 13:13:41 -05:00
Mike Côté
7d97ead26e
Adding PagerDuty icon to connectors cards (#60805)
* adding PagerDuty icon to connectors cards

* Fix jest

* remove unnecessary global typings from canvas and sync global typings in xpack with oss

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 13:41:00 -04:00
MadameSheema
477ce93d17
Fix drag and drop flakiness (#61993)
* increases the time between dragging and dropping an element

* fixes test
2020-03-31 19:11:41 +02:00
Kerry Gallagher
558dd120a1
Grok debugger migration (#60658)
* Migrates Grok Debugger to new platform
2020-03-31 17:54:34 +01:00
Robert Austin
503fbfb89a
Endpoint: Fix resolver SVG position issue (#61886)
Panning, zooming, centering did now always work correctly.
2020-03-31 12:31:08 -04:00
The SpaceCake Project
341c787f9c
[SIEM] version 7.7 rule import (#61903)
* rule import

* Update x-pack/legacy/plugins/siem/server/lib/detection_engine/rules/prepackaged_rules/windows_credential_dumping_msbuild.json

Co-Authored-By: Garrett Spong <spong@users.noreply.github.com>

* Update add_prepackaged_rules_schema.ts

* Update rule.ts

* updates 'prebuilt_rules_loaded' data (#61940)

Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: MadameSheema <snootchie.boochies@gmail.com>
2020-03-31 10:24:59 -06:00
Yuliia Naumenko
81e1dca2c8
Added styles to make combobox list items wider for alerting flyout (#61894)
* Added styles to make combobox list items wider for alerting flyout

* Fixed width for OF expression popover

* Fixed due to comments

* Fixed due to comments

* Resized
2020-03-31 08:49:08 -07:00
Jean-Louis Leysens
12c8ff78d7
[UA] Tight worker loop can cause high CPU usage (#60950)
* Addded worker padding to save some CPU

* Updated comments

* Update worker scheduler and add a new util

The worker scheduler should only sleep when it cannot process any
in progress operations. Additionally, logic has been added
for handling of queue operations that have been in the queue for
a long time and may be viewed as still in small window of time
by wokers that do not have the credentials to process those
reindex operations.

* res 👉🏻resolve

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 17:26:46 +02:00
Melissa Alvarez
069439a7ec
[ML] DF Analytics results table: use index pattern field format if one exists (#61709)
* classification: use index field format in results table

* regression: use index field format in results table

* outlier: use index field format in results table

* update types

* add destIndex specific fields when using sourceIndex for fields
2020-03-31 11:04:48 -04:00
James Gowdy
b96bae8427
[ML] Catching unknown index pattern errors (#61935)
* [ML] Catching unknown index pattern errors

* fixing typo

* fixing typo

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 16:03:42 +01:00
Matthias Wilhelm
0082ca7ad8
[Discover] Deangularize and euificate sidebar (#47559)
* Split angular templates into React components

* Add tooltip for field label

* Adapt SCSS

* Cleanup angular directives

* Extract helper functions

* Improve tests + docs

* Move css to _sidebar.scss

* Exclude _id field from displaying the Visualize button to prevent an ES error

* A11y improvements
2020-03-31 17:01:44 +02:00
Robert Austin
4899aaf565
Endpoint: Add ts-node dev dependency (#61884)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Used to run CLI scripts written in Typescript
2020-03-31 11:01:06 -04:00
Justin Kambic
e8143918e6
Add an onBlur handler for the kuery bar. Only resubmit when input changes. (#61901) 2020-03-31 10:42:50 -04:00
Dima Arnautov
aeba1b7bb0
[ML] Handle Empty Partition Field Values in Single Metric Viewer (#61649)
* [ML] WIP support empty partition fields values

* [ML] support empty field in anomaly table

* [ML] remove comments

* [ML] fix context chart

* [ML] rename empty field label, render as italic

* [ML] rename empty field label

* [ML] fix focus chart

* [ML] add time range capping for fields_service.ts

* [ML] empty string labels in anomaly explorer
2020-03-31 16:29:00 +02:00
DziyanaDzeraviankina
f29a5dd05b
Auto interval on date histogram is getting displayed as timestamp per… (#59171)
* Auto interval on date histogram is getting displayed as timestamp per 0 milliseconds when x-axis bucket is collapsed

Closes #57822

* Fixed incorrect interval label displaying while scaling the chart.

* Updated agg.test.tsx snapshot

* Got rid of context and refactored agg hooks

* Fixed agg.type.name check

* Added functional tests to cover the date histogram interval editing

* Fixed some expected values in tests

* Updated some test cases

* Added a new visualization to visualize archive

* Added testSubjects service to replace find where possible

* Updated tests to match updated behavior

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 17:17:09 +03:00
Aaron Caldwell
d73671e2b5
[Maps] Explicitly pass fetch function to ems-client (#61846)
* Add fetchFunction binding appropriate version of fetch for ems client

* Wrap standard window fetch prior to passing to ems-client

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 08:03:05 -06:00
Christos Nasikas
810cbd2820
[SIEM][CASE] Fix aria-labels and translations (#61670)
* Fix aria-labels and translations

* Fix conflicts and bugs
2020-03-31 16:20:37 +03:00
Melissa Alvarez
f1866b331e
[ML] Settings: Increase number of items that can be paged in calendars and filters lists (#61842)
* set size limit to 1000 for calendars/filters get routes

* update comment

* update default size comment
2020-03-31 09:14:56 -04:00
Sandra Gonzales
241a7a620a
[EPM] update epm filepath route (#61910)
* update epm filepath route

* add CHANGELOG

* add title

* fix path in changelog

* fix typo
2020-03-31 08:43:24 -04:00
Dario Gieselaar
08c94bf58b
APM] Set ignore_above to 1024 for telemetry saved object (#61732)
Closes #61546.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 14:25:34 +02:00
Alejandro Fernández
4632f3ef85
[Logs UI] Log stream row rendering (#60773) 2020-03-31 13:12:44 +02:00