Commit graph

3224 commits

Author SHA1 Message Date
Mikhail Shustov 9f78d17e8f
[Elasticsearch] remove legacy es client (#107619) (#109144)
* remove legacy es client

* update docs

* uninstall elasticsearch package

* fix global_search tests

* ad-hoc fix to address bazel failure. authored by Tiago

* update docs

* remove elasticsearch import. errors are muted with @ts-ignore

* Update WORKSPACE.bazel

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>

* update docs

* fix problem when dev mock already mocked client

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
# Conflicts:
#	src/core/server/elasticsearch/legacy/scoped_cluster_client.test.ts
2021-08-18 15:41:25 -04:00
Liza Katz d3a9cc540d
[Data cleanup] Remove geo filters (#109097) (#109118)
* Remove geo bounding box and geo polygon filters

* delete geo filters

* delete geo filters

* geo

* remove geo docs
2021-08-18 13:41:22 -04:00
Patryk Kopyciński a69287ff58
[Cases] Add Lens markdown plugin (#96703) (#109071)
# Conflicts:
#	x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.test.tsx
#	x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.tsx
#	x-pack/plugins/observability/public/plugin.ts
2021-08-18 13:27:47 -04:00
Katrin Freihofner 85be33c3c6
styling updates to alerts table and alignment of elements (#108507) (#109049)
Co-authored-by: Kerry Gallagher <471693+Kerry350@users.noreply.github.com>

Co-authored-by: Kerry Gallagher <471693+Kerry350@users.noreply.github.com>
2021-08-18 06:38:51 -04:00
Kibana Machine 6acf24aafd
Improves not found response handling in the saved objects repository (#108749) (#108954)
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2021-08-17 18:11:44 -04:00
Yuliia Naumenko d4f4a94da7
[Actions][Docs] Updated ServiceNow docs with information about the user permissions for making CRUD operations. (#108642) (#108955)
* [Actions][Docs] Updated ServiceNow CRUD operations required user permissions.

* Update docs/management/connectors/action-types/servicenow.asciidoc

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

* added sys_choice link

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-08-17 13:59:01 -04:00
Kibana Machine 08202ff2b1
[index pattern management] load index pattern list without loading field lists (#108823) (#108929)
* don't load field list for index pattern list

Co-authored-by: Matthew Kime <matt@mattki.me>
2021-08-17 13:27:51 -04:00
Alexey Antonov 8ea47cf769
[Lens] Make lens_time_scale function to pick timezone from the context (#108366) (#108892)
Part of: #97134

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 11:16:03 -04:00
Kibana Machine 70d8ef3573
[Data][Es Query] Use ES types in Kuery functions (#108367) (#108848)
* 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>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-08-17 12:18:04 +00:00
ymao1 81e86207a4
[Alerting][Docs] Add warning to create rule documentation about using id path parameter (#108552)
* Adding warning to docs

* Trying different ref

* Apply suggestions from code review

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

* Being clearer about when rule ids get regenerated

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-08-17 07:49:46 -04:00
Alison Goryachev 58ad478688
[Upgrade Assistant] Create new status endpoint (#105998) (#108687) 2021-08-16 11:16:48 -04:00
Alison Goryachev d96cffad3d
[Index pattern field editor] Add preview for runtime fields (#100198) (#108611) 2021-08-13 21:31:21 -04:00
Brandon Morelli 712c6ff192
docs: Add anonymous auth to central config (#108285) (#108581)
# Conflicts:
#	docs/apm/agent-configuration.asciidoc
2021-08-13 15:13:30 -04:00
Kibana Machine 595e3ee88e
[docs] Update Maps docs based on 7.14 UI. (#104762) (#108566)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-08-13 13:04:59 -04:00
Chris Roberson 700dca16ec
Deprecate ability to disable alerting, actions, task manager, stack alerts, and event log plugins (#108281) (#108470)
* 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 23:58:06 -04:00
Devon Thomson 6c3580b527
[Dashboard] [Embeddable] Add Ability to Defer Embeddable Loaded State (#107227) (#108459)
Added defer embeddable loading flag to embeddable for embeddables which aren't finished loading after their constructor is finished
2021-08-12 20:06:43 -04:00
Kibana Machine 9203a5918b
[Data][Es Query] Use ES types instead of DslQuery (#108290) (#108447)
* es-query types

* jest and lint

* cc

* options

* type

* type

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-08-12 23:25:46 +00:00
Lisa Cawley 110784d998
[ML] Update intro text for ML in Stack Management (#108280) (#108434)
# Conflicts:
#	docs/user/management.asciidoc
2021-08-12 16:44:29 -04:00
Kibana Machine 2a802af114
[Reporting] Added docs about the new ILM kibana-reporting policy (#108018) (#108172)
* 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>

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-08-11 06:54:21 -04:00
Spencer 79e45f2190
[build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139)
* [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>
# Conflicts:
#	.gitignore
#	examples/hello_world/tsconfig.json
#	tsconfig.json
#	tsconfig.refs.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-11 05:08:54 -04:00
Joe Portner 378bc7674b
Sharing saved objects developer guide (#107099) (#108132)
# Conflicts:
#	docs/developer/advanced/index.asciidoc
2021-08-10 22:59:45 -04:00
Yuliia Naumenko d08b49f313
[Actions UI] Fixed Jira Api token label. (#107776) (#108129)
* [Actions UI] Fixed Jira Api token label.

* fixed tests

* fixed username

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 22:36:12 -04:00
Kibana Machine e05517cab9
Adds new SavedObjectsRespository error type for 404 that do not originate from Elasticsearch responses (#107301) (#108037)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2021-08-10 20:53:52 +00:00
Lisa Cawley 3dfcdf86ce
[DOCS] Updates file upload details for geospatial data (#107985) (#108073) 2021-08-10 13:17:15 -04:00
Kibana Machine 32ebd0af7b
[Data cleanup] unify serializable state (#107745) (#108020)
* 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>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-08-10 13:33:44 +00:00
Mikhail Shustov fdb41b9855
[Execution context] Add nested context support (#107523) (#108002)
* 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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 05:19:07 -04:00
Liza Katz 3ae05d5499
[7.x] Clear out unused imports (#107638) (#107906)
* Clear out unused imports (#107638)

* Clear out unused imports
Add public to some exports

* types and funzies

* flattenHitWrapper

* t

* restore

* SAD

* bad merge
# Conflicts:
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.indexpatternsserviceprovider.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.indexpatternsserviceprovider.setup.md
#	src/plugins/data/public/public.api.md
#	src/plugins/data/server/server.api.md

* oopsy

* docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 04:47:34 -04:00
Lisa Cawley a374bea416
[7.x] [DOCS] Updates file data visualizer details (#107609) (#107992)
* [DOCS] Updates file data visualizer details (#107609)

* Update docs/setup/connect-to-elasticsearch.asciidoc

Fixes version-specific link ID
2021-08-09 22:06:16 -04:00
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