Commit graph

3246 commits

Author SHA1 Message Date
Diana Derevyankina b000066d64
[TSVB] Support custom field format (#101245) (#111928)
* [TSVB] Support custom field format

Add format_label response processor for series vis data and bucket key formatting to process_bucket for table vis data

* Add ignore_field_formatting for series to support value formatting for all panel types except markdown

* Fix type issue for visData and rename getCustomFieldFormatter to createCustomFieldFormatter

* Update vis.test to cover custom field formats logic and add a migration script to set ignore_field_formatting to true for the series

* Move createCustomFieldFormatter to a separate file, make formatting respect only active metrics field name, refactor vis files and fix label formatting only for grouped by terms series

* Remove services, add getFieldFormatsService  to use it in format_label and get_table_data, replace getCustomFieldFormatter with createCustomFieldFormatter

* Update plugin.ts

* Update start for plugin.ts

* Add formatting for annotations and markdown values

* Refactor some code

* Update some naming and conditions

* Fix formatting of data type labels

* In process_bucket fix case for no getFieldFormatByName

* Add field formatting functional tests for all panel types

* Update tests to make them run correctly for firefox

* Update _tsvb_markdown test setup

* Move series ignoreFieldFormatting check to a separate file, change convertSeriesToVars signature, update migration script and refactor a bit functional tests

* Fix type check for timeseries_visualization.tsx

* Update migrations.js test expected version to 7.15

* Fix tests in _tsvb_chart.ts

* Fix merge conflict remove process_bucket.js

* Update process_bucket.test.ts

* Fix markdown labels formatting

* Add ignore_field_formatting for annotations, enhanced migration script to set that flag to true, refactor data_format_picker

* Fix migration script and add disabling for ignore component when string index pattern is used

* Add supporting URL and color formatters in tsvb table

* Fix eslint

* Remove ignore formatting component, add field formatting option to TSVB data format picker and make it default, remove migration script, update tests and refactor some files

* Fix failing tests, refactor create_field_formatter and add test to it, update some other files

* Fix series formatting for top hit when it has not numeric result

* Handle no fieldFormatMap case for table/vis.js

* Remove "Default" option form DataFormatPicker when index pattern is string, fix markdown variables issue and refactor some code

* Chore(TSVB): Replace aggregations lookup with map

* Fix types, update test expected data and remove unused translations

* Fix i18 check and useEffect in agg.tsx

* Handle aggregations field formatting case

* Fix agg_utils, vis and check_if_numeric_metric tests

* Correct typo and refactor condition in std_metric

* Fix type check

* Get rid of IFieldType

* Add URL and color formatting for topN and metric tabs, fix setting initial custom formatter and switching formatter in agg.tsx

* Update tsvb.asciidoc

* Remove link icon from Date format field help text, update click logic for top N in case of custom field format and fix CI

* Remove unused import

* Revert top N bar extra logic for click

* Refactor some code in agg.tsx

* Add URL and color formatting to Gauge

* Fix bug with terms formatting, refactor some code, update create_field_formatter

* Add comments to _gauge.scss

* Remove unnecessary await

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
2021-09-13 07:18:34 -04:00
Uladzislau Lasitsa 7c49a2d7b7
[7.x] Timelion App removal (#110255) (#111851)
* Timelion App removal (#110255)

* Remove timelion app and stuff which related to it

* Fix CI

* Fix lint

* Fix tests

* Fix tests

* Fis tests

* Fix some comments

* Clean up

* fix CI

* fix some comments

* Fix deprecation examples

* Return `enabled` property in config for timelion vis

* Remove unused angular lib

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

* Fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-09-10 15:57:40 -04:00
Rudolf Meijering ca2980eb19
[7.x] legacy dashboards import/export API: deprecation logs and usage data (#111283) (#111710)
* legacy dashboards import/export API: deprecation logs and usage data (#111283)

* Move legacy dashboards API to core and adds usage data

* More legacy_export plugin removal

* Log a warning for deprecated dashboard import/export API

* Review comments
# Conflicts:
#	.github/CODEOWNERS
#	docs/developer/plugin-list.asciidoc
#	src/core/server/saved_objects/routes/legacy_import_export/lib/index.ts

* Fix type errors
2021-09-10 06:50:29 -04:00
Lisa Cawley 5b88ab7661
Replace hard-coded links in infra alerting (#111072) (#111786) 2021-09-09 16:37:56 -04:00
Chris Roberson 0d4c39d133
[Actions] Treat failures as successes for Task Manager (#109655) (#111769)
* Support retry with email as an example

* Fix tests

* Add logic to treat as failure if there is a retry

* Handle retry better

* Make this optional

* Tweaks

* Remove unnecessary code

* Fix existing tests

* Add some unit tests

* Add test

* Add doc note

* More docs

* PR feedback

* Update docs/management/action-types.asciidoc

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

* Update docs/management/action-types.asciidoc

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

* Update docs/management/action-types.asciidoc

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

* Update docs/management/action-types.asciidoc

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

* Update docs/management/action-types.asciidoc

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

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: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-09 15:11:30 -04:00
Kaarina Tungseth afe7869b19
[DOCS] Adds preview to runtime fields (#110327) (#111764)
* [DOCS] Adds preview to runtime fields

* Final draft changes

* Review comments
2021-09-09 12:53:37 -04:00
Lisa Cawley f05e18da34
[DOCS] APM failed transaction correlations (#111219) (#111742) 2021-09-09 08:53:10 -07:00
Dzmitry Lemechko 8dd4f49d9f
[jest] update config files to get coverage per plugin (#111299) (#111674)
* [jest] update config files to get coverage per plugin

* [docs] add details about plugin coverage collection

* fix path for newsfeed jest config

* fix lint error

* update documentation

* fix lint errors again

* update doc

* fix another lint error

* Update src/plugins/telemetry_management_section/jest.config.js

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update src/plugins/telemetry_management_section/jest.config.js

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* [kibana_legacy] fix path

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-ui-framework/README.md
#	src/plugins/legacy_export/jest.config.js
2021-09-09 04:47:28 -04:00
Kibana Machine 5739942a2a
[docs/docker] Include server.shutdownTimeout in default configuration (#111468) (#111647)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-08 16:15:54 -04:00
Lisa Cawley 56cb2fdd36
[7.x] Replace hard-coded doc links in uptime #111075 (#111576) 2021-09-08 12:57:33 -07:00
Jonathan Budzenski d39a53f274
[7.x] [docker] Replace deprecated server.host value in default config (#111467)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-08 14:35:31 -05:00
Stratoula Kalafateli 705d2b07c8
[7.x] [Vislib] Removes old implementation of xy chart (#110786) (#111558)
* [Vislib] Removes old implementation of xy chart (#110786)

* [Vislib] Remove xy chart

* Update i18n

* Remove uncecessary file

* Fix types

* More fixes

* Fix functional tests part 1

* Fix functional tests part 2

* Fix bug with shard-delay

* Fix functional tests part 3

* fix functional tests part4

* Fix async_serch FT

* Fix functional dashboard async test

* REplace screenshot area chart image

* Cleanup vislib from xy charts

* Remove unused fixtures

* Address PR comments

* Remove miaou :D

* Address PR comments

* Fix i18n

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/management/advanced-options.asciidoc
#	test/functional/screenshots/baseline/area_chart.png

* Fixes

* Remove setting from docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-08 14:41:12 -04:00
Kibana Machine 2736520d28
[sample data] update web log geo.src field to match country code of geo.coordinates (#110885) (#111434)
* [sample data] update web log geo.src field to match country code of geo.coordinates

* fix functional tests

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

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-09-07 15:17:35 -04:00
Kibana Machine 43d55d95dd
add hasHeaderBanner$ API to chrome (#111248) (#111391)
* add hasHeaderBanner$ API to chrome

* update generated doc

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-09-07 12:15:29 -04:00
István Zoltán Szabó e7aef42036
[APM] Uses doc link service instead of ElasticDocsLink for linking custom links (#111149) (#111334) 2021-09-07 07:28:42 -04:00
István Zoltán Szabó c9e42c92ea
[APM] Uses doc link service instead of ElasticDocsLink for linking dropped transaction spans (#110964) (#111315) 2021-09-07 04:50:39 -04:00
István Zoltán Szabó 2cace2f7ec
[APM] Uses doc link service instead of ElasticDocsLink for linking upgrading info (#111155) (#111293) 2021-09-06 13:35:12 -04:00
István Zoltán Szabó 17d06c8a07
[APM] Uses doc link service instead of ElasticDocsLink for linking metadata (#110992) (#111282) 2021-09-06 11:15:17 -04:00
Kibana Machine 04fd82e140
[APM] Clean up readme (#110973) (#111237)
* [APM] Clean up readme

* Update linting.md

* Update testing.md

* Update testing.md

* Update testing.md

* Update plugin-list.asciidoc

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

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
2021-09-05 20:00:02 +00:00
Kibana Machine 495c3fb1a0
[Alerting][Docs] Add de-duplication example to ES query docs + update email docs wording (#111026) (#111226)
* Change to allowlist

* Adding example to es query rule

* 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: ymao1 <ying.mao@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-09-03 18:59:44 -04:00
Kibana Machine dd3357f5ac
[Docs] Logging settings: add explanation of appenders, loggers and root (#111013) (#111204)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-09-03 15:16:55 -04:00
ymao1 ef2e1306f4
[Actions] Allowing service specification in email connector config (#110458) (#111146)
* Initial commit of serverType in email connector config

* Fleshing in route to get well known email service configs from nodemailer

* Adding elastic cloud to well known server type

* Cleaning up email constants and allowing for empty selection

* Showing error if user doesn't select server type

* Adding hook for setting email config based on server type

* Adding tests and making sure settings are not overwritten on edit

* Fixing functional test

* Adding migration

* Adding functional test for migration

* Repurposing service instead of adding serverType

* Cleanup

* Disabling host/port/secure form fields when settings retrieved from API

* Updating docs for service

* Filtering options based on whether cloud is enabled

* Initialize as disabled

* Fixing types

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

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/actions/server/saved_objects/actions_migrations.test.ts
#	x-pack/plugins/actions/server/saved_objects/actions_migrations.ts
2021-09-03 12:20:31 -04:00
Kibana Machine a61da28f52
Adding experimental to event log mentions in the docs (#110876) (#111113)
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-09-03 07:46:50 -04:00
Rudolf Meijering 93dfcc6be3
[7.x] Migrationsv2: limit batch sizes to migrations.batchSizeBytes (= 100mb by default) (#109540) (#110967)
* Migrationsv2: limit batch sizes to migrations.batchSizeBytes (= 100mb by default) (#109540)

* Fix logging for existing integration test

* First stab at limiting batches to batchSizeBytes

* Fix tests

* Fix batch size calculation, NDJSON needs to be terminated by an empty line

* Integration tests

* Fix type failures

* rename migration integration tests and log files to be consistent & more descriptive

* Review feedback

* Remove duplication of fatal error reasons

* migrations.maxBatchSizeBytes to docker environment vars

* docs for migrations.maxBatchSizeBytes
# Conflicts:
#	src/core/server/saved_objects/migrationsv2/integration_tests/7_13_0_unknown_types.test.ts
#	src/core/server/saved_objects/migrationsv2/integration_tests/migration_from_v1.test.ts

* Fix tests on 7.x being off by one byte

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-03 07:36:13 -04:00
Stratoula Kalafateli c13f6ad381
Move to vis_types folder part 2 (#110574) (#111092)
* Move to vis_types folder part 2

* fix jest tests

* do some tests

* revert

* Test Tiago's fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
2021-09-03 06:47:26 -04:00
Kaarina Tungseth e3ebd8ed23
[7.x] [DOCS] Adds security updates to 7.14.1 release notes (#111007) (#111062) 2021-09-02 18:14:25 -04:00
Kaarina Tungseth 569406ad15
[DOCS] Updates Spaces page (#111005) (#111056) 2021-09-02 18:03:45 -04:00
Kaarina Tungseth 35ae2d62d0
[DOCS] Adds Lens Inspector and minor edits (#109736) (#111053)
* [DOCS] Adds Lens Inspector and minor edits

* Update docs/user/dashboard/lens.asciidoc

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

* Removes outdated menus and adds new visual component content

* Updates with review comments

* Last review comment

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-09-02 18:02:29 -04:00
gchaps a7efb20251
[DOCS] Updates Discover docs (#110346) (#111008)
* [DOCS] Updates search for relevance doc

* [DOCS] Updates Discover intro doc
2021-09-02 12:08:13 -04:00
Lisa Cawley 64c333c6dc
[DOCS] Latency correlations (#110557) (#110887) 2021-09-01 18:33:20 -04:00
Lisa Cawley 7b30aec2e2
[APM] Use doc link service instead of ElasticDocsLink (#109027) (#110873) 2021-09-01 17:37:05 -04:00
Tim Sullivan fd566bd4dc
Update reporting-settings.asciidoc (#110752) (#110882) 2021-09-01 16:06:18 -04:00
Ahmad Bamieh f85a7b9e7e
[7.x] [Core deprecations] Add title field to deprecation info (#109840) (#110776)
* merge conflicts

* fix snapshot
2021-09-01 12:06:21 -04:00
Sergi Massaneda 9e6a2821c9
[7.x] [RAC] Remove rbac on security solution side (#110472) (#110765)
* [RAC] Remove rbac on security solution side (#110472)

* wip to remove rbac

* Revert "[Cases] Include rule registry client for updating alert statuses (#108588)"

This reverts commit 1fd7038b34.

This leaves the rule registry mock changes

* remove rbac on Trend/Count alert

* update detection api for status

* remove @kbn-alerts packages

* fix leftover

* Switching cases to leverage update by query for alert status

* Adding missed files

* fix bad logic

* updating tests for use_alerts_privileges

* remove index alias/fields

* fix types

* fix plugin to get the right index names

* left over of alis on template

* forget to use current user for create/read route index

* updated alerts page to not show table when no privileges and updates to tests

* fix bug when switching between o11y and security solution

* updates tests and move to use privileges page when user tries to access alerts without proper access

* updating jest tests

* pairing with yara

* bring back kbn-alerts after discussion with the team

* fix types

* fix index field for o11y

* fix bug with updating index priv state

* fix i18n issue and update api docs

* fix refresh on alerts

* fix render view on alerts

* updating tests and checking for null in alerts page to not show no privileges page before load

* fix details rules

Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
Co-authored-by: Yara Tercero <yara.tercero@elastic.co>
# Conflicts:
#	x-pack/plugins/security_solution/cypress/integration/detection_alerts/alerts_details.spec.ts

* skip test

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2021-09-01 10:31:01 -04:00
Kaarina Tungseth 14a11036ed
[7.x] [DOCS] Adds the 7.14.1 release notes (#110107) (#110672) 2021-09-01 09:28:29 -05:00
Kibana Machine c64623753a
[DOCS] Documenting securitySolution:defaultThreatIndex field (#110313) (#110721)
Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>
2021-08-31 17:31:18 -04:00
Stacey Gammon e7dbd91d3d
[7.x] Make owner attribute required on kibana.json (#108231) (#110215)
* Make owner attribute required on kibana.json (#108231)

* make owner attribute required

* Add owner properties in more places

* add test for owner attribute

* add error check too in the test

* Fix tests

* fix tests and update docs

* wip

* More test fixes

* Fix All The Errorz

* Adding more owner attributes

* Update x-pack/test/saved_object_api_integration/common/fixtures/saved_object_test_plugin/kibana.json

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

* Update x-pack/test/ui_capabilities/common/fixtures/plugins/foo_plugin/kibana.json

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

* commeeeooonnnn

* Update docs

* soooo many kibanajsons

* adjust plugin generator to add an owner

* Add owner to the plugin generator scripts

* update snapshot

* Fix snapshot

* review updates

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	dev_docs/tutorials/building_a_plugin.mdx
#	src/dev/code_coverage/ingest_coverage/integration_tests/fixtures/test_plugin/kibana.json
#	test/common/fixtures/plugins/coverage/kibana.json

* Update kibana.json

Add owner attribute

* Remove this json file. It was deleted.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 16:19:52 -04:00
Tim Sullivan 4c5328bc0f
[Reporting/Docs] Clarify reporting user access control options (#110545) (#110690)
* [Reporting/Docs] Clarify reporting user access control with kibana privileges

* add reporting docs to code owners

* Update docs/setup/configuring-reporting.asciidoc

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

* Update docs/settings/reporting-settings.asciidoc

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

* Update docs/setup/configuring-reporting.asciidoc

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

* Update docs/setup/configuring-reporting.asciidoc

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

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
# Conflicts:
#	.github/CODEOWNERS
2021-08-31 14:18:43 -04:00
Matthew Kime 3d3cb0c46f
Turn off api changes for app services and remove legacy docs for App Services plugins (#109927) (#110378)
* Turn off legacy docs build script for app services plugins

* Remove legacy docs

* remove all *.api.md (minus core)

Co-authored-by: Stacey Gammon <gammon@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 11:54:23 -04:00
Kibana Machine 3043d31a11
[Alerting] Remove predefined connectors from rule reference array (#109437) (#110317)
* Exposing preconfigured connectors through actions setup contract

* Adding stub for migration using preconfigured connectors

* Adding isPreconfigured fn to actions client

* Updating rules client logic to not extract predefined connector ids

* Functional tests

* Adding migration

* Adding functional test for migration

* Adding functional test for migration

* Adding note to docs about referenced_by_count if is_preconfigured

* Fixing functional test

* Changing to isPreconfiguredConnector fn in actions plugin setup contract

* Update docs/api/actions-and-connectors/get_all.asciidoc

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-08-26 17:09:28 -04:00
Kibana Machine 247f6102b2
bulkGet saved objects across spaces (#109967) (#110270)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-08-26 13:56:29 -04:00
Kibana Machine 8875ce2a9a
[Lens] Inspect flyout should be available in editor mode. (#109656) (#110243)
* [Lens] Inspect flyout should be available in editor mode.

* fix typo

* add test

* add functional tests for inspector

* toMatchInlineSnapshot -> toMatchSnapshot

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

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-08-26 12:42:45 -04:00
Kaarina Tungseth 1ceb2e833c
[7.x] [DOCS] Adds additional index pattern attributes (#110287) 2021-08-26 11:37:39 -05:00
Kaarina Tungseth 7f7943f1e5
[DOCS] Adds index pattern attributes (#109933) 2021-08-26 11:06:44 -05:00
Jean-Louis Leysens 3797202169
[Reporting/Dashboard] Update integration to use v2 reports (#108553) (#110177)
* very wip, updating dashboard integration to use v2 reports. at the moment time filters are not working correctly

* added missing dependency to hook

* added tests and refined ForwadedAppState interface

* remove unused import

* updated test because generating a report from an unsaved report is possible

* migrated locator to forward state on history only, reordered methods on react component

* remove unused import

* update locator test and use panel index number if panelIndex does not exist

* ensure locator params are serializable

* - moved getSerializableRecord to locator.ts to ensure that the
  values we get from it will never contain something that cannot
  be passed to history.push
- updated types to remove some `& SerializableRecord` instances
- fixed embeddable drilldown Jest tests given that we no longer
  expect state to be in the URL

* update generated api docs

* remove unused variable

* - removed SerializedRecord extension from dashboard locator params
  interface
- factored out state conversion logic from the locator getLocation

* updated locator jest tests and SerializableRecord types

* explicitly map values to dashboardlocatorparams and export serializable params type

* use serializable params type in embeddable

* factored out logic for converting panels to dashboard panels map

* use "type =" instead of "interface"

* big update to locator params: type fixes and added options key

* added comment about why we are using "type" alias instead of "interface" declaration

* simplify is v2 job param check

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 06:12:37 -04:00
Brandon Morelli 1177ab422e
docs: remove tabbed widget code (#109944) (#110140) 2021-08-25 16:11:59 -04:00
Kaarina Tungseth 0b627d891c
[DOCS] Fixes Get Task Manager health API formatting (#109541) 2021-08-25 13:52:44 -05:00
Kibana Machine 121d28c589
Remove unused deprecated api (#109921) (#110089)
* remove unused deprecated apis

* Update legacy docs

Co-authored-by: Stacey Gammon <gammon@elastic.co>
2021-08-25 14:28:50 -04:00
Kibana Machine 229d735fee
[IndexPatterns] Clean up StubIndexPattern (#108555) (#110026)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-08-25 08:55:33 -04:00
gchaps 3006381216
[7.x] [DOCS] Updates create index pattern (#106935) (#109748)
* [DOCS] Updates create index pattern (#106935)

* [DOCS] Updates create index pattern

* [DOCS] Adds info on refresh

* Update docs/concepts/index-patterns.asciidoc

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

* Update docs/concepts/index-patterns.asciidoc

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

* Update docs/concepts/index-patterns.asciidoc

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

* Update docs/concepts/index-patterns.asciidoc

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

* Update docs/concepts/index-patterns.asciidoc

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

* [DOCS] Addresses more review comments

* [DOCS] Updates images

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

* Update docs/concepts/index-patterns.asciidoc

* Update docs/concepts/index-patterns.asciidoc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2021-08-24 17:28:36 -04:00
Kibana Machine 2eece0e659
[Maps][Docs]Reverse geocoding tutorial (#108712) (#109869)
* [Maps] reverse geocoding tutorial

* reverse geocoding step

* add final step

* use dash delemiter instead of underscore in file name

* add float to step 3 so its on the same page

* add into to step 3

* update csa URL to point to elastic/examples repo

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* review feedback

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

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

* add sentence about not needing geoip

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-24 11:27:15 -04:00
Kibana Machine 4bdee23be3
[Alerting][Docs] Updating alerting setup docs (#109285) (#109827)
* Updating alerting authorization docs

* 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: 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-08-24 08:37:57 -04:00
Kibana Machine 94b12f1af4
[Data][Es Query] Use ES types in Filters (#108378) (#109793)
* es-query types

* jest and lint

* cc

* options

* type

* types for kuery FUNCTIONS

* doc

* types for filters

* sec fixes

* filtersss

* typey type

* typey type

* comparator options

* test typescript

* test

* fixes

* test types

* test

* cr

* cleanup a bit more

* Jest fix + types

* Remove geo bounding box and geo polygon filters

* delete geo filters

* geo

* geo

* Fix tests \_0_/

* doc

* types and fixes

* jests

* ts

* Remove geo bounding box and geo polygon filters

* delete geo filters

* delete geo filters

* geo

* remove geo docs

* ts

* plg ts

* types

* cast

* Update types.ts

* Update create_threat_signal.ts

* Update packages/kbn-es-query/src/es_query/migrate_filter.ts

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

* Code review

* revert change

* docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2021-08-24 07:56:17 -04:00
Uladzislau Lasitsa e4fa7e4936
[Saved Search] Interrupted Loading Throws Console Error (#108926) (#109775)
* Add check if embeddable was destroyed.

* Move isDestroyed inside SavedSearchEmbeddable

* Use destroyed variable from parent

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-24 06:05:04 -04:00
Alison Goryachev 77fe9ecf30
[Upgrade Assistant] Update readme (#109502) 2021-08-23 20:17:59 -04:00
Joe Portner 492de4ecdd
Remove spacesOss plugin (#109258) (#109649)
# Conflicts:
#	.eslintrc.js
#	.github/CODEOWNERS
#	src/plugins/dashboard/kibana.json
2021-08-23 15:19:50 -04:00
CJ Cenizal 1992766934
Add more details to and reformat the Cloud plugin README. (#109529) (#109681) 2021-08-23 13:44:38 -04:00
Aleh Zasypkin 6fe650d303
Cumulative set of the preboot stage adjustments (#108514) (#109646)
# Conflicts:
#	src/plugins/interactive_setup/server/elasticsearch_service.test.ts
#	src/plugins/interactive_setup/server/elasticsearch_service.ts
#	src/plugins/interactive_setup/server/routes/enroll.test.ts
#	src/plugins/interactive_setup/server/routes/enroll.ts
2021-08-23 11:22:31 -04:00
Yaroslav Kuznietsov 94bdff6e8a
[Canvas] Expression tagcloud (#108036) (#109627)
* Added `expression_tagcloud` plugin.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-optimizer/limits.yml
2021-08-23 09:58:32 -04:00
Kibana Machine d17d2e7cea
Add multiple namespaces support to PIT search and finder (#109062) (#109603)
* initial modifications

* change approach for openPointInTime and add tests for spaces wrapper changes

* fix and add security wrapper tests

* fix export security FTR tests

* update generated doc

* add tests for PIT finder

* NIT

* improve doc

* nits

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-08-23 08:22:55 -04:00
Kibana Machine f4b98a09db
Fix grammar on stack monitoring alerts modal (#109360) (#109585)
Pretty sure the rules only get created in the current kibana space, but the message is plural. Switching to singular.

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

Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-08-23 02:24:55 -04:00
Anton Dosov 9e00e1e393
[IndexPatterns] No data experience to handle default Fleet assets (#108887) (#109511)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
# Conflicts:
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpatternsservice.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.indexpatternsservice.md
#	src/plugins/data/public/public.api.md
#	src/plugins/data/server/server.api.md

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-21 05:10:53 -04:00
Lukas Olson f087c755d1
[data.search] Handle warnings inside of headers (#103744) (#109298)
* [data.search] Handle warnings inside of headers

* Update docs

* Add tests

* Remove isWarningResponse

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 14:54:54 -04:00
Kaarina Tungseth b1e531e3d5
[DOCS] Reformats the Alerting and action settings tables into definition lists (#107964) (#109498)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 11:39:34 -04:00
Kibana Machine ffad23b11c
Remove unused chrome APIs (#109204) (#109254)
* remove unused chrome APIs

* update generated doc

* fix tests

* fix tests bis

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-08-20 15:38:19 +00:00
Kaarina Tungseth c5b766eeed
[DOCS] Reformats the AleBanner settings tables into definition lists (#107966) (#109494)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 11:26:03 -04:00
Kaarina Tungseth 144b960666
[DOCS] Reformats the Development tools settings tables into definition lists (#107967) (#109490)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 11:24:33 -04:00
Kaarina Tungseth b542cb6b77
[DOCS] Reformats the Graph settings tables into definition lists (#108065) (#109484) 2021-08-20 11:15:19 -04:00
Stratoula Kalafateli a7289d1da8
Move to vis types part 1 (#107535) (#109393)
* Move to vis types part 1

* Fix types

* fix more types

* Fix paths

* Update readme file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
2021-08-20 08:07:08 -04:00
Sandra G 50e484b019
[Monitoring] document monitoring.ui.ccs.enabled (#109318) (#109331)
* monitoring.ui.ccs.enabled doc

* fix links
2021-08-19 15:48:21 -04:00
Kibana Machine e7f12de27c
Remove LegacyRequest type from Core public API (#109243) (#109268)
* remove LegacyRequest from public API

* remove LegacyRequest from Security plugin API

* update docs

* remove an obsolete comment

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-08-19 13:34:32 -04:00
Kibana Machine c431cb5f25
Add deprecation notice to dashboard import/export docs. (#108826) (#109176)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-08-18 19:07:57 -04:00
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