Commit graph

36135 commits

Author SHA1 Message Date
Brandon Morelli 8ef31f6684
docs: fix link to APM Server (#77002) 2020-09-08 19:36:41 -07:00
nnamdifrankie 2ed4b57776
[SecuritySolution-Ingest]: use new metadata current and add transform installation (#74394)
[SecuritySolution-Ingest]: use new metadata current and add transform installation
2020-09-08 17:56:38 -04:00
Shamin Meerankutty 194d0b0a3f
Convert map client routing files to TS (#76387)
* Converted maps_router and store operations files

* Converted files in map routes to typescript

* Removed an unwanted ts-expect-error

* Fixed the lint errors from jenkins

* Naming changes, type for mapStateJSON etc.

* More type fixes in map routes

* More type fixes in map routes

* Added back some removed props

* Added types to app state manager

* Autogenerated api documentation

* Type fixes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 15:51:28 -06:00
Wylie Conlon cb5979ad51
[Lens] Show field stats for IP fields and scripted fields (#76457)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 17:29:26 -04:00
Wylie Conlon 02233e740e
[Field formatters] Time suffix for duration formatter (#76729)
* [Field formatters] Time suffix for duration formatter

* Fix missing arg

* Fix test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 16:53:24 -04:00
Mikhail Shustov bcaffba12b
Remove legacy SavedObjects (#76852)
* remove legacy SO integration

* cleanup integration in the legacy platorm

* remove so schema

* update docs

* remove leftovers, update docs

* update docs after merge master
2020-09-08 22:01:31 +02:00
Paul Tavares bb2aa42e39
[SECURITY_SOLUTION][ENDPOINT] Fix created_by for Trusted Apps Create api to reflect current logged in user (#76557)
* Fix: use exceptionLists client from route handler context
* Adjust test to use `listMock`
* Remove exceptionListClient service from `EndpointAppContextService`
* Added UT for Trusted Apps to validate that ExceptionListClient from context is used

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 15:48:01 -04:00
Sandra Gonzales 851c125fc8
[Ingest Manager] install previous version of package if update fails (#76694)
* add InstallType and getInstallType helper

* rollback to previous version if update fails or unisntall if not an update

* fix pipelines from failed update not removing if update fails after installing pipelines and rolling back to previous version

* change type from enum to union, improve getInstallType, add ts-config comment

* throw error if no install type, update logging errors
2020-09-08 14:59:18 -04:00
Matthew Kime 842bcf4560
Index pattern save => Index pattern service (#76706)
* Index pattern save => Index pattern service
2020-09-08 12:59:02 -05:00
Melissa Alvarez 8bc6898c33
[ML] DF Analytics models list: persist pagination through refresh interval (#76695)
* ensure wizard error shows up correctly

* wip: switch to basic table for model management

* add selection and multi job action to models list

* update error extraction function

* use generic types in hook

* simplify filtered items
2020-09-08 13:57:10 -04:00
Caroline Horn b149a60554
Using new EUI globals files and importing Charts themes via SASS (#76821) 2020-09-08 13:50:22 -04:00
Shahzad a9adf1061c
Allow add alert Flyout initial values like name, tags (#76906) 2020-09-08 19:36:16 +02:00
Chris Roberson d2ad7ce151
[Monitoring] Read from metricbeat-* for ES node_stats (#76015)
* Read from metricbeat-* for node_stats

* Fix tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 13:10:52 -04:00
Nathan L Smith 11e7d825ad
Hook for breadcrumbs (#76736)
Remove `UpdateBreadcrumbs` and `ProvideBreadcrumbs` components and replace with `useBreadcrumbs` hook.

The logic and tests stay pretty much the same, but it's much clearer to see what's going on.

Also: 

* Put some of the shared route-related interfaces in /public/application/routes instead of /public/components/app/Main. I plan to move more of the routing-related code here in the future.
* Remove the `name` property for routes, since it wasn't being used.
* Rename `Breadcrumbroute` to `APMRouteDefinition`.

Part of #51963.
2020-09-08 11:24:12 -05:00
Mike Côté 075e75e2f7
Rename status API to instance summary (#76541)
* Rename status API to instance summary

* Remove unused translations

* Fix typos

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 11:53:21 -04:00
Justin Kambic 4afa2d633f
[Uptime] Modify router to use ScopedHistory (#76421)
* Remove hashbang and modify router to use ScopedHistory.

* Update test to conform to refactored API.

* Update test snapshots.

* Fix broken type check.

* Remove unneeded prop.

* Prevent full page reload for breadcrumbs.

* Fix outdated test.

* Fix type errors.

* Add default value for focusConnectorField url param.

* Make stringify function support focusFieldConnector empty values.

* Avoid unnecessary text in breadcrumb href.

* Refresh test snapshot.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 11:52:05 -04:00
Marta Bondyra 728dfb4b6b
[Lens] Update grouping editor to indicate the expected result of a grouping change (#76904) 2020-09-08 17:40:06 +02:00
Shahzad e827a6761e
[RUM Dashboard] Added rum core web vitals (#75685)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 17:19:48 +02:00
Daniil Suleiman caa4e0c11b
[TSVB/Markdown] Introduce formatted date field label (#75555)
* Introduce formatted date field label

* Apply changes

* Use default format if can't parse, add comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 17:20:51 +03:00
Nathan L Smith 0286c7f702
Replace uses of useUrlParams for path params (#76459)
Part of #51963.
2020-09-08 09:15:28 -05:00
James Rodewig e8803d86f4
[Ingest Pipelines] Add descriptions for ingest processors E-J (#76113)
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2020-09-08 10:01:47 -04:00
Angela Chuang 79d799c34c
[Security Solution] add unit test for host overview search strategy (#76917)
* add unit test for host overview search strategy

* fix types

* fix types

* fix unit test
2020-09-08 14:54:46 +01:00
Angela Chuang a06ade9364
add unit test for hosts (#76927) 2020-09-08 14:53:28 +01:00
Angela Chuang f351400cd8
[Security Strategy] add unit test for lastFirstSeen Search Strategy (#76911)
* add unit test for lastFirstSeen

* fix types

* fix unit test
2020-09-08 14:51:54 +01:00
Nathan L Smith ed5a2bd090
Remove useMatchedRoutes/MatchedRouteContext (#76788)
We're not using them.
2020-09-08 08:49:35 -05:00
Angela Chuang bc1c1d9749
add unit test for uncommon processes search strategy (#76893)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 14:42:58 +01:00
Cauê Marcondes dc28e0ec48
[APM] Trace timeline: Multi-fold function doesn't update when all accordions are collapsed or expanded (#76899)
* update outside state when expanding or collapsing the entry transaction

* reverting icons
2020-09-08 15:02:45 +02:00
Mikhail Shustov 2f1c0127e2
Deterministic output for doc types (#76890)
* disable incremental builds for public type generation.

They generate non-deterministic types https://github.com/microsoft/rushstack/issues/1958

* do not infer public types
2020-09-08 13:28:29 +02:00
Sonja Krause-Harder 39f8fc6b87
[Ingest Manager] Remove package cache on package uninstall (#76873)
* On uninstall, remove package from cache.

* Really remove package archive and contents from cache.

* Refactor

* move deletePackageCache to registry/index.ts
* clean up imports
2020-09-08 13:12:26 +02:00
Pierre Gayvallet f9d9538fc0
GS: use the request's basePath when processing server-side result urls (#76747) 2020-09-08 13:03:00 +02:00
Liza Katz 28c5f27513
[Search] Use async es client endpoints (#76872)
* Use ES Client asyncSearch

* Rename to queryOptions

* Simplify options

* Update jest test and use delete route

* Common async options
2020-09-08 12:34:40 +03:00
Jean-Louis Leysens eecb0e5922
fix empty string in selected indices (#76855) 2020-09-08 09:59:20 +02:00
Patryk Kopyciński 219d0b5eb4
[Security Solution] Refactor OverviewHost and OverviewNetwork to use Search Strategy (#76409) 2020-09-07 18:57:16 +02:00
Uladzislau Lasitsa 4788005227
Use Search API in Timelion (sync) (#75115)
* New Search API for timelion

* Using timeout from config

* Use only es strategy)

* Fixed remarks

* Fixed tests

* Fixed fixtures

* Fixed ci

* Fixed typecheck

* Fixed eslint

* Fixed remarks

* Fix changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 18:05:31 +03:00
Ahmad Bamieh 992f5cc86c
[telemetry] expose getIsOptedIn function in plugin start contract (#75143)
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
2020-09-07 17:28:01 +03:00
Yulia Čech a7d742abc3
[ILM] Clean up remaining js files and any typings (#76803)
* [ILM] Clean up remaining js files and any typings

* [ILM] Fix jest test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 16:16:20 +02:00
Alejandro Fernández Gómez 203f25645f
[Logs UI] Shared <LogStream /> component (#76262) 2020-09-07 16:08:27 +02:00
Angela Chuang 8556427038
[Security Solution] Add unit test for all hosts (#76752)
* add unit test for all hosts

* fix types

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 14:56:35 +01:00
Angela Chuang d16c239eb9
[Security Solution] Add unit test for authentications search strategy (#76665)
* add unit test for auth search strategy

* revert

* unit test for helper

* fix types

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 14:56:19 +01:00
Joe Reuter 8705ab8c7b
Do not apply search source data for tsvb (#75137) 2020-09-07 15:52:29 +02:00
Patryk Kopyciński 68a98385b9
[Security Solution] Refactor NetworkDns to use Search Strategy (#76250) 2020-09-07 14:17:30 +02:00
MadameSheema a66788eaf8
[SECURITY SOLUTION] Adds 'cypress:open-as-ci' command (#76125)
* adds 'cypress:open-as-ci' command

* fixes typecheck error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 13:26:41 +02:00
Kerry Gallagher ea47ff1f7b
[Logs UI] Update alert executor tests (#75764)
* Update executor unit tests
2020-09-07 11:46:56 +01:00
Stratoula Kalafateli 11be458be3
[Functional] Unskip vega tests and fix flakiness (#76600)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 13:40:13 +03:00
Marta Bondyra 5a1d0753c0
[Data] Query String Input accepts classname prop (#76848)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 12:18:27 +02:00
Dima Arnautov 05ac18a4a2
[ML] Swim lane pagination for viewing by job id (#76847) 2020-09-07 12:03:47 +02:00
Patryk Kopyciński f89bcfb783
[Security Solution] Refactor MatrixHistogram to use Search Strategy (#76603) 2020-09-07 11:48:15 +02:00
Cauê Marcondes 7f323a19bb
[APM] Use the outcome field to calculate the transaction error rate chart (#75528)
* replacing error rate to use event.outcome field

* addressing PR comment

* fixing api test

* fixing API test

* fixing api tests

* rmeoving snapshot from api test

* testing error rate

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 11:23:22 +02:00
Dario Gieselaar 113936a649
[APM] Use observer.hostname instead of observer.name (#76074) 2020-09-07 11:11:00 +02:00
Pierre Gayvallet b65c95a7d8
Legacy logging: fix remoteAddress being duplicated in userAgent field (#76751) 2020-09-07 09:57:10 +02:00