Commit graph

3246 commits

Author SHA1 Message Date
Kibana Machine 5a62b60027
filter FilterBar suggestions by time (according to flag) (#107192) (#107897)
* filter filter bar suggestions by time (according to flag)
add api integration tests for autocomplete apis

* test fix: setDefaultAbsoluteRange

* timeRangeForSuggestionsOverride

* revert

* tests

* doc

* set time range

* Added tests following code review

* eslint

* fun-ctional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-08-09 12:18:56 -04:00
Matthew Kime 3717f0d47d
[7.x] [index patterns] index pattern create modal (#101853) (#107823)
* [index patterns] index pattern create modal (#101853)

index pattern creation flyout

* update docs

* update limits

* Update limits.yml

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 12:02:25 -04:00
Kibana Machine 693eb72e0c
update linting doc (#105748) (#107866)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Ashokaditya <am.struktr@gmail.com>
2021-08-09 03:51:14 -04:00
Liza Katz 272a2af379
[7.x] [Data] Cleanup filter docs (#107169) (#107834)
* Update SM doc for alert per object (#107420)

Update stack monitoring doc to account for alert notification now being send for each node, index, or cluster based on the rule type, instead of always per cluster (PR# 102544)

* [Data] Cleanup filter docs (#107169)

* Move more utils to package and cleanup API

* docs and imports

* better imports

* change comment

* Better docs

* typos

* typo

* fixes

* casting

* Code review

* Update meta_filter.ts

* fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.castestokbnfieldtypename.md
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.getkbntypenames.md
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.buildqueryfromfilters.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.castestokbnfieldtypename.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.esqueryconfig.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.filter.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.ifieldsubtype.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.kuerynode.md
#	src/plugins/data/public/public.api.md

* doc

Co-authored-by: Ravi Kesarwani <64450378+ravikesarwani@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-07 14:48:17 -04:00
Kibana Machine aa947348af
Add SavedObjectsUtils.getConvertedObjectId function (#107767) (#107793)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-08-05 16:13:36 -04:00
Kibana Machine 1387fae93c
[maps] asset tracking tutorial (#104552) (#107806)
* [maps] asset tracking tutoral

* fix image link

* fix link to tutorial in index.asciidoc

* use ref link for ece-cloud-id link

* use ece link

* fix code blocks

* fix screenshot

* finish part 1

* add tracks layer

* top hits step

* clean up part 2

* clean up part 2

* draw construction zones

* fix image name

* create alert

* add alerts to map

* add newline after code blocks

* remove to get build working again

* add back part 3 with header fix

* use server log connector

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* review feedback for part 1

* add Console

* part 2 feedback

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* part 3 review feedback

* one more fix

* intro paragraphs

* intro paragraph review feedback

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

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

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-08-05 15:37:18 -04:00
Anton Dosov cda9966654
[7.x] [FieldFormats] Break from data plugin (#107173) (#107761)
* [FieldFormats] Break from `data` plugin (#107173)

# Conflicts:
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.castestokbnfieldtypename.md
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.getkbntypenames.md
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.castestokbnfieldtypename.md
#	src/plugins/data/public/public.api.md

* update limits
2021-08-05 13:53:39 -04:00
Sandra G 7a9398d4d1
[Stack Monitoring] update docs for changes in stack monitoring rules (#107670) (#107782)
* update docs for changes in stack monitoring rules

* fix grammatical error

* update
2021-08-05 13:15:04 -04:00
gchaps b028603ec3
[DOCS] Updates description of (#107604) (#107669) 2021-08-04 13:03:13 -04:00
Lisa Cawley 16009ccd5c
[DOCS] Remove redundant attributes (#107585) 2021-08-04 08:30:27 -07:00
Kibana Machine a5b6856e91
Replace flot with elastic-chart in Timelion (#81565) (#107368)
* First draft migrate timelion to elastic-charts

* Some refactoring. Added brush event.

* Added title. Some refactoring

* Fixed some type problems. Added logic for yaxes function

* Fixed some types, added missing functionality for yaxes

* Fixed some types, added missing functionality for stack property

* Fixed unit test

* Removed unneeded code

* Some refactoring

* Some refactoring

* Fixed some remarks.

* Fixed some styles

* Added themes. Removed unneeded styles in BarSeries

* removed unneeded code.

* Fixed some comments

* Fixed vertical cursor across Timelion visualizations of a dashboad

* Fix some problems with styles

* Use RxJS instead of jQuery

* Remove unneeded code

* Fixed some problems

* Fixed unit test

* Fix CI

* Fix eslint

* Fix some gaps

* Fix legend columns

* Some fixes

* add 2 versions of Timeline app

* fix CI

* cleanup code

* fix CI

* fix legend position

* fix some cases

* fix some cases

* remove extra casting

* cleanup code

* fix issue with static

* fix header formatter

* fix points

* fix ts error

* Fix yaxis behavior

* Fix some case with yaxis

* Add deprecation message and update asciidoc

* Fix title

* some text improvements

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>

Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-08-04 11:17:46 +00:00
Liza Katz 91b23d975c
[Data] Align deprecation messages (#107175) (#107562)
* Move more utils to package and cleanup API

* docs and imports

* better imports

* change comment

* Better docs

* typos

* typo

* Align deprecation messages

* fixes

* casting

* Code review

* Update meta_filter.ts

* Update types.ts

* Deprecate by 8.1

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.buildqueryfromfilters.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.esqueryconfig.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.filter.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.ifieldsubtype.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.kuerynode.md
#	src/plugins/data/server/server.api.md
2021-08-03 15:18:17 -04:00
Ravi Kesarwani 0a5a24b228
Update SM doc for alert per object (#107420) (#107568)
Update stack monitoring doc to account for alert notification now being send for each node, index, or cluster based on the rule type, instead of always per cluster (PR# 102544)
2021-08-03 13:58:42 -04:00
Patrick Mueller 432a29d036
[actions] change cloud icon usage for the customHostSettings connector settings (#107481) (#107552)
Adds the cloud icon to `xpack.actions.customHostSettings[n].ssl.verificationMode` and removes it from `xpack.actions.customHostSettings[n].ssl.rejectUnauthorized`, in the actions configuration documentation.  The doc was written before `verificationMode` was added and `rejectUnauthorized` was deprecated.
2021-08-03 12:23:08 -04:00
Yuliia Naumenko e8f0e05d81
[Actions] Fixed broken link for ServiceNow docs (#107480) (#107526) 2021-08-03 09:54:00 -04:00
Kaarina Tungseth 9cd471fcdc
[7.x] [DOCS] Removes coming tag from 7.14 release notes (#107470) (#107471) 2021-08-03 08:36:59 -05:00
CJ Cenizal 16f0ff7052
[7.x] Migrate Index Management and enrichers to the new ES JS client (#105863) (#107431)
* Migrate Index Management and enrichers to the new ES JS client (#105863)

* Destructure index API request bodies consistently.
* Remove unnecessary calls to encodeURIComponent on the server.
* Migrate routes to handleEsError. Delete wrapEsError helpers. Remove unused isEsError and parseEsError dependencies. Remove isEsError from es_ui_shared.
* Update tests and migrate API integration tests.
* Clarify test details in CCR README. Update Index Management README with steps for testing Cloud-managed index templates and steps for testing indices and data streams that contain special characters.
# Conflicts:
#	x-pack/plugins/index_management/server/routes/api/templates/register_create_route.ts
#	x-pack/plugins/index_management/server/routes/api/templates/register_get_routes.ts
#	x-pack/plugins/index_management/server/routes/api/templates/register_update_route.ts

* Fix include_type_name type.
2021-08-02 17:33:18 -04:00
Kaarina Tungseth 26ce79745a
[7.x] [DOCS] Adds the 7.14.0 release notes (#107058) (#107466)
* [DOCS] Adds the 7.14.0 release notes

* [DOCS] Edits machine learning PR descriptions

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Updates from review comments

* Adds best practices section

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Fixes errors

Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-08-02 15:47:28 -05:00
Kaarina Tungseth 8bd377824e
[DOCS] Adds runtime fields vs formula to Lens (#107419) (#107450)
* [DOCS] Adds runtime fields vs formula to Lens

* Moved up in list

* Review comment

* Comments from Graham
2021-08-02 15:05:50 -04:00
Kibana Machine a9deac5517
[docs] Include information on supplying array config options (#107258) (#107445)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-08-02 14:54:55 -04:00
Kibana Machine f4a64f792f
[Alerting] Fix health check to allow access to alerting when ES security is disabled (#107032) (#107401)
* Using license plugin to check if es security is enabled

* Adding unit tests and updating legacy health route

* Updating UI copy and docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-08-02 12:59:50 -04:00
Marta Bondyra ee206e4699
[7.x] [Sample data] Use Lens in Logs sample data (#106486) (#107371)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 14:43:26 +02:00
Kibana Machine 12467c2a94
chore(NA): moving @kbn/dev-utils to babel transpiler (#107245) (#107331)
* chore(NA): moving @kbn/dev-utils to babel transpiler

* chore(NA): fix types field on tsconfig files for packages missing it

* chore(NA): update package.jsons

* chore(NA): update kbn/pm dist

* chore(NA): update types field on package jsons

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-07-30 18:24:02 -04:00
Kibana Machine 7772d75514
[data] Extract @kbn/field-types to a package (#106973) (#107276)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-30 08:58:29 -04:00
Kibana Machine a6cbfeddc0
[7.x] Fix ESO migration decryption for converted saved object types (#106897) (#107189)
* Fix ESO migration decryption for converted saved object types (#106897)

* Get rid of integration test changes

The integration test changes can only be applied in 8.0 or later. We can
safely remove that from the 7.x branch.

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-07-29 23:13:55 +00:00
Yara Tercero c949b4bb1d
[Timeline][RBAC] - Add RBAC logic to timeline alerts search strategy (#105333) (#107005)
## Summary

Adds RBAC layer to timeline plugin search strategy for alerts.
# Conflicts:
#	x-pack/plugins/alerting/server/alerting_authorization_client_factory.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-29 15:33:16 -04:00
Kibana Machine f89910e4ac
[Data] do not import types from the legacy elasticsearch package (#106957) (#107112)
* do not import types from the legacy elasticsearch package

* update docs

* cleanup data_enhanced

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-07-29 04:13:18 -04:00
Kibana Machine 870840da18
[Aggregations] Create expression functions for object types used in agg params (#103494) (#107110)
Co-authored-by: Michael Dokolin <mikhail.dokolin@elastic.co>
2021-07-29 03:21:11 -04:00
Kibana Machine 8e7c5fe726
[kbn-pm] Default build and watch commands to use bazel (#105674) (#107090)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-07-28 23:04:38 +00:00
Kibana Machine c52675e2eb
[FieldFormatters] Remove aggs format decorator from fieldFormats.deserialize() (#106755) (#107031)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-28 17:35:12 +00:00
Kibana Machine 65b2eeb721
[DOCS] Change "See" to "Refer to" in new redirects (#107023) (#107049)
Incorporate missed changes from @KOTungseth in #106996

Co-authored-by: Adam Locke <adam.locke@elastic.co>
2021-07-28 12:39:07 -04:00
Kaarina Tungseth 2a362b7f3a
[DOCS] Updates Advanced Settings and adds Labs (#106608) (#107033)
* [DOCS] Updates Advanced Settings and adds Labs

* Fixes links

* Update docs/management/advanced-options.asciidoc

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

* Comments from review

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-28 11:26:28 -04:00
Kaarina Tungseth d0c0fcd1ff
[7.x] [DOCS] Updates Lens and editor pages for 7.14 (#104756) (#106883)
* [DOCS] Updates Lens and editor pages for 7.14 (#104756)

* [DOCS] Lens features and changes for 7.14

* Aggregation reference

* Formatting

* Fixes terminology

* Updates from 8-Jul meeting

* Terminology

* Updates terminology, images, and tutorial steps

* Update docs/user/dashboard/lens-advanced.asciidoc

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

* Update docs/user/dashboard/create-panels-with-editors.asciidoc

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

* Update docs/user/dashboard/lens.asciidoc

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

* Comments from review

* Cleans up unused images

* Fixes image reference

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

* Fixes merge conflict and missing image

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2021-07-28 10:44:17 -04:00
Kibana Machine 4434e96589
[FieldFormats] fix register on start contract (#106828) (#106994)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-28 10:25:00 -04:00
Kibana Machine ce702c4141
[DOCS] Remove Kibana TLS docs in favor of Stack docs (#106996) (#107019)
* [DOCS] Remove Kibana TLS docs in favor of Stack docs

* Updating redirects to fix cross-doc link

* Fixing redirect headers

* Updating redirects to link to separate sections

Co-authored-by: Adam Locke <adam.locke@elastic.co>
2021-07-28 10:21:49 -04:00
Kibana Machine d4ef7a7eab
[Data][Filters] Move more filter utils to package and cleanup API (#106566) (#106988)
* Move more utils to package and cleanup API

* docs and imports

* better imports

* change comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-07-28 09:50:29 -04:00
Kibana Machine 163eca90be
[data.search.autocomplete] Move autocomplete method to UI settings (#106331) (#106950)
* [data.search.autocomplete] Move autocomplete method to UI settings

* Use select rather than boolean

* Add ftue tour

* Make a select rather than text box

* Only show when focused and first time page is loaded

* Add docs link

* Reverse order of sections

* Update docs/concepts/index.asciidoc

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

* Update docs/concepts/index.asciidoc

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

* Docs updates

* setting

* telemetry

* Add links to docs

* Fix translations

* Fix failing test

* Fix test

* Fix tests

* Revert changes to querybar service

* Fix discover query

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-07-28 02:17:22 -04:00
Kibana Machine 395428e4ed
[7.x] Add ability for types to define an excludeOnUpgrade hook (#106534) (#106930)
* Add ability for types to define an excludeOnUpgrade hook (#106534)

* Add ability for types to define an exclude from upgrade hook

* Update test to use 7.13 fixture

* Add 404 handling to oldest action task query

* Update api docs

* Update and add unit tests

* Rename deleteOnUpgrade to excludeOnUpgrade

* Disable reporting browser download for integration test

* Update exports and TSDocs

* Disable reporting plugin entirely

* Typo in config key name

* Update api docs

* Fix eslint

* Add timeouts for hooks

* Make adjustments to getOldestIdleActionTask

* Add type name to log messages for failed hooks

* Update api docs

* Update fixture for 7.x

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-28 05:48:43 +00:00
gchaps 3f8df2e715
[DOC] server.basePath vs server.rewriteBasePath (#106798) (#106906)
* server.basePath vs server.rewriteBasePath

Moving content to make pronoun commentary applicable to correct nouns. Lined up to https://www.elastic.co/guide/en/kibana/6.8/settings.html

* Apply suggestions from code review

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

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

Co-authored-by: Stef Nestor <steffanie.nestor@gmail.com>
2021-07-27 16:23:46 -04:00
Kaarina Tungseth f0cff51ba4
[DOCS] Updates Monitoring images (#106902) (#106904) 2021-07-27 16:21:46 -04:00
Lisa Cawley fe55903695
[DOCS] APM latency correlations (#104564) (#106866) 2021-07-27 11:19:29 -04:00
Kibana Machine 4340d8d102
[Canvas] Expression metric (#104390) (#106808)
* Added `expression_metric` plugin.

* Update src/plugins/expression_metric/README.md

Co-authored-by: Corey Robertson <crob611@gmail.com>

Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
Co-authored-by: Corey Robertson <crob611@gmail.com>
2021-07-27 04:24:14 -04:00
gchaps 7b6131bb39
[DOCS][DEV TOOLS] Uses task-oriented titles (#106796) (#106803) 2021-07-26 18:58:16 -04:00
Kibana Machine c3c363e08c
[Deprecations service] Add requireRestart field (#106701) (#106762)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-07-26 15:36:00 -04:00
Kaarina Tungseth 3a54d7d494
[DOCS] Updates server status page image (#106772) (#106778) 2021-07-26 15:26:44 -04:00
Kaarina Tungseth b5c3d85982
[DOCS] Removes image from color field formatter (#106744) (#106759) 2021-07-26 13:02:28 -04:00
DeDe Morton cc0b042450
Update Fleet settings for 7.14 (#103380) (#106750)
* Update Fleet settings for 7.14

* Apply jen-huang's suggestions from code review

Co-authored-by: Jen Huang <its.jenetic@gmail.com>

* Add fixes from the review

Co-authored-by: Jen Huang <its.jenetic@gmail.com>

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-07-26 12:20:23 -04:00
Kaarina Tungseth b57b739039
[DOCS] Updates the screenshots for Reporting and sharing (#106435) (#106747)
* [DOCS] Updates the Reporting and sharing images for 7.14

* [DOCS] Updates the screenshots for Reporting and sharing

* Adds links to anon access and reporting settings
2021-07-26 12:04:01 -04:00
Kaarina Tungseth bdceec1b39
[DOCS] Updates Canvas images for 7.14 (#106424) (#106740)
* [DOCS] Updates Canvas images for 7.14

* Fixes refresh image size
2021-07-26 11:29:41 -04:00
Kibana Machine 92fec7cd43
adding migrateToLatest to embeddable and expressions plugins (#106207) (#106708)
Co-authored-by: Peter Pisljar <peter.pisljar@gmail.com>
2021-07-26 10:07:13 -04:00
Yaroslav Kuznietsov daa98ee0c6
[Canvas] Expression image (#104318) (#106683)
* Added `expression_image` plugin.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json
2021-07-26 09:45:09 -04:00
Yaroslav Kuznietsov 17933a559c
[7.x] [Canvas] Expression repeat image (#104255) (#106638)
* [Canvas] Expression repeat image (#104255)

* Repeat Image plugin added.
# Conflicts:
#	packages/kbn-optimizer/limits.yml
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json

* Removed not defined plugin `userSetup`.
2021-07-23 07:10:00 -04:00
Frank Hassanabad 94fc5d1139
[Security Solutions][Detection Engine] Creates an autocomplete package and moves duplicate code between lists and security_solution there (#105382) (#106612)
## Summary

Creates an autocomplete package from `lists` and removes duplicate code between `lists` and `security_solutions`
* Consolidates different PR's where we were changing different parts of autocomplete in different ways.
* Existing Cypress tests should cover any mistakes hopefully

Manual Testing:
* Ensure this bug does not crop up again https://github.com/elastic/kibana/pull/87004
* Make sure that the exception list autocomplete looks alright

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

# Conflicts:
#	x-pack/plugins/translations/translations/ja-JP.json
2021-07-22 20:13:58 -04:00
debadair 5b89600f61
[DOCS] Removed obsolete UA info. (#106620) (#106625) 2021-07-22 16:42:15 -07:00
spalger 78b3b3b98b Revert "[i18n] [7.x] Integrate 7.14.0 Translations (#106359)"
This reverts commit 4d356ed432.
2021-07-22 13:47:56 -07:00
Kibana Machine 483a5ef77b
Fix doc on ok rule status (#106545) (#106583)
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-07-22 13:50:22 -04:00
James Rodewig 126bb2ed88
[DOCS] Update Watcher reference (#106565) (#106577)
Kibana Alerting is now the preferred method for alerting in Elastic. To avoid confusion, we should use "Watcher" and avoid terms like "Elasticsearch alerting."

This updates a reference on the Alerting page. Relates to https://github.com/elastic/elasticsearch/pull/75220
2021-07-22 13:30:18 -04:00
Ahmad Bamieh 4d356ed432
[i18n] [7.x] Integrate 7.14.0 Translations (#106359) 2021-07-22 11:41:06 -04:00
Kibana Machine 7098969e10
adding es version field support (#104870) (#106528)
Co-authored-by: Peter Pisljar <peter.pisljar@gmail.com>
2021-07-22 11:06:47 -04:00
Kibana Machine 49671360c6
[Docs] Remove unused page drilldowns.asciidoc (#106487) (#106543)
Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-07-22 10:29:46 -04:00
gchaps 9070e9ed8b
Updates painless doc to use runtime fields (#106462) (#106479) 2021-07-21 16:02:55 -07:00
Kibana Machine 9e14cb8958
[Docs] Clarify that explore underlying data is not enabled (#105693) (#106459)
* [Docs] Clarify that explore underlying data is not enabled

* Update formatting

* Update from feedback

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-07-21 15:16:24 -04:00
gchaps 99ef391d01
[DOCS] Graph: updates text and screenshots (#106190) (#106450)
* [DOCS] Graph: updates text and screenshots

* [DOCS] Created customize section

* [DOCS] Combines graph troubleshooting and limitations

* [DOCS] Fixes error in redirects

* [DOCS] Reduces size of read-only image
2021-07-21 14:32:37 -04:00
gchaps 4ddbd8ed77
[DOCS] Adds missions to landing page (#104572) (#106447)
* [DOCS] Adds missions to landing page

* [DOCS] Adds links to release docs and improves missions

* [DOCS] Uses bold for top links

* [DOCS] Minor changes in ordering of items

* [DOCS] Updates links in landing page

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-21 14:03:01 -04:00
gchaps 43a16b027c
[DOCS] Intro doc--updates screenshots (#106185) (#106444)
* [DOCS] Intro doc--updates screenshots

* [DOCS] Adds link to Discover in sharing section
2021-07-21 13:59:38 -04:00
Kibana Machine 2c4aaf67b6
[Es query] Move to package (#103530) (#106417)
May the forces of bootstrapping helps us 🙏🏻 😉

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-07-21 13:32:55 -04:00
Yaroslav Kuznietsov 8039d6fe7f
[Canvas] Expression shape (#103219) (#106414)
* expression_reveal_image skeleton.

* expression_functions added.

* expression_renderers added.

* Backup of daily work.

* Fixed errors.

* Added legacy support. Added button for legacy.

* Added storybook.

* Removed revealImage from canvas.

* Types fixed.

* Fixed test suite error.

* Fixed eslint error.

* Moved UI and elements, related to expressionRevealImage from canvas.

* Fixed unused translations errors.

* Moved type of element to types.

* Fixed types and added service for representing elements, ui and supported renderers to canvas.

* Added expression registration to canvas.

* Fixed

* Fixed mutiple call of the function.

* Removed support of a legacy lib for revealImage chart.

* Removed legacy presentation_utils plugin import.

* Removed useless translations and tried to fix error.

* One more fix.

* Small imports fix.

* Fixed translations.

* Made fixes based on nits.

* Removed useless params.

* fix.

* Fixed errors, related to jest and __mocks__.

* Removed useless type definition.

* Replaced RendererHandlers with IInterpreterRendererHandlers.

* fixed supported_shareable.

* Moved elements back to canvas.

* Moved views to canvas, removed expression service and imported renderer to canvas.

* Fixed translations.

* Moved libs to presentation utils.

* Fixed types and removed function_wrapper.ts

* Fixed types of test helpers.

* Fixed imports.

* One more fix.

* Fixed public API.

* Moved css to component.

* Fixed spaces at element.

* Removed unused plugin.

* Basic setup of error plugin.

* Removed not used `function` files at `error` expression.

* Moved related components from canvas.

* Changed imports of components.

* Removed useless translations and fixed .i18nrc.json

* More fixes of i18nrc.

* Fixed async functions.

Written current code, based on https://github.com/storybookjs/storybook/issues/7745

* Fixed one test with Expression input.

After changing the way of rendering in stories, all elements are mounting and componentDidMount is involved. The previous snapshot was without
mounted `monaco` editor.

* generated plugin and copied code from expression_reveal_image

* fixed double import after merge.

* Changed all names from reveal_image to shape.

* moved shape to plugin and added all necessary configs

* Fixed translations, fixed all imports and debug of svg.

* `function` moved to `server`.

* One shape is rewritten to `React` and rendering is written with passing necessary props.

* changed default width and heigth.

* Added `ShapeHOC`.

* Shapes changed.

* small refactor.

* Removed useless import.

* one more refactor.

* Refactor + fix errors + updated limits.

* Changed ShapePreview from pure js to react and removed `dangerouslySetInnerHTML`

* Fixed types of viewbox.

* Changed types source for Shape components.

* small refactor.

* Fixed imports.

* Removed `shape` from `canvas`

* Updated docs.

* Basic setup of error plugin.

* Removed not used `function` files at `error` expression.

* Changed imports of components.

* Fixed errors, related to shape and autosuggestions.

* Fixed i18n for shape.

* Moved function from public to common and registered at server.

* Fixed types error.

* Fixed snapshots and shape mocks.

* Moved some libs from `presentations_util` to `expression_shape`

* Shape refactored.

* Shape picker fixed.

* Moved `Popover` back to `canvas`

* Removed `Popover` export from presentation_utils components.

* Moved error_component and debug_component from presentation_util to expression_error.

* Removed `.i18nrc.json`.

* Removed `.i18nrc.json`.

* Removed useless scss.

* Fixed color of `error`.

* added fixes of rebase.

* More fixes of rebase error .

* Removed useless .i18nrc.json file.

* More fixes.

* More fixes of rebase.

* One more fix.

* More fixes.

* Fixed limits and translations.

* Added.

* Fixed i18nrc.

* Fixed error..

* Moved shapes to async chunks.

* One more fix.

* Some fixes.

* Trying to fix the typecheck error.

* Added temp of drawer.

* Moved shapes to the async chunk in a less complex way.

* Made `ShapeDrawer` reusable among different `expressions`.

* Changed type of `shapes` from `any` and `Shape` to `string`.

* Made changes, based on nits.

* Removed not necessary changes.

* Moved all reusable libs to `expression_shapes`.

* Reduced the size of the bundle.

* Hope, fixed type check errors.

* Removed getDefaultShapeData.

* Removed `getViewBox` from bundle.
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-07-21 13:07:36 -04:00
gchaps e46a8874aa
[DOCS] Updates text and screenshots in tags doc (#105853) (#106337)
* [DOCS] Updates text and screenshots in tags doc

* [DOCS] Minor tweaks to tags text
2021-07-20 18:14:56 -04:00
gchaps 08a9a6531b
[DOCS] Updates screenshots in Dev Tools docs (#105859) (#106335)
* [DOCS] Updates screenshots in Dev Tools docs

* [DOCS] Combines all Search Profiler content in one doc
2021-07-20 18:12:49 -04:00
Brandon Morelli 248a89dbda
[DOC] APM settings fix (#106296) (#106325)
Co-authored-by: Luca Belluccini <luca.belluccini@elastic.co>
2021-07-20 16:42:07 -04:00
Chris Roberson c18ac126dc
[Alerting] Change execution of alerts from async to sync (#97311) (#106298)
* added ability to run ephemeral tasks

* fixed typing

* added typing on plugin

* WIP

* Fix type issues

* Hook up the ephemeral task into the task runner for actions

* Tasks can now run independently of one another

* Use deferred language

* Refactor taskParams slightly

* Use Promise.all

* Remove deferred logic

* Add config options to limit the amount of tasks executing at once

* Add ephemeral task monitoring

* WIP

* Add single test so far

* Ensure we log after actions have executed

* Remove confusing * 1

* Add logic to ensure we fallback to default enqueueing if the total actions is above the config

* Add additional test

* Fix tests a bit, ensure we log the alerting:actions-execute right away and the tests should listen for alerts:execute

* Better tests

* If the queue is at capacity, attempt to execute the ephemeral task as a regular action

* Ensure we run ephemeral tasks before to avoid them getting stuck in the queue

* Do not handle the promise anymore

* Remove unnecessary code

* Properly handle errors from ephemeral task lifecycle

* moved acitons domain out of alerting and into actions plugin

* Remove some tests

* Fix TS and test issues

* Fix type issues

* Fix more type issues

* Fix more type issues

* Fix jest tests

* Fix more jest tests

* Off by default

* Fix jest tests

* Update config for this suite too

* Start of telemetry code

* Fix types and add missing files

* Fix telemetry schema

* Fix types

* Fix more types

* moved load event emission to pollingcycle and added health stats on Ephemeral tasks

* Add more telemetry data based on new health metrics for the ephemeral queue

* Fix tests and types

* Add separate request capacity for ephemeral queue

* Fix telemetry schema and add tests for usage collection

* track polled tasks by persistence and use in capacity estimation instead of executions

* fixed typing

* Bump default capacity

* added delay metric to ephemeral stats

* Fix bad merge

* Fix tests

* Fix tests

* Fix types

* Skip failing tests

* Exclude ephemeral stats from capacity estimation tests

* PR feedback

* More PR feedback

* PR feedback

* Fix merge conflict

* Try fixing CI

* Fix broken lock file from merge

* Match master

* Add this back

* PR feedback

* Change to queue and add test

* Disable ephemeral queue in tests

* Updated desc

* Comment out ephemeral-specific tests tha require the entire test suite to support ephemeral tasks

* Add clarifying comment

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-20 15:42:01 -04:00
Kaarina Tungseth ba34cf5a95
[7.x] [DOCS] Removes coming tags from 7.13.4 release notes (#106111) (#106112) 2021-07-20 09:02:54 -05:00
Stratoula Kalafateli 67646f83a0
[Vislib XY axis] Adds a deprecation notice in the UI and a docs section (#105055) (#106221)
* [Vislib XY axis] Adds a deprecation notice in the UI and a docs section

* Remove cyclic dependency

* Fix link

* Add functional test

* fix functional tests

* Apply PR comments

* Update docs/user/dashboard/aggregation-based.asciidoc

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

* Apply PR changes

* minor

* Change the implementation

* Use title calse in Advanced Settings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-20 08:41:07 -04:00
Kibana Machine d7072ea072
Space management page UX improvements (#100448) (#106211)
* Updated spaces management page

* Fixed test failures

* updated snapshot

* Added suggestions form code review

* Fixed unit test

* Review suggestion #2

* WIP

* Fix build errors

* fix type

* remove test for popup that doesnt exist anymore

* fix test

* fix a11y issues

* fix a11y issue

* Removed unused css

* Fix functional test

* Added suggestions from code review

* Fix typescript errors

* Added suggestions from code review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Thom Heymann <190132+thomheymann@users.noreply.github.com>
2021-07-20 06:40:29 -04:00
Aleh Zasypkin 9aa5c806e1
Introduce preboot lifecycle stage (#103636) (#106194)
# Conflicts:
#	.github/CODEOWNERS
#	src/core/server/ui_settings/ui_settings_service.ts
2021-07-20 03:11:45 -04:00
Brandon Morelli 7d6a866a00
docs: APM RUM Source map API (#105332) (#106157) 2021-07-19 16:37:56 -04:00
Kibana Machine 50d6106e56
Instrument vis_type_vislib, lens and vis_type_timeseries with execution context service (#105206) (#106117)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-19 19:19:19 +00:00
DeDe Morton dde965559d
Remove beta admonitions for Fleet docs (#106010) (#106143) 2021-07-19 15:01:40 -04:00
gchaps 9d051dad0b
[DOCS] Updates screenshots to show new theme (#104998) (#106133)
* [DOCS] Updates screenshots to show new theme

* [DOCS] Updates more screenshots in Discover docs

* [DOCS] Updates screenshot for license management

* [DOCS] Attempt to make the screenshots more readable
2021-07-19 13:06:21 -04:00
Kaarina Tungseth fdcf9060b4
[7.x] [DOCS] Adds the 7.13.4 release notes (#105245) (#106106)
* [DOCS] Adds the 7.13.4 release notes

* Specifies 7.13.0 in breaking changes links
2021-07-19 11:03:55 -04:00
Michael Dokolin b0b92a97ac
[Partial Results] Update esaggs expressions function to return partial results (#105620) (#106076)
* Update `esaggs` expressions function to support partial results
* Add partial results throttling in the expressions loader
2021-07-19 08:55:07 -04:00
Kibana Machine fbe1781b64
Security/document audit deprecation (#104685) (#106057)
Co-authored-by: Thom Heymann <190132+thomheymann@users.noreply.github.com>
2021-07-19 05:00:47 -04:00
Peter Pisljar 5ef9026ae0
filterManager PersistableStateService implementation (#104897) (#105972) 2021-07-16 13:14:00 -04:00
Kibana Machine fb50f83041
[rollup index patterns] don't show fields not present in field caps response (#105533) (#105958)
* remove fields not present in field caps response

Co-authored-by: Matthew Kime <matt@mattki.me>
2021-07-16 12:21:30 -04:00
James Rodewig 17a86d81c1
[DOCS] Update watcher screenshots for new EUI (#105843) (#105943) 2021-07-16 08:11:28 -04:00
Kibana Machine f1e89f550a
[Lens][Visualize][Inspector][Reporting] Unified check for CSV cells for known formula characters (and value escaping more in general) (#105221) (#105925)
*  Unify escaping logic for csv export

* 📝 Update api doc

*  Fix test with new escape logic

* 👌 First batch of feedback

* 💬 Fix typo

* 👌 Memoize function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-07-16 07:07:19 -04:00
Kibana Machine c4a0d037fd
[Lens] Add more Lens QA doc (#105057) (#105926)
* 📝 Add more Lens qa doc

* 🐛 Fix wrong ref

* 🔥 Remove section anchor for now

* Apply suggestions from code review

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

* 👌 Integrated feedback

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

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-16 05:08:27 -04:00
Joe Portner 84533cc45c
[Docs] Update security and spaces docs/screenshots (#105652) (#105846)
# Conflicts:
#	docs/user/security/authorization/index.asciidoc
#	docs/user/security/images/create-role-dls-example.png
#	docs/user/security/images/create-role-index-example.png
2021-07-15 16:33:56 -04:00
Yaroslav Kuznietsov d54d0b5852
[Canvas] Expression error (#103048) (#105724)
* Basic setup of error plugin.

* Removed not used `function` files at `error` expression.

* Moved related components from canvas.

* Changed imports of components.

* Fixed renderer and storybook.

* Fixed types errors.

* Added limits.

* Removed useless translations and fixed .i18nrc.json

* added `done` handler call.

* Added more fixes fo i18nc.

* Added docs.

* More fixes of i18nrc.

* Fixed async functions.

Written current code, based on https://github.com/storybookjs/storybook/issues/7745

* Fixed one test with Expression input.

After changing the way of rendering in stories, all elements are mounting and componentDidMount is involved. The previous snapshot was without
mounted `monaco` editor.

* Fixed storybook error.

* More fixes.

* removed unused translations.

* Removed handlers and changed the way of handling `resize` and calling `done`.

* Fixed i18n error.

* Fixed storybook.

* Replaced Popover with EuiPopover.

* Moved `Popover` back to `canvas`

* Removed `Popover` export from presentation_utils components.

* Moved error_component and debug_component from presentation_util to expression_error.

* Fixed translations and imports.

* Moved `debug renderer` to `expression_error` plugin.

* Fixed error.

* Fixed lazy exports.

* Fixed imports

* Fixed storybook snapshot.

* Removed `.i18nrc.json`.

* Fixed color of `error`.

* Exported concrete elements from popover.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-optimizer/limits.yml
#	src/plugins/expression_error/public/components/debug/debug.tsx
2021-07-15 07:41:16 -04:00
Oliver Gupte 37c61092c9
[7.x] [APM] Kuery bar gives invalid suggestions (#105132) (#105660)
* [APM] Kuery bar gives invalid suggestions (#105132)

* adding method to support terms_agg

* adding more filters to kuery bar

* addressing PR comments

* fixing docs

* addressing PR comments

* moving file to common

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/apm/server/lib/search_strategies/correlations/get_query_with_params.ts

* removing extra line

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: cauemarcondes <caue.marcondes@elastic.co>
2021-07-14 18:03:19 -04:00
Chris Roberson 543d60bb51
[Alerting] Update docs to include new o11y features (#104884) (#105643)
* Update docs to include new o11y features

* PR feedback

* PR feedback

* Bold the headers

* PR feedback
2021-07-14 13:26:28 -04:00
James Rodewig 7cf89fc05d
[DOCS] Update rollup jobs screenshots (#105624) (#105639)
# Conflicts:
#	docs/images/management_rollup_job_vis.png
2021-07-14 13:01:59 -04:00
Kaarina Tungseth a3f6e0cbe7
[DOCS] Updates the quick start for 7.14 (#105489) (#105636)
* [DOCS] Updates the quick start for 7.14

* Updates a Discover image, adds image descriptions, and reformats dashboard section
2021-07-14 12:38:35 -04:00
James Rodewig 1c6d85b194
[DOCS] Update snapshot/restore screenshots for new EUI theme (#105444) (#105628) 2021-07-14 12:17:39 -04:00
Kibana Machine 72a082eba4
[Lens][Inspector] Enable inspector to display multiple requests for multiple layers (#105224) (#105605)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-07-14 11:58:49 -04:00
Kibana Machine 0d470f8b94
[maps][docs] refresh screenshots for 7.14 (#105601) (#105622)
Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-07-14 11:55:08 -04:00
Kibana Machine dedbcdb391
Rollup index pattern list fixes (#105458) (#105587)
* fix index pattern field list and improve typescript

Co-authored-by: Matthew Kime <matt@mattki.me>
2021-07-14 10:18:19 -04:00
Kaarina Tungseth 9704873a3a
[7.x] [DOCS] Updates to the Reporting docs (#101326) (#104504)
* [DOCS] Updates to the Reporting docs (#101326)

* [DOCS] Updates to thee Reporting docs

* Adds the main sharing page

* Final changes

* Changed configuring-reporting link to secure-reporting

* Updates from meeting with Tim and Larry

* Moves reporting and sharing content above ML

* Update docs/setup/configuring-reporting.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Review comments from Tim and Larry

* Fixes broken links

* Fixes redirect

* Fixes broken link from ES docs

* Adds metadata to changed pages

* Review comments

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Fixes ES links

* Fixes time-unit ES links

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
2021-07-13 15:58:48 -04:00
Aaron Caldwell 1bf1e2e169
Format numbers in TOC pop-up and add layer menu to locale (#105165) (#105445)
* Format numbers in TOC pop-up and add layer menu to locale

* Review feedback + format a couple other counts

* Update jest test
2021-07-13 12:27:25 -04:00
Brandon Morelli 91daafbae8
docs: APM updates for 7.14 (#104232) (#105366)
Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-07-12 18:22:14 -04:00
Larry Gregory 6a47b49f83
Support authenticating to Elasticsearch via service account tokens (#102121) (#105286)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/core/server/elasticsearch/elasticsearch_config.ts
2021-07-12 16:34:44 -04:00
Kibana Machine f850cd737c
[Enterprise Search] Update README/description (#105151) (#105280)
* Update plugin README with beta copy & fancier product info

* Update API dev docs plugin description punctuation

* Update README dev section

- Remote reference to native auth - no longer applicable in 7.14
- Add reference to Getting Started guide (Elastic only)

* Run node scripts/build_plugin_list_docs to update https://www.elastic.co/guide/en/kibana/master/plugin-list.html

* Add link to main Kibana README
- which should link out to their contributing docs

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-07-12 16:03:42 -04:00
Kaarina Tungseth 9fe6f179cd
[DOCS] Adds how to create dashboard drilldowns for Top N and Table TSVB panels (#104548) (#105230) 2021-07-12 11:08:37 -04:00
gchaps df13fa6464
[DOCS] Fixes formatting in search sessions doc (#105077) (#105104) 2021-07-09 13:26:16 -04:00
gchaps fce88bc5ee
[DOCS] Creates separate doc for security in production (#103973) (#104769)
* [DOCS] Creates separate doc for security in production

* Use Kibana attribute

* Update CSP section

* Move SSL section to the top

This is the highest priority item for securing a production installation
of Kibana.

* Add section on using secure HTTP headers

* Write intro

* [DOCS] Fixes broken link and other minor edits

* [DOCS] Changes man to manipulator

Co-authored-by: Kibana Machine 
<42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-07-09 08:24:54 -07:00
Kibana Machine b99f38a764
[Security Solutions] Fixes bug with the filter query compatibility for transforms (#104559) (#104798)
## Summary

* Fixes bug with the filter query compatibility to allow multiple object types and match all
* Adds unit tests for the file
* Fixes up the README.md a bit
* Adds more unit tests to the utils folder we didn't have before
* Adds more JSDocs

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-07-08 14:09:54 -04:00
Kibana Machine ac9c9bf68c
remove previous time range mode (#104830) (#104906)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-07-08 13:40:26 -04:00
Kibana Machine a057ff63cf
[Expressions] Introduce createTable expression function, and use in Lens (#103788) (#104879)
* [Expressions] Introduce createTable expression function, and use in Lens

* Fix test

* Fix code style

* Fix typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-07-08 12:11:04 -04:00
Stratoula Kalafateli 0a62bc55f4
Fix documentation (#104833) (#104834) 2021-07-08 06:47:19 -04:00
Peter Pisljar 026a7b4956
persistable state migrations (#103680) (#104764) 2021-07-07 18:53:05 -04:00
gchaps da96d7db95
Update index.asciidoc (#104677) (#104735) 2021-07-07 14:17:37 -04:00
Mikhail Shustov 73adcb4511
Add execution context service (#102039) (#104686)
* add execution context service on the server-side

* integrate execution context service into http service

* add integration tests for execution context + http server

* update core code

* update integration tests

* update settings docs

* add execution context test plugin

* add a client-side test

* remove requestId from execution context

* add execution context service for the client side

* expose execution context service to plugins

* add execution context service for the server-side

* update http service

* update elasticsearch service

* move integration tests from http to execution_context service

* integrate in es client

* expose to plugins

* refactor functional tests

* remove x-opaque-id from create_cluster tests

* update test plugin package.json

* fix type errors in the test mocks

* fix elasticsearch service tests

* add escaping to support non-ascii symbols in description field

* improve test coverage

* update docs

* remove unnecessary import

* update docs

* Apply suggestions from code review

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

* address comments

* remove execution context cleanup

* add option to disable execution_context service on the server side

* put x-opaque-id test back

* put tests back

* add header size limitation to the server side as well

* fix integration tests

* address comments

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-07 13:55:16 -04:00
Spencer 141c178be7
[DOCS] Elastic Sec Overview (Fixing Image) (#104529) (#104700)
Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Janeen Mikell-Straughn <57149392+jmikell821@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 13:09:29 -04:00
Kaarina Tungseth 47a86f1b84
[7.x] [DOCS] Removes coming tag from 7.13.3 release notes (#104490) (#104495) 2021-07-07 09:28:14 -05:00
Kibana Machine 57a1a05459
[docs] Update default memory limit (#104535) (#104615)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-07 07:24:54 -04:00
Kaarina Tungseth a0a1a26da1
[7.x] [DOCS] Adds the 7.13.3 release notes (#104116) (#104492)
* [DOCS] 7.13.3 release notes

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
2021-07-06 12:01:59 -04:00
Kibana Machine bfac8b624e
[Docs] Add auth_provider_hint to authentication docs (#104132) (#104462)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-07-06 10:14:26 -04:00
Lisa Cawley 262a567699
[DOCS] Adds ML link to Kibana quickstart (#104018) (#104345) 2021-07-05 15:57:17 -04:00
Yulia Čech e604eebf91
Console definitions for 7.14 (rework) (#103681)
* Moved specs definitions from xpack to src and deleted console_extensions plugin

* Generated spec definitions using the script on elasticsearch 7.x branch

* Added some overrides and doc links fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-05 18:31:48 +02:00
Kibana Machine e65f240bb5
[Search Session] Fix dangling search sessions (#102927) (#104281)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-05 07:36:46 -04:00
Michael Dokolin c73e13d744
[Expressions] Update expressions public API to expose partial results support (#102403) (#104210)
* Add partial result flag to the execution result
* Update expressions plugin run method to return observable
* Update data getter in the execution contract to return observable
* Update the expression loader to take into account the partial results flag
2021-07-01 18:57:17 -04:00
Kaarina Tungseth 34a88b79f5
[DOCS] Adds Making dashboards interactive (#102815) (#104218)
* [DOCS] M Adds interactive dashboard content

* [DOCS] Adds Making dashboards interactive

* Fixes drilldowns broken links

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

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

* Adds metadata

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

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

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

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

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

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

* Review comments

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

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-01 17:32:17 -04:00
Kibana Machine 02319b11a0
[maps][docs] 7.14 doc updates (#103531) (#104214)
* [maps][docs] 7.14 doc updates

* more details

* timeslider screenshot

* Update docs/maps/search.asciidoc

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

* Update docs/maps/search.asciidoc

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

* review feedback

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

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-01 17:20:41 -04:00
debadair 516b375568
[DOCS] Updated xref to ES time units topic. (#104186)
* [DOCS] Link directly to units topics

* [DOCS] Fixed broken xref
2021-07-01 12:03:19 -07:00
Brandon Kobel 0c51e23395
[7.x] Update docs to explicitly state supported upgrade version (#103783)
* Update docs to explicitly state supported upgrade version

* Update docs/setup/upgrade.asciidoc

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

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-01 10:50:10 -07:00
Joe Portner 3b20d04815
[Docs] Add documentation on multiple tenants (#103125) (#104156)
# Conflicts:
#	docs/user/security/authorization/index.asciidoc
2021-07-01 13:24:49 -04:00
Kibana Machine 2173fc4bda
[Task Manager] Fixing typo in field name (#103948) (#104112)
* Fixing typo

* Fixing typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-07-01 12:42:36 -04:00
Kibana Machine bdfb417a54
[Canvas] Expression reveal image. (#101987) (#104076)
* expression_reveal_image skeleton.

* expression_functions added.

* expression_renderers added.

* Backup of daily work.

* Fixed errors.

* Added legacy support. Added button for legacy.

* Added storybook.

* Removed revealImage from canvas.

* setState while rendering error fixed.

* tsconfig.json added.

* jest.config.js added.

* Demo doc added.

* Types fixed.

* added limits.

* Removed not used imports.

* i18n namespaces fixed.

* Fixed test suite error.

* Some errors fixed.

* Fixed eslint error.

* Removed more unused translations.

* Moved UI and elements, related to expressionRevealImage from canvas.

* Fixed unused translations errors.

* Moved type of element to types.

* Fixed types and added service for representing elements, ui and supported renderers to canvas.

* Added expression registration to canvas.

* Fixed

* Fixed mutiple call of the function.

* Removed support of a legacy lib for revealImage chart.

* Removed legacy presentation_utils plugin import.

* Doc error fixed.

* Removed useless translations and tried to fix error.

* One more fix.

* Small imports fix.

* Fixed translations.

* Made fixes based on nits.

* Removed useless params.

* fix.

* Fixed errors, related to jest and __mocks__.

* Removed useless type definition.

* Replaced RendererHandlers with IInterpreterRendererHandlers.

* fixed supported_shareable.

* Moved elements back to canvas.

* Moved views to canvas, removed expression service and imported renderer to canvas.

* Fixed translations.

* Types fix.

* Moved libs to presentation utils.

* Fixed one mistake.

* removed dataurl lib.

* Fixed jest files.

* elasticLogo removed.

* Removed elastic_outline.

* removed httpurl.

* Removed missing_asset.

* removed url.

* replaced mostly all tests.

* Fixed types.

* Fixed types and removed function_wrapper.ts

* Fixed types of test helpers.

* Changed limits of presentationUtil plugin.

* Fixed imports.

* One more fix.

* Fixed huge size of bundle.

* Reduced allow limit for presentationUtil

* Updated limits for presentationUtil.

* Fixed public API.

* fixed type errors.

* Moved css to component.

* Fixed spaces at element.

* Changed order of requiredPlugins.

* Updated limits.

* Removed unused plugin.

* Added rule for allowing import from __stories__ directory.

* removed useless comment.

* Changed readme.md

* Fixed docs error.

* A possible of smoke test.

* onResize changed to useResizeObserver.

* Remove useless events and `useEffect` block.

* Changed from passing handlers to separate functions.

* `function` moved to `server`.

* Fixed eslint error.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
2021-07-01 09:09:53 -04:00
Stratoula Kalafateli 551f8a2a5d
[TSVB] Documents the new index pattern mode (#102880) (#104063)
* [TSVB] Document the new index pattern mode

* Add a callout to TSVB to advertise the new index pattern mode

* Conditionally render the callout, give capability to dismiss it

* Fix i18n

* Update the notification texts

* Update notification text

* Change callout storage key

* add UseIndexPatternModeCallout component

* Update docs/user/dashboard/tsvb.asciidoc

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

* Update docs/user/dashboard/tsvb.asciidoc

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

* Update docs/user/dashboard/tsvb.asciidoc

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

* Update docs/user/dashboard/tsvb.asciidoc

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

* Update docs/user/dashboard/tsvb.asciidoc

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

* Update docs/user/dashboard/tsvb.asciidoc

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

* Update docs/user/dashboard/tsvb.asciidoc

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

* Update docs/user/dashboard/tsvb.asciidoc

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

* Final docs changes

* Remove TSVB from title

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-01 07:43:26 -04:00
Yuliia Naumenko e212da7792
[Alerting][Docs] Fixed formatting issues for alerting documentation. Added docs about rules statuses. (#103725) (#103953)
* [Alerting][Docs] Fixed formatting issues for alerting documentation. Added docs about rules statuses.

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Apply suggestions from code review

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

* fixed due to the comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-01 03:43:17 -04:00
debadair bc02990c46
[DOCS] Link directly to units topics (#104040) 2021-06-30 18:01:52 -07:00
Kibana Machine 6579bb612a
[Vega] Allow faceted Vega-Lite charts to take correct size (#103352) (#103533)
* [Vega] Allow faceted Vega-Lite charts to take correct size

* Add unit test

* Update autosize docs

* Add warning when autosize=none

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-06-30 23:56:19 +00:00
Kibana Machine 8486ac6939
[Maps] deprecate map.proxyElasticMapsServiceInMaps (#103740) (#103939)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-06-30 15:03:30 -04:00
Kaarina Tungseth 3206e8fc4f
[DOCS] Updates to the Reporting docs (#101326) (#103947)
* [DOCS] Updates to thee Reporting docs

* Adds the main sharing page

* Final changes

* Changed configuring-reporting link to secure-reporting

* Updates from meeting with Tim and Larry

* Moves reporting and sharing content above ML

* Update docs/setup/configuring-reporting.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Review comments from Tim and Larry

* Fixes broken links

* Fixes redirect

* Fixes broken link from ES docs

* Adds metadata to changed pages

* Review comments

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
2021-06-30 13:24:39 -04:00
Kibana Machine 30819d40df
[7.x] [Query] Es query/field base (#103177) (#103872)
* [Query] Es query/field base (#103177)

* remove es query dependency on format.convert

* FieldBase

* fix types

* types

* Fix type imports

* test types

* fix jest

* rename

* docs

* comment

* docs

Co-authored-by: Liza Katz <lizka.k@gmail.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-06-30 15:30:47 +00:00
Lisa Cawley 7c5d78965b
[7.x] [SECURITY] Adds security links to doc link service (#103830) 2021-06-30 02:44:16 -07:00
Kibana Machine f288e7a2f4
chore(NA): moving @kbn/es-archiver into bazel (#103770) (#103825)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-06-30 01:42:53 -04:00
Lisa Cawley ec5cb9a12a
[7.x] Adds ECS guide to doc links service (#103819) 2021-06-29 21:58:12 -07:00
Kibana Machine 4695120081
[packages] Migrate @kbn/test to Bazel (#103122) (#103812)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-06-30 03:21:22 +00:00
Jonathan Budzenski fc23272f74
[7.x] [build] Remove OSS builds (#103685) (#103792) 2021-06-29 21:50:33 -04:00
Kibana Machine 761e19f8e7
[7.x] [Monitoring] Enable out of the box alerts modal (#101565) (#103694)
* [Monitoring] Enable out of the box alerts modal (#101565)

* Remove api call to create alerts

* Add enable alerts modal

* Update modal title

* Add simple alerts dropdown

* change alerts modal design

* refactor alerts modal provider

* Add alerts dropdown

* Show toast after alert creation and add error handling

* Do not show alerts modal if alerts already exist

* Fix stack monitoring test

* Fix more stack monitoring tests and types

* Fix tests after merge

* Attempt to fix stack monitoring tests

* remove console.log

* Change text

* Remove commented comment

* Update docs for stack monitoring alerts

* Fix docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Removed strangely re-appearing test

This test was removed a long time ago in this commit: 5feb376aac -- we are not sure why it reappeared.

Co-authored-by: Ester Martí Vilaseca <ester.martivilaseca@elastic.co>
Co-authored-by: Jason Rhodes <jason.rhodes@elastic.co>
2021-06-29 15:23:27 -04:00
gchaps 5ab8d59ae8
[DOCS] Fixes formatting in settings doc (#103519) (#103709) 2021-06-29 09:26:35 -07:00
Joe Portner 707c81e463
Saved objects import compatibility across versions (#94072) (#103706)
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2021-06-29 09:22:57 -07:00
Kibana Machine 39339ddce8
chore(NA): moving @kbn/test-subj-selector into bazel (#103562) (#103668)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-06-29 12:18:13 -04:00
Kibana Machine 0fd977acc8
[Alerting] Enable rule import/export and allow rule types to exclude themselves from export (#102999) (#103598)
* Removing feature flag changes

* Adding isExportable flag to rule type definition

* Adding isExportable flag to rule type definition

* Adding isExportable flag to rule type definition

* Filtering rule on export by rule type isExportable flag

* Fixing types

* Adding docs

* Fix condition when exportCount is 0

* Unit test for fix condition when exportCount is 0

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-06-28 22:41:08 -04:00
Kibana Machine 31ad8ba55c
[Maps] deprecate 'map.regionmap' kibana config and 'Configured GeoJSON' source (#103373) (#103576)
* [Maps] deprecate 'map.regionmap' kibana config and 'Configured GeoJSON' source

* clean up message

* revert change to KibanaRegionmapSource.getGeoJsonWithMeta

* tslint

* doc updates

* clean up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-06-28 20:33:59 -04:00
Kibana Machine 06313f3b94
Sharing saved objects phase 3.5 (#100424) (#103575)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-06-28 20:33:16 -04:00
Vadim Dalecky 8d1c01d2f3
Locator docs (#103129) (#103551)
* feat: 🎸 add locator_examples plugin

* feat: 🎸 add example app in locator_examples

* feat: 🎸 add locator_explorer plugin

* chore: 🤖 remove url_generaotrs_* example plugins

* docs: ✏️ update share plugin readme

* docs: ✏️ add locators readme

* docs: ✏️ update docs link in example plugin

* docs: ✏️ update navigation docs

* fix: 🐛 make P extend SerializableState

* test: 💍 update test mocks

* fix: 🐛 use correct type in ingest pipeline locator

* test: 💍 add missing methods in mock

* test: 💍 update test mocks

* chore: 🤖 update plugin list

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	examples/locator_examples/kibana.json
2021-06-28 17:50:41 -04:00
Yuliia Naumenko 02e4166405
[Alerting][Docs] Support enablement documentation. (#101457) (#103537)
* [Alerting][Docs] Support enablement documentation.

* additional docs

* fixed links

* Apply suggestions from code review

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

* fixed common issues

* Apply suggestions from code review

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

* fixed due to comments

* fixed TM health api page

* fixed TM health api page 2

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>

* fixed due to the comments

* fixed due to the comments

* fixed experimental flag

* fixed due to the comments

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Update docs/user/alerting/alerting-troubleshooting.asciidoc

Co-authored-by: ymao1 <ying.mao@elastic.co>

* fixed due to the comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-06-28 12:05:26 -07:00
Alexey Antonov 98c5543866
[7.x] [TSVB] Fix references to the index pattern are not embedded when exporting a saved object (#103255) (#103508)
* [TSVB] Fix references to the index pattern are not embedded when exporting a saved object (#103255)

* [TSVB] Importing a dashboard with only TSVB viz on another space, breaks the dashboard

Closes: #103059

* move index-pattern to constant

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-28 14:56:50 -04:00
Kibana Machine ebe1f7c95d
chore(NA): moving @kbn/spec-to-console into bazel (#103470) (#103498)
* chore(NA): moving @kbn/spec-to-console into bazel

* chore(NA): fix licenses

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-06-28 13:08:28 -04:00
Kibana Machine 2998d9c971
Add warning toast when server.publicBaseUrl not configured correctly (#85344) (#103489)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-28 12:27:54 -04:00
Alexey Antonov 4237e7f184
Adds a known issue section to the 7.13.0 release notes (#103400)
* Adds a known issue section to the 7.13.0 release notes

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

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

* Update CHANGELOG.asciidoc

* Update CHANGELOG.asciidoc

Co-authored-by: Stratoula Kalafateli <stratoula1@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-06-28 19:18:14 +03:00
Stratoula Kalafateli 08e97fa729
Update TSVB docs with guidelines on how to group by multiple fields (#103224) (#103501)
* Update TSVB FAQ section with guidelines on how to group by multiple fields

* Apply text suggestion
2021-06-28 08:21:39 -07:00
Liza Katz 67ce4861eb
[Query] Use a minimal index pattern interface for es query (#102364) (#103453)
* Move JSON utils to utils package

* Imports from tests

* delete

* split package

* docs

* test

* test

* imports

* minimal index pattern

* move some functions out and use miniaml ip in all es-kuery

* docs

* docs

* rename

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.iindexpattern.md
#	src/plugins/data/public/public.api.md
2021-06-28 07:05:55 -04:00
Pierre Gayvallet b02ddafaf4
Allow additive csp configuration (#102059) (#103405)
* add additive csp configuration

* add unit tests for new class

* fix types

* adapt test utils

* fix tests

* more unit tests on config

* generated doc

* review comments

* update ascii doc

* update ascii doc links

* automatically add single quotes for keywords

* add missing csp directives

* add more tests

* add additional settings to asciidoc

* add null-check

* revert test config props

* fix usage collection usage

* some review comments

* last review comments

* add kibana-docker variables

* try to fix doc reference

* try to fix doc reference again

* fix tests
# Conflicts:
#	src/core/server/csp/config.ts
#	src/core/server/csp/csp_config.test.ts
2021-06-25 16:54:07 -04:00
Kibana Machine d2721e5134
[Lens] Document common formulas in product and add formula tutorial (#103154) (#103403)
* [Lens] Document common formulas in product and add formula tutorial

* Make common formulas appear in sidebar and format consistently

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-06-25 15:19:10 -04:00
Kibana Machine 4ee24294a7
[Lens] Enable actions on Lens Embeddable (#102038) (#103398)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-06-25 11:02:34 -04:00
Kibana Machine 78a030d5c6
[docs][migrations v2] Update SO migration docs to include removal of index write block when handling corrupt SOs. (#103014) (#103372)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-06-24 15:56:32 -07:00
Jonathan Budzenski e33c29d1b2
[7.x] [packages] Move @kbn/interpreter to Bazel (#101089) (#103308)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-24 12:29:20 -05:00
Chris Roberson 5efd3453ad
[Task Manager] Add config switch around logging at different levels based on the state (#102804) (#103307)
* Gate behind a config with warning message that helps users enable

* Update more files

* Fix docs formatting

* Preserve existing functionality

* Add in task type to the message

* Show multiple alert types that are over the threshold

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-24 13:11:45 -04:00
Kibana Machine c49cdbc284
[DOCS] Security Overview (#103151) (#103328)
* updating overview topic for Kibana

* formatting fixes

* small formatting tweaks

* small formatting tweaks

* Update index.asciidoc

Updating index file; removing siem-UI and machine learning topics from the TOC.

* [DOCS] Change part to chapter

* Update index.asciidoc

* Adding <titleabbrev> attribute

Co-authored-by: lcawl <lcawley@elastic.co>

Co-authored-by: Janeen Mikell-Straughn <57149392+jmikell821@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
2021-06-24 10:04:09 -07:00
Stratoula Kalafateli 74cd25d7a0
[VisTypePie] Use a different advanced setting for pie charts (#103049) (#103222)
* Different switch for pie

* Remove unused translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-24 07:40:58 -04:00
Kibana Machine 5dfb2522b4
chore(NA): moving @kbn/plugin-helpers into bazel (#103181) (#103200)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-06-24 06:00:55 +00:00
Kibana Machine 9fb76c68f0
chore(NA): moving @kbn/cli-dev-mode into bazel (#103067) (#103201)
* chore(NA): moving @kbn/cli-dev-mode into bazel

* chore(NA): merge and solve conflicts with master

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-06-24 01:58:42 -04:00
Kibana Machine 5df616f29d
chore(NA): moving @kbn/optimizer into bazel (#102965) (#103066)
* chore(NA): moving @kbn/optimizer into bazel

* chore(NA): fix source import from kbn optimizer

* chore(NA): update snapshots

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-06-24 03:47:24 +00:00
Christos Nasikas c6e6462e2f
[Security Solution] [Cases] Swimlane Connector for Cases (#100086) (#103165)
Co-authored-by: Josh <josh.rickard@swimlane.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
Co-authored-by: Josh <josh.rickard@swimlane.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 17:25:31 -04:00
Kibana Machine 2b242d452e
[Actions] Rename tls.* configs to ssl.* (#102902) (#103157)
* Changing tls to ssl

* Changing tls to ssl

* Updating docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-06-23 16:42:55 -04:00
Kibana Machine a6985b20ae
Add timeouts and setup enforcement for custom plugins statuses (#77965) (#103149)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-23 16:02:07 -04:00
Kibana Machine 056cf014c0
Allow restored session to run missing searches and show a warning (#101650) (#103078)
* Allow restored session to run missing searches and show a warning

* tests and docs

* improve warning

* tests for new functionality
NoSearchIdInSessionError type

* managmeent tests

* Update texts

* fix search service pus

* link to docs

* imports

* format import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-06-23 10:23:04 -04:00
Kibana Machine 77d269fcc3
Update chart reference docs (#102430) (#103093)
* Update chart reference docs

* Update from feedback

* Update from review feedback

* Update more from comments

* Apply left alignment

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-06-23 07:06:10 -07:00
Alison Goryachev 92c9a0e096
[Rollups] Migrate to new page layout (#102268) (#102975) 2021-06-22 19:37:08 -04:00
Tiago Costa bd884a8828
chore(NA): moving @kbn/ui-framework into bazel (#102908) (#102992)
# Conflicts:
#	x-pack/package.json
2021-06-22 17:15:46 -04:00
Kibana Machine cb684f5a80
Allow initialNamespaces to be used for isolated types (#102585) (#102985)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-06-22 16:41:36 -04:00
Kibana Machine c5780aeb14
[DOCS] Updating Elastic Security Overview topic (#101922) (#103006)
* updating overview topic for Kibana

* formatting fixes

* small formatting tweaks

* small formatting tweaks

Co-authored-by: Janeen Mikell-Straughn <57149392+jmikell821@users.noreply.github.com>
2021-06-22 13:34:22 -07:00
Kibana Machine d9b2a07782
Add "Unable to decrypt attribute apiKey" to the alerting troubleshooting docs (#101315) (#102961)
* Initial commit

* PR feedback

* PR feedback pt 2

* PR feedback pt 3

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-06-22 09:41:00 -07:00
Stratoula Kalafateli aef6aeb79d
[Docs] Drilldowns only for timeseries TSVB charts (#102481) (#102923)
* [Docs] Drilldowns only for timeseries TSVB charts

* Update docs/user/dashboard/drilldowns.asciidoc

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

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-06-22 07:37:01 -07:00
Kibana Machine 875af97828
chore(NA): moving @kbn/storybook into bazel (#102731) (#102806)
* chore(NA): moving @kbn/storybook into bazel

* chore(NA): add some typing changes

* chore(NA): rename typings file

* chore(NA): fix typescript configs to build storybooks

* chore(NA): fix eslint and typechecking

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-06-21 17:25:18 -04:00
Kibana Machine 44b060cddf
[Alerting] Updating audit event terminology (#102263) (#102787)
* Updating audit terminology

* Fixing unit tests

* Updating audit docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-06-21 16:20:37 -04:00
Kibana Machine 81ceb24bd3
Recommendation for known Vega-Lite issue (#102547) (#102802)
Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-06-21 12:14:55 -07:00
Kibana Machine 859d3ed2bf
[Alerting][Docs] Removing placeholder sections in docs (#101953) (#102790)
* Removing placeholder prerequisite section

* Removing placeholder defining-rules and rule-management

* Fixing links

* Setup to set up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-06-21 11:37:30 -07:00
Kibana Machine db838743f5
[Lens] Fix time shift bug (#102528) (#102752)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-06-21 12:57:45 -04:00
Kibana Machine 4f99200ccd
[Fleet] Use docLinks service to link to the doc (#102660) (#102741)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-06-21 11:50:52 -04:00
Kibana Machine 0551831ba5
[Maps] [Docs] Added emsUrl to the main kibana config doc (#102718) (#102728)
Co-authored-by: Jorge Sanz <jorge.sanz@elastic.co>
2021-06-21 04:46:04 -07:00
Pierre Gayvallet 9cf01f1da5
[7.x] add isExportable SO export API (#101860) (#102698)
* add `isExportable` SO export API (#101860)

* add `isExportable` SO export API

* add warning when export contains excluded objects

* add FTR test

* fix API integration assertions

* lint

* fix assertions again

* doc

* update generated doc

* fix esarchiver paths

* use maps instead of objects

* SavedObjectsExportablePredicate is no longer async

* more docs

* generated doc

* use info instead of warning when export contains excluded objects

* try/catch on isExportable call and add exclusion reason

* add FTR test for errored objects

* log error if isExportable throws

* fix dataset for 7.x
2021-06-21 06:15:45 -04:00
Tiago Costa 3cfbe71203
[7.x] chore(NA): moving @kbn/ui-shared-deps into bazel (#101669) (#102666)
* chore(NA): moving @kbn/ui-shared-deps into bazel (#101669)

* chore(NA): moving @kbn/io-ts-utils into bazel

* chore(NA): moving @kbn/ui-shared-deps into bazel

* chore(NA): compelte working build for @kbn/ui-shared-deps

* chore(NA): solve eslint problems

* chore(NA): solve typechecking

* chore(NA): debugger changes

* chore(NA): update optimizer basic integration tests

* chore(NA): ship kbn/ui-shared-deps metrics.json from new location at shared_built_assets

* chore(NA): use correct ui-shared-deps metrics file location

* chore(NA): remove webpack bazel config

* chore(NA): implement improvements on webpack config

* chore(NA): remove extra comment

* chore(NA): try esbuild-loader minimizer

* Revert "chore(NA): try esbuild-loader minimizer"

This reverts commit bffc49aaae.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/scripts/jenkins_build_kibana.sh

* chore(NA): last file containing old path for metrics.json file
2021-06-18 20:39:29 -04:00
Nik Richers 9e924a6da3
Add email connector info for Elastic Cloud (#91363) (#102673)
* Move content into new location to fix merge conflict

* Add whitelisting callout
2021-06-18 15:49:00 -07:00
James Rodewig 5164455ddd
[DOC] Add experimental disclaimer to rollup jobs (#95624) (#102562)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: François-Clément Brossard <renshuki@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 13:00:50 -07:00
Ryland Herrick 164ed8497d
[Security Solution] kbn package for generic hook utils (#101976) (#102539)
* Adds boilerplate for new hook-utils package

* Move existing, identified utils into our hook-utils package

Updates references, and fixes a few missing config that were preventing
packages from building.

* Extracts a common type and adds a little more JSdoc for clarity

* Adds new useObservable hook

Similar to useAsync (a nearly identical interface), this is meant to
wrap a thunk returning an observable, allowing conditional invocation
and progressive updates as the observable continues to emit.

* Remove orphaned test

This function (and its tests) were moved to the hook-utils package; this
was simply missed.

* Remove optional chaining from kbn package

The build system does not currently support these typescript features.
While a valid fix would also have been to build separate browser and
node targets a la #99390, the use here was very minimal and so changing
to a supported syntax was the most pragmatic fix.

* Update old reference in test file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	package.json
2021-06-17 15:21:40 -04:00
Lisa Cawley 5f35d37b7f
[DOCS] Updated Kibana alerting/rules language (#101977) (#102548) 2021-06-17 11:37:44 -07:00
Stratoula Kalafateli 2502303c22
[Visualizations] Update the kibana.json with the owner and the description (#102459) (#102490)
* [Visualizations] Update the kibana.json with the owner and the description

* Update plugin list
2021-06-17 09:46:17 -04:00
Kibana Machine c29ecaa2e0
[Lens] Add some more documentation for dynamic coloring (#101369) (#102470)
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-06-17 06:34:46 -04:00
Kibana Machine 1acdb0789d
[Lens] Docs for time shift (#102048) (#102457)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-06-17 00:44:28 -07:00
Kibana Machine c34fab8891
Update security best practices document (#100814) (#102432)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-06-17 00:29:56 +00:00
Chris Roberson b16513a7e5
[Task Manager] Log at different levels based on the state (#101751) (#102402)
* Log at different levels based on the state

* Fix types and add tests

* Remove unnecessary code

* Add more descriptive message

* Partially fix failing tests

* Move into separate function

* Get rid of customStatus in favor of moving the logging logic to a separate, mockable function

* Remove debug logging

* Do not log as an error if the stats are empty

* PR feedback

* Add docker whitelist

* alpha order

* English is hard

* Removing extra newline

* PR feedback around ignoring capacity estimation

* Move json utils
2021-06-16 18:20:42 -04:00
Tim Sullivan 464b1dc7e4
[Reporting/Docs] Add section to troubleshooting guide to explain the StatusCodeError logs (#102278) (#102410)
* [Reporting/Docs] Add section to troubleshooting guide to explain the StatusCodeError logs

* Update docs/user/reporting/reporting-troubleshooting.asciidoc

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

* use script formatting around error message block

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-06-16 14:04:58 -07:00
Kibana Machine 243b167d8a
[Kuery] Move json utils (#102058) (#102365)
* Move JSON utils to utils package

* Imports from tests

* delete

* split package

* docs

* test

* test

* imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-06-16 13:24:44 -04:00
Kibana Machine a6349c7ea4
Fix 7.13 aggregation reference issue (#102256) (#102380)
Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-06-16 09:53:18 -07:00
Kibana Machine 9abe3e0695
[Lens] Create mathColumn function to improve performance (#101908) (#102356)
* [Lens] Create mathColumn function to improve performance

* Fix empty formula case

* Fix tinymath memoization

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-06-16 16:42:22 +00:00
Stratoula Kalafateli 5ea71f9e2a
Adds a known issue section to the 7.13.2 release notes (#102215)
* Adds a known issue section to the 7.13.2 release notes

* Update text

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

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

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-06-16 19:27:21 +03:00