Commit graph

3182 commits

Author SHA1 Message Date
Christiane (Tina) Heiligers 3a74287268
Improves not found response handling in the saved objects repository (#108749) 2021-08-17 13:47:05 -04:00
Matthew Kime d62ff559b8
[index pattern management] load index pattern list without loading field lists (#108823)
* don't load field list for index pattern list
2021-08-17 10:03:54 -05:00
Alexey Antonov 87ac80ec90
[Lens] Make lens_time_scale function to pick timezone from the context (#108366)
Part of: #97134

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 15:53:25 +03:00
Liza Katz 9d1a8a87f8
[Data][Es Query] Use ES types in Kuery functions (#108367)
* es-query types

* jest and lint

* cc

* options

* type

* types for kuery FUNCTIONS

* doc

* sec fixes

* typey type

* test typescript

* test

* fixes

* test

* cr

* cleanup a bit more

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 11:49:16 +02:00
Lukas Olson 6a39dc1880
[data.search] Handle warnings inside of headers (#103744)
* [data.search] Handle warnings inside of headers

* Update docs

* Add tests

* Remove isWarningResponse

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-16 21:06:19 -07:00
Alison Goryachev 650f45b823
[Upgrade Assistant] Create new status endpoint (#105998) 2021-08-16 08:50:36 -04:00
Sébastien Loix b24d44d165
[Index pattern field editor] Add preview for runtime fields (#100198) 2021-08-13 18:27:23 -04:00
Brandon Morelli 79eb426a8f
docs: Add anonymous auth to central config (#108285) 2021-08-13 10:59:01 -07:00
Luke Elmers 57e395540d
[docs] Update Maps docs based on 7.14 UI. (#104762) 2021-08-13 10:51:38 -06:00
Chris Roberson b5bd063f51
Deprecate ability to disable alerting, actions, task manager, stack alerts, and event log plugins (#108281)
* Add deprecation warnings for .enabled config for all our plugins

* Add tests

* Add stackAlerts

* Fix stack alerts

* Add tests

* Add triggers_action_ui

* Add deprecated warning to the docs
2021-08-12 21:34:05 -04:00
Devon Thomson 33f3933118
[Dashboard] [Embeddable] Add Ability to Defer Embeddable Loaded State (#107227)
Added defer embeddable loading flag to embeddable for embeddables which aren't finished loading after their constructor is finished
2021-08-12 17:43:57 -04:00
Liza Katz e91baea5dc
[Data][Es Query] Use ES types instead of DslQuery (#108290)
* es-query types

* jest and lint

* cc

* options

* type

* type
2021-08-12 21:23:33 +02:00
Chris Roberson fb215edf55
Revert "[Task Manager] [8.0] Remove xpack.task_manager.index (#108111)" (#108398)
This reverts commit 9dce033408.
2021-08-12 14:46:46 -04:00
Lisa Cawley 17abc9ca15
[ML] Update intro text for ML in Stack Management (#108280) 2021-08-12 11:10:56 -07:00
Chris Roberson 9dce033408
[Task Manager] [8.0] Remove xpack.task_manager.index (#108111)
* Remove support for the config field index

* Fix type issues

* Remove references from a few more places
2021-08-11 16:23:58 -04:00
Jean-Louis Leysens 46e0f0ba3e
[Reporting] Added docs about the new ILM kibana-reporting policy (#108018)
* first iteration of ilm policy copy - in a callout

* apply James' suggested change

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-08-11 12:43:13 +02:00
Spencer c0395c9ef6
[build_ts_refs] improve caches, allow building a subset of projects (#107981)
* [build_ts_refs] improve caches, allow building a subset of projects

* cleanup project def script and update refs in type check script

* rename browser_bazel config to avoid kebab-case

* remove execInProjects() helper

* list references for tsconfig.types.json for api-extractor workload

* disable composite features of tsconfig.types.json for api-extractor

* set declaration: true to avoid weird debug error

* fix jest tests

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-10 22:12:45 -07:00
Yuliia Naumenko 538a6d9288
[Actions UI] Fixed Jira Api token label. (#107776)
* [Actions UI] Fixed Jira Api token label.

* fixed tests

* fixed username

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 17:11:11 -07:00
Joe Portner c21272cc5b
Sharing saved objects developer guide (#107099) 2021-08-10 16:02:45 -04:00
Lisa Cawley 4f7e62fff3
[DOCS] Updates file upload details for geospatial data (#107985) 2021-08-10 10:06:11 -07:00
Kaarina Tungseth aba804c36f
[DOCS] Removes coming tag from 8.0.0-alpha1 release notes (#106781) 2021-08-10 11:08:43 -05:00
Christiane (Tina) Heiligers cdf90aae42
Adds new SavedObjectsRespository error type for 404 that do not originate from Elasticsearch responses (#107301)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 06:16:55 -07:00
Khristinin Nikita 8f22fedba0
Update Styleguide path to .mdx (#107890)
* Fix Styleduide URL

STYLEGUIDE.md -> STYLEGUIDE.mdx

* Fix type for a path to the scripts folder
2021-08-10 13:15:43 +02:00
Liza Katz 204efae5bf
[Data cleanup] unify serializable state (#107745)
* Use Serializable from package

* Rename to align with core

* fix

* more replacements

* docssss

* fix

* Move it to @kbn/utility-types and remove core export

* buildy build

* tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 13:03:48 +02:00
Mikhail Shustov 5480c4d0f4
[Execution context] Add nested context support (#107523)
* Add nested context support

* remove execution context service on the client side

ExecutionContextContaier is not compatible with SerializableState, so I had to fall back to passing context as POJO. With this change, using a service looks like overhead.

* update docs

* fix test

* address comments from Josh

* put export back

* update docs

* remove outdated export

* use input.title for unsaved vis

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 08:53:40 +02:00
Lisa Cawley 4f535c6621
[DOCS] Updates file data visualizer details (#107609) 2021-08-09 18:42:55 -07:00
Liza Katz 21f4de833c
Clear out unused imports (#107638)
* Clear out unused imports
Add public to some exports

* types and funzies

* flattenHitWrapper

* t

* restore

* SAD

* bad merge
2021-08-09 16:35:10 +02:00
Liza Katz 8d90df3bca
filter FilterBar suggestions by time (according to flag) (#107192)
* 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>
2021-08-09 15:58:27 +02:00
Ashokaditya 78cc089ec2
update linting doc (#105748)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 09:40:09 +02:00
Matthew Kime d44df74598
[index patterns] index pattern create modal (#101853)
index pattern creation flyout
2021-08-05 22:58:57 -05:00
Nathan Reese 500905c2b1
[maps] asset tracking tutorial (#104552)
* [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>
2021-08-05 13:27:25 -06:00
Joe Portner 7fe2d177a1
Add SavedObjectsUtils.getConvertedObjectId function (#107767) 2021-08-05 13:49:22 -04:00
Sandra G c695a13270
[Stack Monitoring] update docs for changes in stack monitoring rules (#107670)
* update docs for changes in stack monitoring rules

* fix grammatical error

* update
2021-08-05 13:05:08 -04:00
Anton Dosov af3a976e17
[FieldFormats] Break from data plugin (#107173) 2021-08-05 16:25:22 +02:00
Kaarina Tungseth 5d71c9922b
[DOCS] Updated 8.0.0-alpha1 breaking changes with master (#107063) 2021-08-04 11:12:11 -05:00
Lisa Cawley 67634ecfef
[DOCS] Remove redundant attributes (#107583) 2021-08-04 08:29:26 -07:00
gchaps b52a2b8052
[DOCS] Updates description of (#107604) 2021-08-04 07:43:00 -07:00
Patrick Mueller 76881a241d
[actions] change cloud icon usage for the customHostSettings connector settings (#107481)
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:06:45 -04:00
Ravi Kesarwani 5cd7358834
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)
2021-08-03 10:30:55 -04:00
Aleh Zasypkin ed28155165
Implement interactiveSetup plugin server side functionality: setup layout (#105222) 2021-08-03 15:52:11 +02:00
Yuliia Naumenko ff2a5a8566
[Actions] Fixed broken link for ServiceNow docs (#107480) 2021-08-03 06:44:25 -07:00
Liza Katz 7af1ec246d
[Data] Align deprecation messages (#107175)
* 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>
2021-08-03 09:18:44 +02:00
Kaarina Tungseth d699d165b5
[DOCS] Adds runtime fields vs formula to Lens (#107419)
* [DOCS] Adds runtime fields vs formula to Lens

* Moved up in list

* Review comment

* Comments from Graham
2021-08-02 13:56:40 -05:00
Tyler Smalley f3a17a80b4
[docs] Include information on supplying array config options (#107258)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-08-02 11:43:46 -07:00
CJ Cenizal 3491f05e95
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.
2021-08-02 10:20:54 -07:00
ymao1 df421f869f
[Alerting] Fix health check to allow access to alerting when ES security is disabled (#107032)
* 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>
2021-08-02 10:37:30 -04:00
Liza Katz c048f71626
[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>
2021-08-02 12:14:19 +02:00
Uladzislau Lasitsa 8088565ee9
Replace flot with elastic-chart in Timelion (#81565)
* 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>
2021-08-02 04:53:03 -04:00
Tiago Costa b9acd3ce74
chore(NA): moving @kbn/dev-utils to babel transpiler (#107245)
* 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>
2021-07-30 16:03:42 -04:00
Anton Dosov 3c3087855f
[data] Extract @kbn/field-types to a package (#106973) 2021-07-30 06:34:17 -04:00
Joe Portner b0d21b54e7
Fix ESO migration decryption for converted saved object types (#106897) 2021-07-29 12:02:26 -04:00
Wylie Conlon ce89235713
[Sample data] Use Lens in Logs sample data (#106486)
* [Sample data] Use Lens in Logs sample data

* Fix accidental inclusions and add new images

* Fix test

* link proper ID

* changing the copy for 400s and 500s

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
2021-07-29 07:58:54 +02:00
Mikhail Shustov 785876cc76
[Data] do not import types from the legacy elasticsearch package (#106957)
* do not import types from the legacy elasticsearch package

* update docs

* cleanup data_enhanced
2021-07-29 07:52:36 +02:00
Michael Dokolin b140cb5cb1
[Aggregations] Create expression functions for object types used in agg params (#103494) 2021-07-29 07:00:35 +02:00
Jonathan Budzenski 134b2fd9e1
[kbn-pm] Default build and watch commands to use bazel (#105674)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 16:39:54 -04:00
Adam Locke 0418637311
[DOCS] Change "See" to "Refer to" in new redirects (#107023)
Incorporate missed changes from @KOTungseth in #106996
2021-07-28 12:27:03 -04:00
Kaarina Tungseth 883113b5e4
[DOCS] Updates Advanced Settings and adds Labs (#106608)
* [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>
2021-07-28 10:14:22 -05:00
Anton Dosov 6559bf4071
[FieldFormatters] Remove aggs format decorator from fieldFormats.deserialize() (#106755) 2021-07-28 17:12:33 +02:00
Lisa Cawley b1c4e8e564
[DOCS] Move Kibana glossary to stack docs (#106938) 2021-07-28 07:51:49 -07:00
Adam Locke 5575b937c8
[DOCS] Remove Kibana TLS docs in favor of Stack docs (#106996)
* [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
2021-07-28 10:10:18 -04:00
Anton Dosov deefe1ac83
[FieldFormats] fix register on start contract (#106828) 2021-07-28 14:05:17 +02:00
Liza Katz eeb88b0833
[Data][Filters] Move more filter utils to package and cleanup API (#106566)
* 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>
2021-07-28 13:29:32 +02:00
Yara Tercero 44a9dadaff
[Timeline][RBAC] - Add RBAC logic to timeline alerts search strategy (#105333)
## Summary
 
Adds RBAC layer to timeline plugin search strategy for alerts.
2021-07-28 01:36:54 -04:00
Lukas Olson 196eb7b6a9
[data.search.autocomplete] Move autocomplete method to UI settings (#106331)
* [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>
2021-07-27 20:57:12 -07:00
Josh Dover 20c4716ced
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
2021-07-27 17:32:35 -04:00
Kaarina Tungseth edafb6dfe2
[DOCS] Updates Monitoring images (#106902) 2021-07-27 15:12:30 -05:00
Stef Nestor f66bf62e1f
[DOC] server.basePath vs server.rewriteBasePath (#106798)
* 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>
2021-07-27 12:48:31 -07:00
gchaps a059395155
[DOCS] Adds terms to glossary (#106339) 2021-07-27 11:04:21 -07:00
Kaarina Tungseth 833b12ecc1
[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>
2021-07-27 11:58:42 -05:00
Lisa Cawley 76989b57eb
[DOCS] APM latency correlations (#104564) 2021-07-27 08:02:21 -07:00
Yaroslav Kuznietsov 34ca277212
[Canvas] Expression metric (#104390)
* Added `expression_metric` plugin.

* Update src/plugins/expression_metric/README.md

Co-authored-by: Corey Robertson <crob611@gmail.com>
2021-07-27 09:05:24 +03:00
gchaps 8115a76b8b
[DOCS][DEV TOOLS] Uses task-oriented titles (#106796) 2021-07-26 14:53:49 -07:00
Kaarina Tungseth 500cb492f2
[DOCS] Adds the 8.0.0-alpha1 release notes (#106599)
* [DOCS] Adds the 8.0.0-alpha1 release notes

* [DOCS] Adds the remaining breaking changes and deprecations content

* [DOCS] Comments out 8.0.0 release notes

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

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

* Comments from reviews

* Comments from reviews

* Final changes

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-26 14:29:18 -05:00
Kaarina Tungseth 77b2d8ad12
[DOCS] Updates server status page image (#106772) 2021-07-26 14:18:15 -05:00
Ahmad Bamieh 2b7d1396e3
[Deprecations service] Add requireRestart field (#106701) 2021-07-26 20:17:52 +03:00
Kaarina Tungseth 9ced2fb4ee
[DOCS] Removes image from color field formatter (#106744) 2021-07-26 11:52:38 -05:00
DeDe Morton 4f5e2a675a
Update Fleet settings for 7.14 (#103380)
* 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>
2021-07-26 09:11:38 -07:00
Kaarina Tungseth 25585947ea
[DOCS] Updates the screenshots for Reporting and sharing (#106435)
* [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 10:55:26 -05:00
Kaarina Tungseth 1f138fa18f
[DOCS] Updates Canvas images for 7.14 (#106424)
* [DOCS] Updates Canvas images for 7.14

* Fixes refresh image size
2021-07-26 10:17:44 -05:00
Peter Pisljar 6042e6929c
adding migrateToLatest to embeddable and expressions plugins (#106207) 2021-07-26 13:49:38 +02:00
Yaroslav Kuznietsov 3027999435
[Canvas] Expression image (#104318)
* Added `expression_image` plugin.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-26 11:48:45 +03:00
Mat Schaffer a1134e1bca
Note full cli arg for es full featured snapshot (#103045) 2021-07-26 13:52:51 +09:00
Yaroslav Kuznietsov 3e4b64b779
[Canvas] Expression repeat image (#104255)
* Repeat Image plugin added.
2021-07-23 11:29:06 +03:00
debadair ec71c7c971
[DOCS] Removed obsolete UA info. (#106620) 2021-07-22 16:20:13 -07:00
Frank Hassanabad cd667d06bc
[Security Solutions][Detection Engine] Creates an autocomplete package and moves duplicate code between lists and security_solution there (#105382)
## 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
2021-07-22 12:44:54 -06:00
Mike Côté dd142c460f
Fix doc on ok rule status (#106545) 2021-07-22 13:39:24 -04:00
James Rodewig 4ad517f996
[DOCS] Update Watcher reference (#106565)
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:19:09 -04:00
Wylie Conlon c54b4e54be
[Docs] Remove unused page drilldowns.asciidoc (#106487) 2021-07-22 09:18:42 -05:00
Peter Pisljar 63ffc9fc47
adding es version field support (#104870) 2021-07-22 14:45:43 +02:00
gchaps d3defc0960
Updates painless doc to use runtime fields (#106462) 2021-07-21 13:24:59 -07:00
Wylie Conlon 62e81723af
[Docs] Clarify that explore underlying data is not enabled (#105693)
* [Docs] Clarify that explore underlying data is not enabled

* Update formatting

* Update from feedback
2021-07-21 15:05:33 -04:00
gchaps 5c18edd89e
[DOCS] Graph: updates text and screenshots (#106190)
* [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 10:41:59 -07:00
gchaps 529b155d1c
[DOCS] Adds missions to landing page (#104572)
* [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>
2021-07-21 10:20:02 -07:00
gchaps 098bf69560
[DOCS] Intro doc--updates screenshots (#106185)
* [DOCS] Intro doc--updates screenshots

* [DOCS] Adds link to Discover in sharing section
2021-07-21 10:03:44 -07:00
Liza Katz a6af9d5050
[Es query] Move to package (#103530)
May the forces of bootstrapping helps us 🙏🏻 😉
2021-07-21 17:10:55 +02:00
Yaroslav Kuznietsov 473b6aad0f
[Canvas] Expression shape (#103219)
* 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.
2021-07-21 17:46:19 +03:00
gchaps 646df22ede
[DOCS] Updates screenshots in Dev Tools docs (#105859)
* [DOCS] Updates screenshots in Dev Tools docs

* [DOCS] Combines all Search Profiler content in one doc
2021-07-20 14:33:06 -07:00
gchaps 9c25f8e8aa
[DOCS] Updates text and screenshots in tags doc (#105853)
* [DOCS] Updates text and screenshots in tags doc

* [DOCS] Minor tweaks to tags text
2021-07-20 14:32:26 -07:00
Luca Belluccini 5bd4762561
[DOC] APM settings fix (#106296) 2021-07-20 13:32:49 -07:00
Chris Roberson 1f798aac3f
[Alerting] Change execution of alerts from async to sync (#97311)
* 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>
2021-07-20 13:24:24 -04:00
Aleh Zasypkin ca17b2dbb6
Provide sensible defaults for xpack.security.session.{lifespan|idleTimeout}. (#106061) 2021-07-20 18:30:36 +02:00
Stratoula Kalafateli 8b2ceaed44
[Vislib XY axis] Adds a deprecation notice in the UI and a docs section (#105055)
* [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>
2021-07-20 13:33:10 +03:00
Thom Heymann 1f5be1e1e1
Space management page UX improvements (#100448)
* 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>
2021-07-20 09:33:39 +01:00
Aleh Zasypkin 237256a4ba
Introduce preboot lifecycle stage (#103636) 2021-07-20 06:52:23 +02:00
Brandon Morelli fc49ae12e6
docs: APM RUM Source map API (#105332) 2021-07-19 13:29:18 -07:00
DeDe Morton e4a8363087
Remove beta admonitions for Fleet docs (#106010) 2021-07-19 11:51:36 -07:00
gchaps 404337514e
[DOCS] Updates screenshots to show new theme (#104998)
* [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 08:41:19 -07:00
Mikhail Shustov f9089e11df
Instrument vis_type_vislib, lens and vis_type_timeseries with execution context service (#105206)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-19 17:35:33 +02:00
Michael Dokolin 15a613f488
[Partial Results] Update esaggs expressions function to return partial results (#105620)
* Update `esaggs` expressions function to support partial results
* Add partial results throttling in the expressions loader
2021-07-19 12:44:17 +02:00
Thom Heymann e389c9260d
Security/document audit deprecation (#104685) 2021-07-19 07:47:34 +01:00
Pete Hampton ca0b362754
Revert "Remove security example from telemetry management panel. (#105722)" (#105974)
This reverts commit 6ae078f3c6.
2021-07-16 13:23:25 -04:00
Peter Pisljar 4ce446766d
filterManager PersistableStateService implementation (#104897) 2021-07-16 16:20:51 +02:00
Matthew Kime 2dd3693dbe
[rollup index patterns] don't show fields not present in field caps response (#105533)
* remove fields not present in field caps response
2021-07-16 09:07:31 -05:00
Pete Hampton 6ae078f3c6
Remove security example from telemetry management panel. (#105722)
* Remove security example from telemetry management panel.

* Fix types.

* Update component snapshot.

* Fix translations.

* Remove code to test for sec solution enabled.

* Fix type.

* Remove management section setting from security solution.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-16 14:56:06 +01:00
James Rodewig 2adb59f5d9
[DOCS] Update watcher screenshots for new EUI (#105843) 2021-07-16 08:01:41 -04:00
Marco Liberati 2e5e4ca57f
[Lens][Visualize][Inspector][Reporting] Unified check for CSV cells for known formula characters (and value escaping more in general) (#105221)
*  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>
2021-07-16 10:55:49 +02:00
Marco Liberati 8e5d83d995
[Lens] Add more Lens QA doc (#105057)
* 📝 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>
2021-07-16 10:55:16 +02:00
Joe Portner 15b4981b1d
[Docs] Update security and spaces docs/screenshots (#105652) 2021-07-15 16:04:33 -04:00
Yaroslav Kuznietsov e999b33e54
[Canvas] Expression error (#103048)
* 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>
2021-07-15 12:19:55 +03:00
Cauê Marcondes 94e379fa23
[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>
2021-07-14 14:55:07 -04:00
Chris Roberson 5a08cae8f0
[Alerting] Update docs to include new o11y features (#104884)
* Update docs to include new o11y features

* PR feedback

* PR feedback

* Bold the headers

* PR feedback
2021-07-14 13:17:12 -04:00
James Rodewig 44441e7ae0
[DOCS] Update rollup jobs screenshots (#105624) 2021-07-14 12:51:51 -04:00
Kaarina Tungseth aa0e2dc060
[DOCS] Updates the quick start for 7.14 (#105489)
* [DOCS] Updates the quick start for 7.14

* Updates a Discover image, adds image descriptions, and reformats dashboard section
2021-07-14 11:29:15 -05:00
James Rodewig bcda0684ea
[DOCS] Update snapshot/restore screenshots for new EUI theme (#105444) 2021-07-14 12:08:01 -04:00
Nathan Reese 70758da0e8
[maps][docs] refresh screenshots for 7.14 (#105601) 2021-07-14 09:42:46 -06:00
Marco Liberati 509026d240
[Lens][Inspector] Enable inspector to display multiple requests for multiple layers (#105224)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 15:47:41 +02:00
Matthew Kime 320eaeac8b
Rollup index pattern list fixes (#105458)
* fix index pattern field list and improve typescript
2021-07-14 07:09:07 -05:00
Matthew Kime d65743cc3c
Revert "Rollup index pattern list fixes (#105328)" (#105456)
This reverts commit 6933d63007.
2021-07-13 12:57:14 -05:00
Matthew Kime 6933d63007
Rollup index pattern list fixes (#105328)
* fix index pattern field list and improve typescript
2021-07-13 09:34:32 -05:00
Lisa Cawley d5c5fb732d
[ML] Updates URLs in documentation link service (#105011) 2021-07-13 07:32:45 -07:00
Aaron Caldwell c02cdd85fe
Format numbers in TOC pop-up and add layer menu to locale (#105165)
* 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 10:17:53 -04:00
Yulia Čech 538dfba513
[Console] Autocomplete definitions (manual backport) (#105086)
* [Console] Removed x-pack console extensions folder and moved json files to src/plugins/console

* [Console] Generated console definitions with ES repo on master branch

* Added some overrides and doc links fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-13 10:31:50 +02:00
Brandon Morelli 9ab26cf089
docs: APM updates for 7.14 (#104232)
Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-07-12 15:12:56 -07:00
Larry Gregory 76f49565c1
Support authenticating to Elasticsearch via service account tokens (#102121)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 14:18:35 -04:00
Constance afc07c376f
[Enterprise Search] Update README/description (#105151)
* 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
2021-07-12 13:51:38 -04:00
Kaarina Tungseth d6a3692600
[DOCS] Adds how to create dashboard drilldowns for Top N and Table TSVB panels (#104548) 2021-07-12 09:58:39 -05:00
gchaps 357264db09
[DOCS] Fixes formatting in search sessions doc (#105077) 2021-07-09 09:34:27 -07:00
Joe Reuter 030f77b089
remove previous time range mode (#104830) 2021-07-08 17:34:20 +02:00
Wylie Conlon 0ef3cbe6ed
[Expressions] Introduce createTable expression function, and use in Lens (#103788)
* [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>
2021-07-08 10:01:50 -04:00
Stratoula Kalafateli bf5ddcfc78
Fix documentation (#104833) 2021-07-08 13:38:23 +03:00
Frank Hassanabad 6e2128500e
[Security Solutions] Fixes bug with the filter query compatibility for transforms (#104559)
## 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
2021-07-07 21:04:07 -06:00
Peter Pisljar 5aa8a0a818
persistable state migrations (#103680) 2021-07-07 22:42:16 +02:00
gchaps e92892a174
[DOCS] Creates separate doc for security in production (#103973)
* [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>
2021-07-07 13:19:28 -07:00
gchaps d1b58d8d63
Update index.asciidoc (#104677) 2021-07-07 09:28:45 -07:00
Mikhail Shustov e01e682917
Add execution context service (#102039)
* 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>
2021-07-07 17:46:35 +02:00
Janeen Mikell-Straughn 9aa3280c86
[DOCS] Elastic Sec Overview (Fixing Image) (#104529)
Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 09:58:09 -04:00
Jonathan Budzenski 02b05c97cb
[docs] Update default memory limit (#104535)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-07 13:13:43 +02:00
Lisa Cawley 3d2c2ed1ca
[DOCS] Fixes links to anomaly detection overview (#104350) 2021-07-06 08:27:38 -07:00
Joe Portner 57fdadbbec
[Docs] Add auth_provider_hint to authentication docs (#104132) 2021-07-06 10:02:47 -04:00
Aleh Zasypkin 2d48f7fb11
Add userSetup plugin skeleton. (#101610) 2021-07-06 14:41:24 +02:00
Lisa Cawley f9c52277fb
[DOCS] Adds ML link to Kibana quickstart (#104018) 2021-07-05 10:10:47 -07:00
Anton Dosov 7d51ee00c5
[Search Session] Fix dangling search sessions (#102927) 2021-07-05 11:30:40 +02:00
Kaarina Tungseth 0e6d596991
[DOCS] Adds Making dashboards interactive (#102815)
* [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>
2021-07-01 16:23:24 -05:00
Nathan Reese fb20e02192
[maps][docs] 7.14 doc updates (#103531)
* [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>
2021-07-01 15:10:09 -06:00
Michael Dokolin 975e361d50
[Expressions] Update expressions public API to expose partial results support (#102403)
* 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 22:48:47 +02:00
Joe Portner c78c350a1d
[Docs] Add documentation on multiple tenants (#103125) 2021-07-01 13:07:08 -04:00
ymao1 7cc112d245
[Task Manager] Fixing typo in field name (#103948)
* Fixing typo

* Fixing typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 10:39:21 -04:00
Yaroslav Kuznietsov b352976b3b
[Canvas] Expression reveal image. (#101987)
* 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>
2021-07-01 13:30:00 +03:00
Stratoula Kalafateli c52e0e12aa
[TSVB] Documents the new index pattern mode (#102880)
* [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>
2021-07-01 12:34:28 +03:00
Brandon Kobel 54dae304cc
Update docs to explicitly state supported upgrade version (#103774)
* 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-06-30 14:11:59 -07:00
Yuliia Naumenko bd0f0584e0
[Alerting][Docs] Fixed formatting issues for alerting documentation. Added docs about rules statuses. (#103725)
* [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>
2021-06-30 10:34:59 -07:00
Kaarina Tungseth 524fe6dfe2
[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>
2021-06-30 12:10:04 -05:00
Nathan Reese 5cf0fead02
[Maps] deprecate map.proxyElasticMapsServiceInMaps (#103740)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 10:59:27 -06:00
debadair 0f4319c43e
[DOCS] Fixed another units xref (#103826) 2021-06-30 08:43:15 -07:00
Liza Katz 2bc801c8ef
[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
2021-06-30 13:07:27 +01:00
Lisa Cawley b92d955b56
[SECURITY] Adds security links to doc link service (#102676) 2021-06-30 00:27:58 -07:00
Lisa Cawley 0fb21c49b9
Adds ECS guide to doc links service (#102246) 2021-06-29 21:47:38 -07:00
Tiago Costa 5f35d23416
chore(NA): moving @kbn/es-archiver into bazel (#103770) 2021-06-29 23:33:02 -04:00
Jonathan Budzenski bed5b6d8f2
[packages] Migrate @kbn/test to Bazel (#103122)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 21:16:00 -04:00
debadair 71a57454c7
[DOCS] Update xrefs to units sections in the ES guide (#103809) 2021-06-29 18:03:36 -07:00
debadair a22f08750b
[DOCS] Updated xref to ES guide (#103803) 2021-06-29 17:36:09 -07:00
Jonathan Budzenski 7359fabf7c
[build] Remove OSS builds (#103685) 2021-06-29 18:17:51 -05:00
Ester Martí Vilaseca 46402538d2
[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>
2021-06-29 17:35:37 +02:00
gchaps a416e81b49
[DOCS] Fixes formatting in settings doc (#103519) 2021-06-29 07:38:50 -07:00
Tiago Costa 75fa47cdcf
chore(NA): moving @kbn/test-subj-selector into bazel (#103562)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 14:59:38 +01:00
ymao1 c05588f077
[Alerting] Enable rule import/export and allow rule types to exclude themselves from export (#102999)
* 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>
2021-06-28 20:35:27 -04:00
Nathan Reese bf6be219e8
[Maps] deprecate 'map.regionmap' kibana config and 'Configured GeoJSON' source (#103373)
* [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>
2021-06-28 16:27:41 -06:00
Joe Portner 196531502f
Sharing saved objects phase 3.5 (#100424) 2021-06-28 18:06:54 -04:00
Vadim Dalecky 82e32faf1a
Locator docs (#103129)
* 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>
2021-06-28 21:44:11 +02:00
Yuliia Naumenko 73e8871be0
[Alerting][Docs] Support enablement documentation. (#101457)
* [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>
2021-06-28 11:57:17 -07:00
Wylie Conlon cfd836014d
[Vega] Allow faceted Vega-Lite charts to take correct size (#103352)
* [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>
2021-06-28 14:41:06 -04:00
Alexey Antonov 15b0dbff7b
[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>
2021-06-28 19:18:30 +03:00
Stratoula Kalafateli 8fa4421cac
Update TSVB docs with guidelines on how to group by multiple fields (#103224)
* Update TSVB FAQ section with guidelines on how to group by multiple fields

* Apply text suggestion
2021-06-28 18:13:31 +03:00
Tiago Costa 22d5c90855
chore(NA): moving @kbn/spec-to-console into bazel (#103470)
* chore(NA): moving @kbn/spec-to-console into bazel

* chore(NA): fix licenses
2021-06-28 15:58:41 +01:00
Yuliia Naumenko 648841429c
Update health.asciidoc 2021-06-28 07:35:03 -07:00
Josh Dover 6ba26db8d3
Add warning toast when server.publicBaseUrl not configured correctly (#85344) 2021-06-28 10:24:13 -04:00
Pierre Gayvallet 672653776d
Allow additive csp configuration (#102059)
* 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
2021-06-25 20:41:37 +02:00
Wylie Conlon d16a464a4c
[Lens] Document common formulas in product and add formula tutorial (#103154)
* [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>
2021-06-25 13:13:57 -04:00
Marco Liberati dfc70bdfd1
[Lens] Enable actions on Lens Embeddable (#102038)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-25 14:59:36 +02:00
Luke Elmers bd2215f587
[docs][migrations v2] Update SO migration docs to include removal of index write block when handling corrupt SOs. (#103014) 2021-06-24 15:46:19 -07:00
Janeen Mikell-Straughn bfb98053d6
[DOCS] Security Overview (#103151)
* 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>
2021-06-24 12:53:56 -04:00
Chris Roberson dd072c3927
[Task Manager] Add config switch around logging at different levels based on the state (#102804)
* 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>
2021-06-24 11:09:47 -04:00
Stratoula Kalafateli 1d2cebafd2
[VisTypePie] Use a different advanced setting for pie charts (#103049)
* Different switch for pie

* Remove unused translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-24 12:33:35 +03:00
Tiago Costa 17adfacb1b
chore(NA): moving @kbn/cli-dev-mode into bazel (#103067)
* chore(NA): moving @kbn/cli-dev-mode into bazel

* chore(NA): merge and solve conflicts with master
2021-06-23 23:50:49 -04:00
Tiago Costa 59423927cb
chore(NA): moving @kbn/plugin-helpers into bazel (#103181)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 23:49:04 -04:00
Liza Katz 77fe1c1087
[Query] Use a minimal index pattern interface for es query (#102364)
* 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>
2021-06-23 22:40:56 +03:00
Steph Milovic 2dc1715a8a
[Security Solution] [Cases] Swimlane Connector for Cases (#100086)
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>
2021-06-23 22:14:43 +03:00
ymao1 874dfc62f4
[Actions] Rename tls.* configs to ssl.* (#102902)
* Changing tls to ssl

* Changing tls to ssl

* Updating docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 14:37:31 -04:00
Josh Dover 524401973f
Add timeouts and setup enforcement for custom plugins statuses (#77965) 2021-06-23 13:58:10 -04:00
Wylie Conlon f49ecb3d1a
Update chart reference docs (#102430)
* Update chart reference docs

* Update from feedback

* Update from review feedback

* Update more from comments

* Apply left alignment
2021-06-23 09:53:16 -04:00
Liza Katz f8a03829ea
Allow restored session to run missing searches and show a warning (#101650)
* 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>
2021-06-23 15:20:21 +03:00
Tiago Costa e1ec8b05b6
chore(NA): moving @kbn/optimizer into bazel (#102965)
* chore(NA): moving @kbn/optimizer into bazel

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

* chore(NA): update snapshots
2021-06-23 11:11:13 +01:00
Joe Portner 00a6bdd401
Allow initialNamespaces to be used for isolated types (#102585) 2021-06-22 20:36:04 +02:00
Alison Goryachev c33138e5cb
[Rollups] Migrate to new page layout (#102268) 2021-06-22 14:13:48 -04:00
Tiago Costa 3da2ac8927
chore(NA): moving @kbn/ui-framework into bazel (#102908) 2021-06-22 13:11:24 -04:00
Mike Côté 5ffe26cbf3
Add "Unable to decrypt attribute apiKey" to the alerting troubleshooting docs (#101315)
* Initial commit

* PR feedback

* PR feedback pt 2

* PR feedback pt 3
2021-06-22 12:30:40 -04:00
Jonathan Budzenski 11e68fda87
[packages] Move @kbn/interpreter to Bazel (#101089)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-22 09:59:20 -05:00
Stratoula Kalafateli fbf4f26e39
[Docs] Drilldowns only for timeseries TSVB charts (#102481)
* [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>
2021-06-22 17:26:28 +03:00
Tiago Costa 7c429f725e
chore(NA): moving @kbn/storybook into bazel (#102731)
* 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
2021-06-21 20:17:54 +01:00
Wylie Conlon fd4d4eec5c
Recommendation for known Vega-Lite issue (#102547) 2021-06-21 15:02:53 -04:00
ymao1 f53fc8d3de
[Alerting][Docs] Removing placeholder sections in docs (#101953)
* 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>
2021-06-21 14:27:18 -04:00
ymao1 6c699a562c
[Alerting] Updating audit event terminology (#102263)
* Updating audit terminology

* Fixing unit tests

* Updating audit docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-21 14:17:44 -04:00
Joe Reuter 7765fc7c14
[Lens] Fix time shift bug (#102528) 2021-06-21 16:53:27 +02:00
Nicolas Chaulet 307a5b2e93
[Fleet] Use docLinks service to link to the doc (#102660) 2021-06-21 09:46:56 -04:00
Jorge Sanz d7f2325e09
[Maps] [Docs] Added emsUrl to the main kibana config doc (#102718) 2021-06-21 13:35:50 +02:00
Pierre Gayvallet 59d7f33115
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
2021-06-21 10:06:54 +02:00
Nik Richers db312e540d
Add email connector info for Elastic Cloud (#91363)
* Move content into new location to fix merge conflict

* Add whitelisting callout
2021-06-18 13:45:36 -07:00
Tiago Costa cee33b004c
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>
2021-06-18 16:09:31 +01:00
François-Clément Brossard 8270959760
[DOC] Add experimental disclaimer to rollup jobs (#95624)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 15:51:01 -04:00
Lisa Cawley e3454ead84
[DOCS] Updated Kibana alerting/rules language (#101977) 2021-06-17 11:14:12 -07:00
Ryland Herrick ac07ebba87
[Security Solution] kbn package for generic hook utils (#101976)
* 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>
2021-06-17 12:09:17 -05:00
Stratoula Kalafateli 36f8cb394e
[Visualizations] Update the kibana.json with the owner and the description (#102459)
* [Visualizations] Update the kibana.json with the owner and the description

* Update plugin list
2021-06-17 14:36:45 +03:00
Marco Liberati 7f625530fb
[Lens] Add some more documentation for dynamic coloring (#101369)
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 10:27:25 +02:00
Joe Reuter c75f369536
[Lens] Docs for time shift (#102048) 2021-06-17 09:32:28 +02:00
Joe Portner d4cc6861a1
Update security best practices document (#100814) 2021-06-16 18:24:01 -04:00
Tim Sullivan a816dae162
[Reporting/Docs] Add section to troubleshooting guide to explain the StatusCodeError logs (#102278)
* [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>
2021-06-16 13:55:53 -07:00
Janeen Mikell-Straughn dcb5a6708d
[DOCS] Updating Elastic Security Overview topic (#101922)
* updating overview topic for Kibana

* formatting fixes

* small formatting tweaks

* small formatting tweaks
2021-06-16 15:45:12 -04:00
Chris Roberson ab2a80f4b0
[Task Manager] Log at different levels based on the state (#101751)
* 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 15:20:28 -04:00
Wylie Conlon e47ee5ace7
Fix 7.13 aggregation reference issue (#102256) 2021-06-16 12:42:15 -04:00
Liza Katz 8abb656d7f
[Kuery] Move json utils (#102058)
* 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>
2021-06-16 18:15:47 +03:00
Wylie Conlon bdc87409ba
[Lens] Create mathColumn function to improve performance (#101908)
* [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>
2021-06-16 10:35:55 -04:00
Stacey Gammon a7b0391702
Use export type instead of export to reduce bundle size (#101796)
* Use export type instead of export to reduce bundle size

* Update legacy docs

* update docs again

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 09:28:50 -04:00
Alexey Antonov 78b803be2b
Add telemetry for editor clicks events (#100664)
* Track editor clicks events

Closes: #98949

* add create and open telemetries

* add telemetry for dashboard

* remove hardcoded originatingApp for lens

* DashboardConstants.DASHBOARDS_ID ->  DashboardConstants.DASHBOARD_ID

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 16:16:56 +03:00
Joe Reuter 4180a026b7
[Lens] Formula overall functions (#99461) 2021-06-16 10:22:26 +02:00
Giovanni Geraci 93d63b9b7d
Remove old limit on Console application (#100882)
In latest stable version of Kibana(7.13), Console application seems to be not limited anymore to connecting only to the first host defined in elasticsearch.hosts defined on kibana.yml.
On previous Kibana releases, if the first Elasticsearch host was not available(i.e. maintenance or failure), Console application was returning an error: "Client request error: connect EHOSTUNREACH".

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 18:43:34 -07:00
Wylie Conlon 2c17897f06
Update aggregation reference docs for 7.14 (#101931)
* Update aggregation reference docs for 7.13

* Add more reference about filtered metrics

* [Lens] Document updates for 7.14

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 12:28:13 -04:00
Pablo Machado 7dfe2030de
[Core] Update getUrlForApp to support deepLinks (#102172)
* [Core] Update getUrlForApp to support deepLinks

* Add unit tests to getUrlForApp with deepLinkId parameter
2021-06-15 16:55:41 +02:00
Joe Reuter c47bf48261
background session limitation docs (#102050) 2021-06-15 14:33:29 +02:00
ymao1 61602fe2be
[Alerting][Docs] Reformatting rule types docs (#101420)
* Reformatting rule types docs

* Apply suggestions from code review

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

* Restructure geo rule page

* Apply suggestions from code review

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

* PR fixes

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-06-14 20:40:43 -04:00
Gidi Meir Morris daa3f62cda
[Task Manager] adds capacity estimation to the TM health endpoint (#100475)
Adds Capacity Estimation to the Task Manager Health Endpoint.
Below is a diagram depicting what information we use to estimate the varying capacity variables.

Please use the user facing docs to understand how it fits together. If the docs aren't clear enough - make a review comment and I'll clarify in the docs.
2021-06-14 13:52:30 +01:00
Michael Dokolin 9bcae4d9cb
[Expressions] Refactor expression functions to use observables underneath (#100409) 2021-06-11 09:53:04 +02:00
Lisa Cawley 95604fdd22
[DOCS] Fixes terminology in Stack Monitoring:Kibana alerts (#101696) 2021-06-10 15:48:08 -07:00
ymao1 b242765654
[Alerting][Docs] Combine rule creation and management pages (#101498)
* Combining rule management stuff into single page

* Cleaning up image widths and header sizes

* Adding in placeholder pages

* Adding in placeholder pages

* Apply suggestions from code review

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

* PR and test fixes

* Apply suggestions from code review

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

* PR fixes

* PR fixes

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-10 17:46:53 -04:00
ymao1 5a1f370580
[Alerting][Docs] Moving alerting setup to its own page (#101323)
* Restructuring main alerting page. Adding separate setup page

* Fixing links

* Moving suppressing duplicate notifications section

* Adding redirect

* Reverting redirect. Adding placeholder link

* Adding placeholder text

* Apply suggestions from code review

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

* Setup page PR fixes

* Alerting page PR fixes

* Update docs/user/alerting/alerting-setup.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>
2021-06-10 15:14:07 -04:00
Wylie Conlon 542fe02e1f
Update aggregation reference docs for 7.13 (#101913)
* Update aggregation reference docs for 7.13

* Add more reference about filtered metrics
2021-06-10 13:42:55 -04:00
Michael Dokolin bde81c2090
[Expressions] Create expressions function to get UI settings (#101317) 2021-06-10 15:17:52 +02:00
Tiago Costa 21d04614ea
chore(NA): moving @kbn/server-route-repository into bazel (#101484)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-09 21:39:31 +01:00
Stacey Gammon 0254ff06b5
Support owner and description attributes inside the Manifest file, use in API docs (#101786)
* Support owner and description in manifest file, add to mdx output for each plugin

* Update parse_kibana_platform_plugin.ts

* edit a couple kibana.jsons

* Update write_plugin_mdx_docs.ts

* update api docs

* Update core server manifest plugin types

* update core docs

* Fix type_check failure
2021-06-09 16:18:21 -04:00
Lisa Cawley c20815b070
[DOCS] Adding file upload to add data page (#101674) 2021-06-09 12:36:27 -07:00
Gidi Meir Morris 03541e6196
clarify which parts of TM are experimental (#101757) 2021-06-09 17:26:03 +01:00