Commit graph

2441 commits

Author SHA1 Message Date
Shahzad 2ce344019a
Add text search mode in global kuery bar (#91814)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 10:37:56 +01:00
Aleh Zasypkin 8e2bd8f69f
Simplify anonymous access & embedding docs. (#90409) 2021-02-23 08:56:56 +01:00
Nathan L Smith 6ad09a856a
Change "whitelist" to "allowlist" on alerting getting started (#92260) 2021-02-22 21:00:45 -06:00
Nathan L Smith 84e16ebcd0
Pluralize "alerts" (#92261) 2021-02-22 21:00:08 -06:00
Alison Goryachev 76f8dbbd4a
[Console] Update docs (#92240) 2021-02-22 20:44:39 -05:00
Liza Katz b1d76cedac
Fix track total hits not sent correctly from SearchSource (#91909)
* Move track total hits to root level

* code review

* doc
2021-02-22 23:05:32 +02:00
ymao1 192f19e30c
[Alerting][Docs] Updating docs for notify only on action group change (#92084)
* Updating docs for notify only on state change

* PR fixes

* Update docs/user/alerting/defining-alerts.asciidoc

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-02-22 11:39:48 -05:00
Mike Côté 0c2495a7e1
Ability to filter alerts by string parameters (#92036)
* Initial commit

* Update comment

* Return early

* Add docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 10:57:50 -05:00
Pierre Gayvallet eed5f72b1a
Implement ScopedHistory.block (#91099)
* implements ScopedHistory.block

* add FTR tests

* fix test plugin id

* update generated doc

* deprecates AppMountParameters.onAppLeave

* typo fix

* add new FTR test

* fix added test
2021-02-22 12:27:07 +01:00
Jonathan Budzenski 126ce49446
[docker] Default server.name to hostname (#90799)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 15:01:51 -06:00
Lisa Cawley a6a567f476
Use documentation link service for snapshot restore (#91596)
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2021-02-19 11:56:09 -08:00
Brandon Morelli 857300b147
docs: update dependencies table bug (#91964) 2021-02-19 09:51:10 -08: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
Joe Reuter bf7fdfc87c
[Lens] Pass used histogram interval to chart (#91370) 2021-02-19 11:30:40 +01: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
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
Sébastien Loix eddf1c94b1
Index pattern field editor (#88995)
Index pattern field editor
2021-02-18 12:00:43 -06: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
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
Walter Rafelsberger 2bb2629fec
[ML] Transforms: Adds missing bucket checkbox to group by popover form. (#91650)
Adds missing bucket checkbox to group by popover form.
2021-02-18 01:54:39 +01:00
gchaps 2037c1b7b1
[DOCS] Fixes section for adding data (#91728) 2021-02-17 16:42:47 -08:00
ymao1 88ac3bf541
[Actions][Docs] Actions and Connectors API Docs (#90974)
* Stubbing out asciidocs

* wip

* Finishing connector API docs

* Cleanup

* Removing experimental label

* PR fixes

* PR fixes

* PR fixes
2021-02-17 13:43:25 -05:00
gchaps 9ec1aa3ad3
[DOCS] Restructures introduction doc (#91595)
* [DOCS] Restructures introduction doc

* [DOCS] Minor tweaks to introduction

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-02-17 09:53:07 -08:00
Liza Katz 98bd8e0211
Report telemetry for autocomplete (#91428)
* Report telemetry about autocomplete
* error cound
* position of selected suggestion
* length of query used to generate the suggestions

Also added a couple if handly telemetry events:
* query language switch
* filter bar bulk actions

* Fix ts

* Report the value suggestions funnel

* docs

* docs

* fix jest

* test

* code review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-17 14:41:15 +02:00
István Zoltán Szabó 26f088970e
[DOCS] Adds machine learning to the security section of alerting (#91501) 2021-02-17 12:11:48 +01:00
Stratoula Kalafateli c9f7c2e77b
[Vislib] Use timestamp on brush event instead of iso dates (#91483)
* [Vislib] Use timestamp on brush event instead of iso dates

* Fix functional test and update documentation

* Update documentation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-17 12:35:55 +02:00
Matthias Wilhelm 673b0e98ba
[Discover][docs] Add searchFieldsFromSource description (#90980)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-02-17 08:42:54 +01:00
Mikhail Shustov 312351c52c
Unify Kibana & Elasticsearch logging config keys (#90764)
* align logging config with ES. rename kind to type.

* rename file "path" to "fileName"

* rename logger "context" to "name"

* update audit log docs and tests

* update docs

* fix integration tests

* update deprecations for audit appender

* add tests for audit logging deprecations

* fix eslint problem

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 20:27:25 +01:00
Wylie Conlon d4f3420b41
[Docs] Clarify KQL and Lucene docs (#91065)
* [Docs] Clarify KQL and Lucene docs

* Code review suggestions
2021-02-16 13:06:25 -05:00
Matthew Kime 5f500a3c69
Improved painless error toasts (#91346)
* better painless error modal
2021-02-16 10:47:30 -06:00
Wylie Conlon be17efd704
[Docs] Add note about TSVB axis scaling (#91211)
* [Docs] Add note about TSVB axis scaling

* Apply suggestions
2021-02-16 11:40:22 -05:00
Gidi Meir Morris 3a05b681ae
[Docs][Alerting] fixed link to TM settings (#91368)
Fixed link to TM settings doc
2021-02-16 14:49:07 +00:00
Lukas Olson f06e722a99
[Search Sessions] Search session UI telemetry (#89950)
Co-authored-by: Liza K <liza.katz@elastic.co>
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-02-16 11:28:13 +01:00
Vadim Dalecky 8ed1c3ca3e
Url template editor (#88577)
* feat: 🎸 set up Storybook for URL template editor

* feat: 🎸 add basic syntax highlighting

* feat: 🎸 add autocompletion example

* feat: 🎸 add Handlebars language

* fix: 🐛 first register language

* feat: 🎸 add url and handlebars language parsing

* feat: 🎸 use simple Handlebars language

* refactor: 💡 move <VariablePopover> to a separate file

* feat: 🎸 add Monaco editor to URL drilldown

* feat: 🎸 remove editor line numbers

* feat: 🎸 allow user to provide Handlebars variables

* feat: 🎸 wire in URL drilldown variables into Monaco editor

* feat: 🎸 add metadata to event level variables

* feat: 🎸 allow to specify Handlebars variable kind

* feat: 🎸 add global variables to autocompletion

* refactor: 💡 restructure event and context variable code

* feat: 🎸 sort variables by scope group

* feat: 🎸 add meta information to context variables

* docs: ✏️ use correct variable labels

* feat: 🎸 fix component demo props

* feat: 🎸 improve highlighting of URL parts

* feat: 🎸 improve syntax highlighting colors

* feat: 🎸 improve highlighting colors

* feat: 🎸 add color to url query parameter key

* feat: 🎸 improve visual layout url editor

* feat: 🎸 highlight URL slashes with light color

* feat: 🎸 connect URL editor to state

* feat: 🎸 tweak URL parameter colors

* feat: 🎸 improve URL schema color

* feat: 🎸 insert variables on click in variable dropdown

* fix: 🐛 fix unit tests and translation

* test: 💍 fix drilldown tests after refactor

* feat: 🎸 add dark mode support to URL template editor

* test: 💍 fix URL drilldown test after adding dark mode support

* fix: 🐛 use text color which can be converted to dark mode

* test: 💍 fill in URL template in monaco editor

* fix: 🐛 fix translation key

* chore: 🤖 update license headers

* chore: 🤖 update license headers

* feat: 🎸 preview values of global variables

* feat: 🎸 preview values of context variables

* chore: 🤖 fix url editor Storybook config

* fix: 🐛 make translation key unique

* feat: 🎸 stop Esc key propagation in URL editor

* feat: 🎸 reduce editor height

* feat: 🎸 set example URL once URL drilldown is created

* feat: 🎸 add word wrapping to URL editor

* feat: 🎸 use EUI variable in SCSS

* feat: 🎸 add "Example: " prefix to default template

* feat: 🎸 do not insert extra brackets

* feat: 🎸 make URL param values same color as text

* perf: ️ make URL drilldown config component lazy loaded

* test: 💍 remove default URL drilldown template

* fix: 🐛 disable autocompletion popup while typing

* style: 💄 don't use "Example: " prefix in default URL
2021-02-15 18:24:58 +01:00
Ahmad Bamieh c1d1b2b453
[Saved Objects] Allow exporting and importing hidden types (#90178)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-14 19:05:36 +02:00
Joe Portner 5c3c3efdd8
Sharing saved objects, phase 2.5 (#89344) 2021-02-13 04:28:35 -05:00
Alexey Antonov 644bcbccd4
[Vega] Restores signal values on refresh (#90774)
* Vega kibanaAddFilter() Resets Signal Values Back to Default

Closes: #88976

* fix ci

* introduce restoreSignalValuesOnRefresh option

* update docs
2021-02-12 10:55:38 +03:00
Devon Thomson 7994e87cd7
[Time to Visualize] Clear All Editor State when Visualize Listing Page Loads (#91005)
* Changed the embeddable state transfer service so that it is possible to clear all editor state at once. Used that method in the visualize listing page
2021-02-11 23:23:14 -05:00
Devon Thomson 6e8622fadb
[Time to Visualize] Copy Panel to Dashboard (#90856)
* Added copy to dashboard action
2021-02-11 17:15:30 -05:00
Luke Elmers 7fc3d125bf
Support pit and search_after in server savedObjects.find (#89915) 2021-02-11 14:58:08 -05:00
István Zoltán Szabó b81967e4d4
Uses doc link service in Painless lab (#90433)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 17:37:10 +01:00
Gidi Meir Morris 4834de661e
[Alerting][Docs] adds documentation on NTP based synchronization (#90747)
Adds docs on usage of NTP to sync nodes in a prod setting for alerting.
2021-02-11 10:36:07 +00:00
Anton Dosov 9ab5bcb141
[Search Session] Control "Kibana / Search Sessions" management section by privileges (#90818) 2021-02-11 04:33:32 -05:00
Pierre Gayvallet 570dcc07b5
Implement custom global header banner (#87438)
* first draft

* update plugin list

* fix tsproject

* update bundle limits file

* remove unused start dep

* adapt imports

* POC of footer banner

* update styles, mostly

* plug banner to uiSettings

* adding some unit tests

* add tests on sort_fields

* cleanup sums in sass mixins

* some self review stuff

* update generated doc

* add tests for color field

* update chrome header test snapshots

* retrieve license info from the server

* switch from uiSettings to plugin config

* update plugin list description

* update default colors

* NIT

* add markdown support

* fix banner overlap in fullscreen mode

* change banner height to 32px

* change banner's font size to 14

* delete unused uiSettings
2021-02-11 10:12:24 +01:00
Brandon Kobel 8c4af6fc5e
Removing the code plugin entirely for 8.0 (#77940)
* Removing the code app entirely for 8.0

* Updating plugin list docs

* Using a test plugin for the code_coverage integration tests

* Fix borked test.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tre' Seymour <wayne.seymour@elastic.co>
2021-02-10 18:32:29 -05:00
gchaps b18e4ec9b8
[DOCS] Uses variable to refer to query profiler (#90976) 2021-02-10 13:05:33 -08:00
Jonathan Budzenski ec8305baa7
[docs] Include setup instructions for environment variable KBN_PATH_CONF (#90794) 2021-02-10 10:01:49 -06:00
Christiane (Tina) Heiligers 646732f96d
[core.logging] Uses host timezone as default (#90368)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 19:49:53 -05:00
Nathan Reese 1ba7d7af9a
[Maps] remove maps_file_upload plugin and fold public folder into file_upload plugin (#90292)
* get geojson working with api/file_upload/import

* remove maps_file_upload server code

* remove common folder

* remove maps_file_upload plugin

* fix tsconfig paths

* rename file_upload plugin in maps tsconfig

* fix file path

* node scripts/build_plugin_list_docs

* fix webpack compile errors

* telemetry schema cleanup, i18n cleanup, limits cleanup

* remove mapsFileUpload from limits.yml

* remove index pattern link test case

* update telemetry/v2/clusters/_stats for new file_upload path

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 17:31:57 -07:00
Spencer de3f4aa419
[docs/ci-stats] describe new metrics files (#90711)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-09 13:21:29 -07:00
ymao1 5f8de693b9
[Alerting] Configurable number of hits for ES query alert (#90089)
* Adding size parameter to ES query alert

* Can't use const inside validation

* Updating docs

* Fixing functional test

* License

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 14:07:53 -05:00
Alexey Antonov 19543d8d3c
[Vega] user should be able to set a specific tilemap service using the mapStyle property (#88440)
* [Vega] user should be able to set a specific tilemap service using the mapStyle property

* Update vega-reference.asciidoc

* fix PR comments

* rename mapStyle -> emsTileServiceId

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 13:51:12 +03:00
Kaarina Tungseth 7a2b7550c9
[DOCS] Fixes Dashboard formatting (#90485)
* [DOCS] Fixes Dashboard formatting

* Fixes the semi-structured search example

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2021-02-08 15:10:23 -06:00
Devon Thomson 31a3ec5934
[Time To Visualize] Make State Transfer App Specific (#89804)
* made state transfer app specific
2021-02-08 15:31:09 -05:00
Lisa Cawley 14d41c1952
[DOCS] More cleanup in developer docs (#90506) 2021-02-08 07:47:36 -08:00
Aaron Caldwell 5176aa6bc7
Update geo alerting docs to just cover geo containment (#90480) 2021-02-08 07:51:45 -07:00
Pierre Gayvallet 3b3327dbc3
Migrate most plugins to synchronous lifecycle (#89562)
* first pass

* migrate more plugins

* migrate yet more plugins

* more oss plugins

* fix test file

* change Plugin signature on the client-side too

* fix test types

* migrate OSS client-side plugins

* migrate OSS client-side test plugins

* migrate xpack client-side plugins

* revert fix attempt on fleet plugin

* fix presentation start signature

* fix yet another signature

* add warnings for server-side async plugins in dev mode

* remove unused import

* fix isPromise

* Add client-side deprecations

* update migration examples

* update generated doc

* fix xpack unit tests

* nit

* (will be reverted) explicitly await for license to be ready in the auth hook

* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"

This reverts commit fdf73feb

* restore await on on promise contracts

* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"

This reverts commit fdf73feb

* Revert "restore await on on promise contracts"

This reverts commit c5f2fe51

* add delay before starting tests in FTR

* update deprecation ts doc

* add explicit contract for monitoring setup

* migrate monitoring plugin to sync

* change plugin timeout to 10sec

* use delay instead of silence
2021-02-08 10:19:54 +01:00
Patrick Mueller e221992da3
[actions] improve email action doc (#90020)
resolves https://github.com/elastic/kibana/issues/88333

Fixed:

- add note that `secure: false` will use TLS, but after an initial connection
  with TCP; we have been getting questions from customers who believed that
  `secure: false` implied TLS was not used at all.

- added a link to the nodemailer "well-known services" module, to allow
  customers to see examples of other email service configurations

- updated the Outlook config example to use the current nodemailer values

- couple of other small tweaks
2021-02-07 19:11:45 -05:00
Rudolf Meijering fd1d965039
Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)" (#89992)
* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)""

This reverts commit f97958043f.

* Fix flaky saved objects management test #89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-06 18:45:20 +01:00
liza-mae befe41067e
[Docs] Update reporting troubleshooting for arm rhel/centos (#90385)
* Update reporting document

* Move to own section

* Remove extra line
2021-02-05 15:06:15 -07:00
Steph Milovic fc516bacbd
[index patterns] Add pattern validation method to index patterns fetcher (#90170) 2021-02-05 14:13:51 -07:00
Lisa Cawley 6c7c936e00
[DOCS] Update more installation details (#90469) 2021-02-05 10:44:16 -08:00
Aaron Caldwell 5dee629a6d
GA Geo containment alerts. Remove Geo containment alert experimental config settings and refs (#90301) 2021-02-05 10:22:23 -07:00
Lisa Cawley 5d9b84ff75
[DOCS] Clean up text (#90359) 2021-02-05 09:16:28 -08:00
Kent Marten da9c4a89e7
[maps] Top hits per entity--change to title to use recent, minor edits (#89254)
* [maps] Top hits per entity--change to title to use recent, minor edits

* Updated TopHitsPerEntity title and description to use the term relevant

* updating top hits per entity topic to new title

Co-authored-by: Kent Marten <kmartastic@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-04 15:43:03 -08:00
Lisa Cawley 9a3977d66e
[DOCS] Update installation details (#90354) 2021-02-04 15:38:44 -08:00
Nick Peihl 35fd85b8fa
Elastic Maps Server config is host not hostname (#90234)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-04 14:16:30 -08:00
Lisa Cawley 0ef276dce1
Use doc link service in more Stack Monitoring pages (#89050)
Co-authored-by: igoristic <igor.zaytsev.dev@gmail.com>
2021-02-04 11:44:57 -08:00
Luke Elmers 72670ebc77
[core.logging] Add response logs to the KP logging system. (#87939) 2021-02-04 06:05:06 -07:00
Anton Dosov 84a67a44d1
fix adding Visualize visualization to dashboard from modal directs user to dashboard listing page (#90090) 2021-02-03 17:48:07 +01:00
Lukas Olson a9273ca001
[data.search] Add search session methods to search service contract (#87966)
* [data.search] Add search session methods to search service contract

* Fix types

* Fix tests and switch to cancel

* Update docs

* Fix types/tests

* Fix tests

* Update status of SO before cancelling search requests

* Add API integration test

* Fix types

* Update expiration route to use config defaultExpiration

* Fix test

* Update docs

* New logic for extend

* Remove declare module

* Review feedback

* fix ts

* Remove test that is no longer valid

* Fix undefined bug

* Use DataRequestHandlerContext in maps

* ts

Co-authored-by: Liza K <liza.katz@elastic.co>
2021-02-03 08:08:54 -07:00
Joe Reuter f4ebdf3a79
[Lens] Export nested types (#89868) 2021-02-03 12:03:55 +01:00
Peter Pisljar 8f70c52180
cleaning up tabify to return Datatable (#89857) 2021-02-03 11:47:24 +01:00
István Zoltán Szabó d560b1ccc8
[DOCS] Uses doc link service in discover (#88835)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
2021-02-03 08:53:57 +01:00
Tim Sullivan ad67ee551e
[SearchSource] Combine sort and parent fields when serializing (#89808)
* [SearchSource] Combine sort and parent fields when serializing

* fix docs

* add link to issue
;

* fix destructive recursion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-02 10:15:13 -07:00
Nathan Reese d601090ec8
[ml] migrate file_data_visualizer/import route to file_upload plugin (#89640)
* migrate file_upload plugin to maps_file_upload

* update plugins list

* migrate ml import endpoint

* migrate ml telemetry to file_upload plugin

* add fileUpload plugin to ml

* add TS project

* update ML to use file_upload endpoint

* move types to file_upload plugin

* ignore error

* clean up

* i18n clean-up

* remove schemas from ml

* remove usageCollection from ml

* node scripts/build_plugin_list_docs

* update telemety collector

* revert changes to ingestPipeline schema

* change name of TELEMETRY_DOC_ID to unique value

* remove ImportFile from ml/server/routes/apidoc.json

* fix typo in x=pack/tsconfig.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-02 09:55:09 -07:00
Brandon Morelli f91d7bf188
docs: APM 7.11 updates (#89789) 2021-02-01 17:03:14 -08:00
spalger f97958043f Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)"
This reverts commit 03636a07fe.
2021-02-01 17:46:45 -07:00
Lukas Olson 29e3886bcd
[data.search] Allow search response to follow new hits format (#88115)
* [data.search] Allow search response to follow new hits format

* Update docs

* Fix types

* Fix types

* Doc updates

* Remove declare module

* Remove declare module

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-01 17:06:32 -07:00
Kent Marten 2b0053ab6f
[Maps] Change 'create multi-layer map' title to be use-case focused (#89520)
* [maps] Top hits per entity--change to title to use recent, minor edits

* Updated TopHitsPerEntity title and description to use the term relevant

* Change create multi-layer map tutorial title to be use-case driven

* reverting change to TopHits topic

* Updated title of getting started with maps tutorial

* Updated title of getting started with maps tutorial

Co-authored-by: Kent Marten <kmartastic@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-01 16:02:20 -08:00
Josh Dover 19332c097a
Deprecate and remove usages of elasticsearch.logQueries (#89296)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-01 08:40:25 -07:00
Rudolf Meijering 03636a07fe
Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)
* Migrations V2 on by default

* esArchiver delete migrations v2 indices

* Fix saved_objects_management api_integration tests

* Try to fix v2 migrations for pre-release builds

* esArchiver delete auto-created v2 migration indices like .kibana_8.0.0

* Try to fix v2 migrations for pre-release builds

* Use require_alias to prevent auto-created saved objects index

* Wrap SO routes until core logs all internal errors

* Fix api_integration tests requiring an empty kibana index

* Delete corrupt saved object from lens archives

* Update docs

* Fix ui_settings tests

* Fix core jest tests

* Fix type errors

* Fix accessibility tests

* Fix plugin functional tests

* Fix api_integration tests after merging in master

* Fix plugin functional tests #2

* EsArchiver: Don't reset ui settings after the .kibana index was deleted

* Fix functional management/visualize tests

* Fix oss security functional tests

* EsArchiver clean task manager indices to fix alerting api integration tests

* migrationsv2 correctly handle unknown saved object type mappings

* Revert "Try to fix v2 migrations for pre-release builds"

This reverts commit a1a1567501.

* Revert "Try to fix v2 migrations for pre-release builds"

This reverts commit a9a935558c.

* Re-enable v2 migrations in tests after merging in master

* Try to fix async dashboard functional test

* Restore UiSettings defaults after emptyKibanaIndex()

* Review feedback: rename test to match behaviour
2021-02-01 15:46:16 +01:00
Liza Katz 841ab704b8
[Search Sessions] Improve search session errors (#88613)
* Detect ESError correctly
Fix bfetch error (was recognized as unknown error)
Make sure handleSearchError always returns an error object.

* fix tests and improve types

* type

* normalize search error response format for search and bsearch

* type

* Added es search exception examples

* Normalize and validate errors thrown from oss es_search_strategy
Validate abort

* Added tests for search service error handling

* Update msearch tests to test for errors

* Moved bsearch route to routes folder
Adjusted bsearch response format
Added verification of error's root cause

* Align painless error object

* eslint

* Add to seach interceptor tests

* add json to tsconfig

* docs

* updated xpack search strategy tests

* oops

* license header

* Add test for xpack painless error format

* doc

* Fix bsearch test potential flakiness

* code review

* fix

* code review 2

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-31 12:16:46 +02:00
Lukas Olson d7b1cbbed5
[data.search.searchSource] Add fetch$ observable for partial results (#89211)
* [data.search.searchSource] Add fetch$ observable for partial results

* Fix mocks & add tests

* Update docs

* Update docs

* Review feedback
2021-01-29 10:01:35 -07:00
Rudolf Meijering f732b2c3c5
Fix rendering of Saved object indices and aliases per {kib} version table (#89700)
Collapsing rows and applying vertical alignment doesn't work well when published to the docs website. So I removed the last column.
2021-01-29 15:59:17 +01:00
ymao1 049135192e
[Alerting] Search alert (#88528)
* Adding es query alert type to server with commented out executor

* Adding skeleton es query alert to client with JSON editor. Pulled out index popoover into component for reuse between index threshold and es query alert types

* Implementing alert executor that performs query and matches condition against doc count

* Added tests for server side alert type

* Updated alert executor to de-duplicate matches and create instance for every document if threshold is not defined

* Moving more index popover code out of index threshold and es query expression components

* Ability to remove threshold condition from es query alert

* Validation tests

* Adding ability to test out query. Need to add error handling and it looks ugly

* Fixing bug with creating alert with threshold and i18n

* wip

* Fixing tests

* Simplifying executor logic to only handle threshold and store hits in action context

* Adding functional test for es query alert

* Types

* Adding functional test for query testing

* Fixing unit test

* Adding link to ES docs. Cleaning up logger statements

* Adding docs

* Updating docs based on feedback

* PR fixes

* Using ES client typings

* Fixing unit test

* Fixing copy based on comments

* Fixing copy based on comments

* Fixing bug in index select popover

* Fixing unit tests

* Making track_total_hits configurable

* Fixing functional test

* PR fixes

* Added unit test

* Removing unused import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 07:45:00 -05:00
Clint Andrew Hall 55afba4a4d
Setting up and documenting Presentation Util (#88112) 2021-01-28 17:15:13 -06:00
gchaps b0f4c9831e
[DOCS] Updates intro doc (#88376)
* [DOCS] Updates intro doc

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* Update docs/user/introduction.asciidoc

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

* [DOCS] Incorporates review comments

* [DOCS] Add links to Security views

* [DOCS] Minor tweaks to improve the flow of the doc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 11:36:04 -08:00
Thomas Neirynck 7593cf7ea5
[Vega] use %type% in docs (#89453) 2021-01-28 11:04:23 -05:00
ncheckin caed606fbd
Update redirects.asciidoc (#84719)
* Update redirects.asciidoc

* Update docs/redirects.asciidoc

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

* Update docs/redirects.asciidoc

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

* Update docs/redirects.asciidoc

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

* Update docs/redirects.asciidoc

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

* Update docs/redirects.asciidoc

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

* Update docs/redirects.asciidoc

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

* Update docs/redirects.asciidoc

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

* Update redirects.asciidoc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-01-28 09:19:18 -06:00
Pierre Gayvallet ec8738a060
add synchronous config access API (#88981)
* add synchronous config accessor

* add `config.get` to plugin context and add tsdoc

* remove useless markAsHandled calls

* fix mocks

* update generated docs

* fix unit tests

* add sync accessor for legacy config
2021-01-28 11:52:38 +01:00
Anton Dosov 07b210e42d
[Search Sessions] Improve session restoration back button (#87635) 2021-01-28 09:54:26 +01:00
Alexey Antonov 9c410b81ca
[TSVB] Remove vis_type_timeseries_enhanced plugin (#89274)
* [TSVB] get rid of vis_type_timeseries_enhanced

* add search strategy should be called from setup hook

* remove vis_type_timeseries_enhanced from CODEOWNERS

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 11:10:15 +03:00
Patryk Kopyciński d7028e1a5f
[Security Solution] Init Osquery plugin (#87109) 2021-01-28 08:24:55 +01:00
Kent Marten 723dd32693
[maps] Update point to point docs with use cases (#89246)
Co-authored-by: Kent Marten <kmartastic@users.noreply.github.com>
2021-01-27 09:34:03 -08:00
Ahmad Bamieh 82902e8918
[Telemetry] Settings Collector: redact sensitive reported values (#88675) 2021-01-27 17:57:53 +02:00
Stratoula Kalafateli 0abf45fcf1
[Vega Docs] Add experimental flag on the vega maps title (#89402)
* [Vega Docs] Add experimental flag on the vega maps title

* Add the experimental warning on the initial paragraph of vega maps to be more visible
2021-01-27 17:03:44 +02:00
Scotty Bollinger cadcbf8845
[Enterprise Search] Add links to doc links service (#89260)
* [Enterprise Search] Add links to doc links service

* Remove extra slash

* Add types

* Update API docs and API review
2021-01-27 08:52:44 -06:00