Commit graph

38070 commits

Author SHA1 Message Date
Nicolas Chaulet fed9a4fddc
[Fleet] Rename ingest_manager_api_integration tests fleet_api_integration (#83011) 2020-11-12 13:50:59 -05:00
gchaps 0e565bfd52
[DOCS] Updates Discover docs (#82773)
* [DOCS] Updates Discover docs

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* [DOCS] Incorporates review comments

* [DOCS] More changes based on edits

* [DOCS] Edits per lastest review

* [DOCS] Added redirects

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2020-11-12 09:43:45 -08:00
Melissa Alvarez 6519b83e48
[ML] Data frame analytics: Adds map view (#81666)
* add analytics map endpoint and server model

* add map action to job and models list

* wip:fetch models for jobs. Use url generator

* get models when extending node. deduplicate elements

* add job type icons. disable map action if job not finished.

* move shared const to common dir

* persist map tab. handle indexPattern from visualizer

* use url generator in models list

* temporarily disable delete action in flyout

* update legend style. make map horizontal

* update dfa model to use spaces changes

* format creation time

* update from indexPattern to index.remove refresh button

* handle index patterns with wildcard
2020-11-12 12:40:08 -05:00
Gidi Meir Morris 3151e7e5e4
enables actions scoped within the stack to register at Basic license (#82931)
Enables actions scoped within the stack to register at Basic license
2020-11-12 17:31:44 +00:00
Dima Arnautov 6e9177caac
[ML] Update apidoc config with the Trained models endpoints (#83274)
* [ML] fix apidoc annotations

* [ML] add trained models

* [ML] use full path to the apidoc-markdown package
2020-11-12 17:51:42 +01:00
Paul Tavares 1babb5f6bf
[Fleet] IngestManager Plugin interface for registering UI extensions (#82783)
* Expose `registerExtension()` interface on `Plugin#start`
* Refactor use of `CustomConfigurePackagePolicy` to the new registerExtension approach
* Refactor to always show registered ui extension (even if Integration has configuration options)
2020-11-12 11:44:15 -05:00
Gidi Meir Morris ab72206da3
[Alerting] Moves the Index & Geo Threshold UIs into the Stack Alerts Public Plugin (#82951)
This PR includes the following refactors:
1. Moves the Index Pattern Api from _Stack Alerts_ to the _Server_ plugin of _Trigger Actions UI_. This fixes a potential bug where a user could disable the _Stack Alerts_ plugin and inadvertently break the UI of the _ES Index _ action type.
2. Extracts the UI components for _Index Threshold_ and _Geo Threshold_ from the _Trigger Actions UI_ plugin and moves them into _Stack Alerts_.
2020-11-12 16:39:40 +00:00
John Schulz 208e86e66a
[Ingest Manager] Lift up registry/{stream,extract} functions (#83239)
## Summary

  * Move stream utility functions from `server/services/epm/registry/streams.ts` to `server/services/epm/streams.ts`
    * They're only used in registry at the moment but aren't specific to registry 
  * Move archive extraction functions from `server/services/epm/registry/extract.ts` to `server/services/epm/archive.ts`
    * The Registry isn't the only service/code which needs to extract packages. Continue consolidating archive-related code under archive vs registry
2020-11-12 11:05:17 -05:00
Tim Sullivan 4932dc55a6
[Reporting] Move "common" types and constants to allow cross-plugin integration (#83198) 2020-11-12 08:58:05 -07:00
Joe Reuter f1f26729be
[Lens] Add suffix formatter (#82852) 2020-11-12 16:49:47 +01:00
Constance bd99b19bd8
[App Search] Version documentation links (#83245)
* Fix CURRENT_MAJOR_VERSION for use in Elastic docs links

- Was previously just sending (e.g.) "7". instead of "7.9"

* Add App Search DOCS_PREFIX constant

- follow WS's example

* Update all App Search doc links to use prefixed URLs

- except for Enterprise Search setup guide, which should be updated to use a shared URL at some point in any case
2020-11-12 07:42:41 -08:00
Anton Dosov eaa65535ed
Use saved object references for dashboard drilldowns (#82602) 2020-11-12 15:54:55 +01:00
Bohdan Tsymbala 58ad7ecd5a
Btsymbala/registered av (#81910)
* Moved out type for OperatingSystem and moved OS translations one level higher.

* Changed the translation to be consistent between trusted apps and policy.

* Unified translations of OS types between trusted apps and policy.

* Removed unused types.

* Added registered AV form section.

* Changed the property structure to match the format expected by endpoint.

* Fixed the visual alignment of titles in the form and added responsiveness.

* Updated snapshots.

* Moved out type for OperatingSystem and moved OS translations one level higher.

* Added config form heading component.

* Cleaned up translations.

* Fixed type error with initialization.

* Fixed error in trusted app creation form test.

* Removed the guard for now in favour of better initialization.

* Fixed the store test.

* Fixing functional test data.

* Added functional test config option to account for a custom header within security app.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-12 15:53:53 +01:00
Dario Gieselaar afbf1a983a
[APM] Errors table for service overview (#83065) 2020-11-12 15:49:22 +01:00
Maja Grubic 55519665d6
[Advanced Settings] Introducing telemetry (#82860)
* [Advaned Settings] Introducing telemetry

* Publishing doc changes

* Move metric tracking to onSave method

* Adding deprecated warning

* Updating docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-12 14:38:07 +00:00
Patrick Mueller c3e57943ad
[alerts] add executionStatus to event log doc for action execute (#82401)
resolves https://github.com/elastic/kibana/issues/79785

Until now, the execution status was available in the the event
log document for the execute action.  In this PR we add it.

The event log is extended to add the following fields:

- `kibana.alerting.status` - from executionStatus.status
- `event.reason`           - from executionStatus.error.reason

The date from the executionStatus and start date in the event
log will be set to the same value.

Previously, errors encountered while trying to execute an
alert executor, eg decrypting the alert, would not end up
with an event doc generated.  Now they will.

In addition, there were a few places where events that could
have had the action group in them did not, and one where the
instance id was undefined - those were fixed up.
2020-11-12 09:32:22 -05:00
Scotty Bollinger 35656b9921
Add additional sources routes (#83227)
These were missed in #83125
2020-11-12 08:28:35 -06:00
Dima Arnautov 169dcef2bf
[ML] Persisted URL state for the "Anomaly detection jobs" page (#83149)
* [ML] table config in the URL state

* [ML] fix job list on the management page

* [ML] store query filter in the URL

* [ML] fix context for the management page

* [ML] update module_list_card.tsx in Logs UI

* [ML] fix unit tests

* [ML] fix unit tests

* [ML] fix unit tests

* [ML] move utils functions

* [ML] url generator to support both job and group ids
2020-11-12 15:16:23 +01:00
Alejandro Fernández Gómez 0e7bcf6164
[Logs UI] Add pagination to the log stream shared component (#81193)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-12 15:11:43 +01:00
Yulia Čech 3a849ff104
[Index Management] Add an index template link to data stream details (#82592)
* Add index template link to data stream details

* Fixed ILM policy link and added a check for index template name after navigation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-12 15:05:08 +01:00
Thomas Neirynck 4d346cdfc0
Add maps_oss folder to code_owners (#83204) 2020-11-12 09:04:08 -05:00
Anton Dosov b8576ed2dd
fix truncation issue (#83000) 2020-11-12 13:13:35 +01:00
John Schulz 4721b3211a
[Ingest Manger] Move asset getters out of registry (#83214)
## Summary
Packages/Archives aren't limited to the registry any longer.  Continue moving file- & cache-related functions from services/registry to services/archive.

Move `getAsset` and `pathParts` to archive/index. The behavior is the same for now, but it's more accurate to separate these from registry namespace.

Registry has `fetch*` and other functions for dealing with the online service.
2020-11-12 05:47:43 -05:00
Thomas Watson 5a91818baa
Remove unused asciidoc file (#83228) 2020-11-12 10:11:48 +01:00
Marta Bondyra 268bd09543
[Lens] Remove background from lens embeddable (#83061) 2020-11-12 09:09:28 +01:00
Matthias Wilhelm b44a0e5b02
[Discover] Unskip flaky tests based on discover fixture index pattern (#82991) 2020-11-12 05:45:17 +01:00
kobelb 6f1fa74897 Removing unnecessary trailing slash in CODEOWNERS 2020-11-11 16:54:46 -08:00
Brandon Kobel 52c2416d9d
Trying to fix CODEOWNERS again, where was a non-existent team prior (#83236) 2020-11-11 16:16:04 -08:00
Brandon Kobel 5a9c456088
Trying to fix CODEOWERS, missing a starting slash (#83233) 2020-11-11 16:05:27 -08:00
spalger 8bd2809bb7 skip flaky suite (#83231) 2020-11-11 16:59:25 -07:00
Constance c27422fdc8
Add enzyme rerender test helper (#83208)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-11 15:43:47 -08:00
Nathan L Smith bc2da67608
Move Elasticsearch type definitions out of APM (#83081)
...and into x-pack.

Also remove `PromiseReturnType` from APM and use the copy in observability everywhere.

All of the additional changes to APM imports are just automatic sorting.

This makes doing #77720 a little easier and removes some implicit circular dependencies for #80508.

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2020-11-11 16:23:34 -06:00
Spencer 2f26eaf87c
[ts/checkTsProjects] produce a more useful error message (#83209)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-11-11 15:09:45 -07:00
Spencer 5e06f43adf
[kbnClient] retry updating config if necessary (#83205)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-11-11 14:51:10 -07:00
Stacey Gammon 3d665ef7b2
I accidentally removed this line in a recent PR (#83201) 2020-11-11 16:36:10 -05:00
John Schulz 2d3261fc44
Don't make the caller do work the function can do (#83180) 2020-11-11 15:20:04 -05:00
Constance e6070782d6
[App Search] Update EngineRouter & EngineNav to use EngineLogic (#83138)
* Add server-side route

* Add EngineRouter logic
- useEffect init
- redirect/data loading
- setQueuedErrorMessage helper

* Add EngineNav logic
- logic values
- icon alerts

- update tests w/ real conditional testing
+ remove use of mount, mount combined with shallow_useeffect leads to weirdness

* Split out EngineRouter and EngineNav into separate files

* [PR feedback] More explicit test cases
2020-11-11 11:57:52 -08:00
Scotty Bollinger 877853add0
[Workplace Search] Add routes for Sources (#83125)
* [Workplace Search] Consolidate groups routes

This PR consolidates all of the groups route resgistration functions into a single export so that the `registerWorkplaceSearchRoutes` function only has to call the top-level routes

* Remove redundant test

* [Workplace Search] Add routes for Sources
2020-11-11 12:46:35 -06:00
Jay Modi b460414489
Update logstash pipeline management to use system index APIs (#80405)
This change updates the logstash pipeline management plugin to use
pipeline management APIs in Elasticsearch rather than directly
accessing the .logstash index. In Elasticsearch 8.0, direct access to
system indices will no longer be allowed when using standard APIs.
Given this change, a new set of APIs has been created specifically for
the management of Logstash pipelines and this change makes use of the
APIs.

Co-authored-by: Kaise Cheng <kaise.cheng@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

ES:#53350
LS:#12291
2020-11-11 19:00:31 +01:00
Quynh Nguyen af51394986
[ML] Replace EuiBasicTable with EuiInMemoryTable (#83057) 2020-11-11 11:30:30 -06:00
Phillip Burch 88312d83a4
[Metrics UI] Add basic interaction and shell for node details overlay (#82013)
* Add basic interaction and shell for node details overlay

* Fix typecheck

* Remove context menu tests because context menu doesn't exist

* Remove outdated tests

* Remove unused variable

* Show the old overlay by default

* Fix typecheck

* Fix typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-11 11:19:00 -06:00
Jason Stoltzfus 83b52bfd38
[App Search] Added the log retention confirmation modal to the Settings page (#83009) 2020-11-11 11:46:14 -05:00
Nathan Reese 01daf28e75
[docs] Fix create map title in import geospatial page (#83172) 2020-11-11 09:26:45 -07:00
Joe Reuter be66841f2d
[Lens] Enable other bucket for top values operation (#82704) 2020-11-11 17:18:15 +01:00
Kaarina Tungseth 7fc5d1d9a5
[DOCS] Fixes handlebar links in URL drilldowns (#83177)
* [DOCS] Fixes handlebar links in URL drilldowns

* And another one
2020-11-11 09:59:23 -06:00
Paul Tavares 1fff1f6bca
[Fleet] Refactor Integration Package Details view navigation links to tabbed interface (#83116) 2020-11-11 10:56:31 -05:00
Ryan Keairns 352a65507f
Change left nav category name to Analytics (#83132)
* Change left nav category name to Analytics

* update snapshot

* update x-pack snapshot

* remove existing default translations
2020-11-11 09:55:15 -06:00
Sébastien Loix 244ce85fb4
[Index management] Fix test in index template wizard (#83150) 2020-11-11 15:51:58 +01:00
Jean-Louis Leysens 9038e5c397
[Grokdebugger] Fix simulate error handling (#83036)
* Fix detection of 4xx errors in grokdebugger simulate endpoint

- removed code to call simulate endpoint from "KibanaFramework"
- fixed throwing of string value
- using new elasticsearch client instead of legacy
- handle error with shared error handling logic

* added deprecation notice to register route on KibanaFramework

* remove deprecation notice
2020-11-11 15:43:17 +01:00
Dima Arnautov c32215d7ff
[ML] Fix apiDocs extractor script (#82582)
* [ML] fix serializer script

* [ML] fix extractor

* [ML] bump apiDoc version

* [ML] update yarn.lock
2020-11-11 15:42:53 +01:00