Commit graph

3863 commits

Author SHA1 Message Date
Rudolf Meijering
e79ab079fa
Descriptive logs with docLinks for cluster shard limit exceeded (#132072)
* Descriptive logs with docLinks for cluster shard limit exceeded

* Integration test for isClusterShardLimitExceeded

* Fix jest test snapshots

* Apply suggestions from code review

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

* PR feedback

* PR feedback

* Unit tests for isClusterShardLimitExceeded

* Use constast for repeated strings

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-05-16 13:26:58 -07:00
Tiago Costa
dea9159c5d
chore(NA): rename @elastic/eslint-config-kibana as @kbn/eslint-config (#132278) 2022-05-16 13:02:02 -07:00
Lisa Cawley
693c0c3445
[DOCS] Add duration to case API examples (#132090) 2022-05-16 11:22:08 -07:00
Lisa Cawley
c4ed812758
[DOCS] Adds prerequisites for create, delete, get connector APIs (#131685) 2022-05-12 12:43:22 -07:00
Lisa Cawley
784fd55780
[DOCS] Fixes data type for fields in find rules API (#132163) 2022-05-12 12:21:16 -07:00
gchaps
e9b1d3834a
[DOCS] Fixes typo in Console doc (#132078)
* [DOCS] Fixes typo in Console doc

This PR fixes a typo in the Console doc.

* Update docs/dev-tools/console/console.asciidoc

* Update docs/dev-tools/console/console.asciidoc
2022-05-12 09:23:30 -07:00
Walter Rafelsberger
6df1b28a82
[ML] Explain log rate spikes: Plugin setup (#131317)
Sets up the boilerplate code for the aiops plugin and adds a demo page within the ML app to demonstrate single API request data streaming from Kibana server to UI client.
2022-05-12 13:36:53 +02:00
James Garside
d38e836ab3
Updated tutorial to use Filebeat and Datastreams rather than Logstash… (#132052)
* updated tutorial to use Filebeat and Datastreams rather than Logstash and a static index

* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false

* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false

* Corrected minor mistakes in docs

* 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>

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

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

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

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

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-05-12 10:02:51 +01:00
Mashhur
716609ef9e
Add a note that if list pipelines exceeds 10k, Kibana faces performan… (#131992)
* Add a note that if list pipelines exceeds 10k, Kibana faces performance issue. #131992
2022-05-11 16:24:16 -07:00
Nathan Reese
72ec630f91
[maps] vector tile inspector (#131565)
* [maps] Vector tile inspector adapter

* empty prompt

* add layer select

* tile request view

* show gridTile es path and body

* show error message

* hits request

* tab with editor

* clean up

* open in console

* do not track same tile multiple times

* remove layer from vector tile inspector when layer is removed

* refactor tile request generation

* show path in inspector

* requests view callout

* remove duplicated server side code

* remove unused files

* fix map_actions test

* open requests view when getting requests from inspector

* only show view when adapter is present

* fix open in console link not matching tile request

* tslint

* fix search sessions functional test

* update trouble shooting docs

* use bold in docs

* fix tiles at zoom level 0

* revert changes to mb_map

* include path when copying to clipboard

* clear inspector when layer type changes

* tslint fix

* clean-up

* update callout copy

* empty prompt copy

* copy updates

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-11 15:04:33 -06:00
Lisa Cawley
d2a8ba7cf1
[DOCS] Adds info about the change in privileges when updating rules (#131993) 2022-05-11 08:05:33 -07:00
Rudolf Meijering
575c5599a9
Retry INIT step when hitting incompatible_cluster_routing_allocation (#131809)
* Add reproducing test case

* Fix and add integration test

* Transient settings should take preference

* Rename unsupported_cluster_routing_allocation error to incompatible_cluster_routing_allocation

* Retry INIT when action fails with [incompatible_cluster_routing_allocation]

* Apply suggestions from code review

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>

* Fix archive with trial licence and re-enable skipped test

* Integration test for incompatible cluster routing allocation

* Fix types after renaming UnsupportedClusterRoutingAllocation

* Attempt to fix open handle tests

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2022-05-11 08:05:01 -07:00
James Garside
9f992c2b12
Updated logstash script to drop the original event field as it contained the entire unsplit response from the trimet api (#131853) 2022-05-10 15:48:03 +01:00
Pierre Gayvallet
e4c11e3f39
Newsfeed: always use feeds.elastic.co (#131786)
* Newsfeed: always use `feeds.elastic.co`

* fix FTR test
2022-05-10 09:16:15 +02:00
Kaarina Tungseth
9b1828ac77
[DOCS] Reformats the DevelopAPM settings tables into definition lists (#130303)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-09 15:05:59 -05:00
Kaarina Tungseth
fb98f6e7f5
[DOCS] Reformats the Fleet settings tables into definition lists (#130301)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-09 14:43:12 -05:00
Ersin Erdal
37a27384a5
Add cloud icon "ess-icon" at the end of the config keys in "alerting" documentation (#131735) 2022-05-06 18:13:08 +02:00
Lisa Cawley
799b257297
[DOCS] Updates deprecation text for legacy APIs (#131741) 2022-05-06 08:56:08 -07:00
Tim Sullivan
ec2062ae4e
[Reporting] Update docs to use screenshotting config properties (#127518)
* [Reporting] Update docs to use screenshotting config properties

* add the remaining capture settings moved from reporting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-04 15:24:56 -07:00
Lisa Cawley
1591bfba24
[DOCS] Replace execution terminology in Alerting (#131357) 2022-05-04 15:11:53 -07:00
Spencer
542b381fa5
[ftr] automatically determine config run order (#130983)
* [ftr] automatically determine config run order

* split lens config into two groups

* support ftr configs always running against CI

* Split detection_engine_api_integration rule exception list tests

* Add configs from previous commit

* [ftr] remove testMetadata and maintain a unique lifecycle instance per run

* Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run"

This reverts commit d2b4fdb824.

* Split alerting_api_integration/security_and_spaces tests

* Add groups to yaml

* Revert "Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run""

This reverts commit 56232eea68.

* stop ES more forcefully and fix timeout

* only cleanup lifecycle phases when the cleanup is totally complete

* only use kill when cleaning up an esTestInstance

* fix broken import

* fix runOptions.alwaysUseSource implementation

* fix config access

* fix x-pack/ccs config

* fix ml import file paths

* update kibana build id

* revert array.concat() change

* fix baseConfig usage

* fix pie chart data

* split up maps tests

* pull in all of group5 so that es archives are loaded correctly

* add to ftr configs.yml

* fix pie chart data without breaking legacy version

* fix more pie_chart stuff in new vis lib

* restore normal PR tasks

* bump kibana-buildkite-library

* remove ciGroup validation

* remove the script which is no longer called from checks.sh

* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'

* adapt flaky test runner scripts to handle ftrConfig paths

* fix types in alerting_api_integration

* improve flaky config parsing and use non-local var name for passing explicit configs to ftr_configs.sh

* Split xpack dashboard tests

* Add configs

* [flaky] remove key from ftr-config steps

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* restore cypress builds

* remove ciGroups from FTR config files

* fixup some docs

* add temporary script to hunt for FTR config files

* use config.base.js naming for clarity

* use script to power ftr_configs.yml

* remove usage of removed x-pack/scripts/functional_tests

* fix test names in dashboard snapshots

* bump kibana-buildkite-library

* Try retrying only failed configs

* be a little quieter about trying to get testStats from configs with testRunners defined

* Remove test code

* bump kibana-buildkite-library

* update es_snapshot and on_merge jobs too

* track duration and exit code for each config and print it at the end of the script

* store results in order, rather than by key, in case there are duplicates in $config

* bash is hard

* fix env source and use +e rather than disabling e for whole file

* bash sucks

* print config summary in jest jobs too

* define results in jest_parallel.sh

* simplify config summary print, format times a little better

* fix reference to unbound time variable, use better variable name

* skip the newline between each result

* finish with the nitpicking

* sync changes with ftr_configs.sh

* refuse to execute config files which aren't listed in the .buildkite/ftr_configs.yml

* fix config.edge.js base config import paths

* fix some readmes

* resolve paths from ftr_configs manifest

* fix readConfigFile tests

* just allow __fixtures__ configs

* list a few more cypress config files

* install the main branch of kibana-buildkite-library

* split up lens group1

* move ml data_visualizer tests to their own config

* fix import paths

* fix more imports

* install specific commit of buildkite-pipeline-library

* sort configs in ftr_configs.yml

* bump kibana-buildkite-library

* remove temporary script

* fix env var for limiting config types

* Update docs/developer/contributing/development-functional-tests.asciidoc

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>

* produce a JUnit report for saved objects field count

* apply standard concurrency limits from flaky test runner

* support customizing FTR concurrency via the env

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2022-05-04 17:05:58 -05:00
Melissa Burpo
fb453aca45
Osquery pack attribution (#131462)
* add new reference page for prebuilt packs

* add link to new prebuilt pack ref page

* convert list to table

* add table close

* 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>
2022-05-04 16:13:54 -05:00
Lisa Cawley
2d896d7c27
[DOCS] Fix broken blob attributes (#131563) 2022-05-04 12:45:45 -07:00
Ying Mao
2dcbcb45d1
[Response Ops][Docs] Alerting circuit breaker docs (#131459)
* Circuit breaker docs

* Apply suggestions from code review

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

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-05-04 15:04:25 -04:00
Alejandro Fernández Haro
7226982759
[EBT] Add Elastic V3 Shippers (#130696)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-04 09:22:34 -07:00
Eric Davis
f4d558a6da
[DOCS] Update details about alert visibility in Stack Management (#130202)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-05-04 12:19:25 -04:00
Anton Dosov
9aeb1fb446
Update search session config docs (#131411) 2022-05-04 11:58:01 +02:00
Joe Reuter
f30919ce54
[Vega] Adjust vega doc for usage of ems files (#130948)
* adjust vega doc

* Update docs/user/dashboard/vega-reference.asciidoc

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

* Update docs/user/dashboard/vega-reference.asciidoc

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

* Update docs/user/dashboard/vega-reference.asciidoc

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

* Update docs/user/dashboard/vega-reference.asciidoc

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

* Update docs/user/dashboard/vega-reference.asciidoc

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
2022-05-04 04:02:54 -04:00
Christiane (Tina) Heiligers
4b19c72dde
Improve saved objects migrations failure errors and logs (#131359) 2022-05-03 18:03:48 -07:00
Josh Dover
1c47b2349c
Add refresh option to SavedObjectsImporter (#131339) 2022-05-03 11:23:18 +02:00
Max Kovalev
a2acfe5117
[Maps] allow feature editing for document layers with "applyGlobalTime", "applyGlobalQuery", and joins (#124803)
* #124061 - feature editing updated logic for documents layer

* 124061 - updates for disabling joins

* 124061 - refactoring; Excluding filtering from when enabling editing mode

* 124061 - fixes for failed tests

* 124061 - fixed test for JoinEditor

* 124061 - global time checkbox message fix

* 124071 - updated snapshot for JoinEditor

* 124061 - excluded applyGlobalQuery/applyGlobalTime from es_source in case of editing layer active

* 124061 - refactoring

* 124061 - fix for test

* 124061 - refactoring; Added message for disabled filter

* 124061 - replacing variables

* 124061 - fixed test; refactoring

* 124061 - refactoring; fixed tests

* 124061 - refactoring; fixed tests

* 124061 - refactoring; removed reuse isFeatureEditorOpenForLayer

* 124061 - fixed tests

* 124061 - removed isFeatureEditorOpenForLayer property

* 124061 - buildVectorRequestMeta updates

* 124061 - fixes for CI checks

* 124061 - refactoring

* 124061 - fixed test

* 124061 - refactoring; fixed conflict

* 124061 - syncDataLLayer called inside updateEditLayer

* 124061 - reverting changes for Join editor

* 124061 - removing unused isFeatureEditorOpenForLayer

* 124061 - updating snap

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-29 09:27:07 -06:00
Anton Dosov
e603d92552
Remove data_enhanced plugin (#122075)
Code moved into `data` plugin
2022-04-29 16:43:59 +02:00
Luca Belluccini
9a34c20ace
[DOC] Server UUID Setting (#128399)
The `server.uuid` setting MUST be a valid UUIDv4.
Also, the setting was added in the middle of other SSL settings and it was misleading (due to a banner related to SSL settings).
2022-04-28 13:15:32 -05:00
Toby Sutor
ef6a4e4498
Add information on how to make Kibana listening on all available IPS (#128485)
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-28 13:12:36 -04:00
Lisa Cawley
ce92e4cea2
[DOCS] Edits xpack.actions.email.domain_allowlist (#130993) 2022-04-28 08:02:42 -07:00
Melissa Burpo
4ade036958
Osquery 8.2 updates (#130195)
* add exported fields reference docs

* move advanced content to main osquery page

* add info about prebuilt packs

* fix number formatting

* test table formatting fix

* simplify table styling

* edit column widths

* update column options

* Update fields formatting

* add steps for copying prebuilt pack

* add a section header for fields list

* Add redirect for removed advanced-osquery page

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Aleksandr Maus <aleksandr.maus@elastic.co>
2022-04-27 17:02:01 -05:00
Lisa Cawley
9e197819c2
Drafts an open API specification for Kibana ML APIs (#129548) 2022-04-27 08:32:10 -07:00
Colleen McGinnis
88bad4ed00
remove source config settings (#130931) 2022-04-27 09:41:51 -05:00
Patrick Mueller
6ad418b275
[ResponseOps][actions] add config for allow-listing email address domains (#129001)
resolves https://github.com/elastic/kibana/issues/126944

Adds a new configuration setting for the actions plugin,
xpack.actions.email.domain_allowlist, which is an array of domain name
strings which are allowed to be sent emails by the email connector.
2022-04-26 10:05:16 -04:00
Gidi Meir Morris
eb043f7702
[Connectors] moves the connector deprecation check to the server side (#130541)
This PR fixes a UI glitch where preconfigured connectors couldn't show a deprecation warning on SN connectors as the check on the client side couldn't support them.
2022-04-26 11:04:34 +01:00
Ersin Erdal
f44e198784
Add circuit breaker for max number of actions by connector type (#128319)
* connectorTypeOverrides key in kibana.yml can create a connector type specific action config.

* Update docs and docker allowed keys
2022-04-26 03:35:34 +02:00
Pierre Gayvallet
a02c00b8a3
Change ContextContainer to lazily initialize providers (#129896)
* Change ContextContainer to lazily initialize providers

* Introduce CustomRequestHandlerContext, start adapting usages

* adapt IContextProvider's return type

* start fixing violations

* fixing violations - 2

* adapt home routes

* fix remaining core violation

* fix violations on core tests

* fixing more violations

* fixing more violations

* update generated doc...

* fix more violations

* adapt remaining RequestHandlerContext

* fix more violations

* fix non-async method

* more fixes

* fix another await in non async method

* add yet another missing async

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* add yet yet another missing async

* update fleet's endpoints

* fix telemetry endpoints

* fix event_log endpoints

* fix some security unit tests

* adapt canvas routes

* adapt alerting routes

* adapt more so_tagging routes

* fix data_enhanced routes

* fix license_management routes

* fix file_upload routes

* fix index_management routes

* fix lists routes

* fix snapshot_restore routes

* fix rule_registry routes

* fix ingest_pipelines routes

* fix remote_clusters routes

* fix index_lifecycle_management routes

* improve and fix the lazy implementation

* fix triggers_actions_ui endpoints

* start fixing unit tests

* fix cases routes

* fix transform routes

* fix upgrade_assistant routes

* fix uptime route wrapper

* fix uptime route wrapper bis

* update osquery routes

* update cross_cluster_replication routes

* fix some ML routes / wrappers

* adapt maps routes

* adapt rollup routes

* fix some canvas unit tests

* fix more canvas unit tests

* fix observability wrapper

* fix (?) infra type hell

* start fixing monitoring

* fix a few test plugins

* woups

* fix yet more violations

* fixing UA  tests

* fix logstash handlers

* fix fleet unit tests

* lint?

* one more batch

* update security_solution endpoints

* start fixing security_solution mocks

* start fixing security_solution tests

* fix more security_solution tests

* fix more security_solution tests

* just one more

* fix last (?) security_solution tests

* fix timelion javascript file

* fix more test plugins

* fix transforms context type

* fix ml context type

* fix context tests

* fix securitySolution withEndpointAuthz tests

* fix features unit tests

* fix actions unit tests

* fix imports

* fix duplicate import

* fix some merge problems

* fix new usage

* fix new test

* introduces context.resolve

* down the rabbit hole again

* start fixing test type failures

* more test type failures fixes

* move import comment back to correct place

* more test type failures fixes, bis

* use context.resolve for security solution rules routes

* fix new violations due to master merge

* remove comment

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-22 13:15:58 +02:00
Nodir Latipov
7c01257055
[Unified Search] Move autocomplete logic to unified search plugin (#129977)
* feat: move autocomplete logic from data plugin to unified search

* minor fix after comments

* updated Documentation: data.autocomplete -> unifiedSearch.autocomplete

* changed renameFromRoot order for autocomplete

* removed extra renameFromRoot in config deprecations, updated test

* added configPath for unified search plugin

* Update kibana.json

* updated path to autocomplete

* fix conflict

* fix conflict

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* fix Linting

* fix functional_with_es_ssl test
2022-04-22 11:02:56 +05:00
Lisa Cawley
8609411f8e
[DOCS] Add trained models to ML sync API (#130626) 2022-04-21 09:17:23 -07:00
Lisa Cawley
0923ff6d6c
[DOCS] Fix section titles in Cases APIs (#130737) 2022-04-21 08:59:15 -07:00
Christiane (Tina) Heiligers
fb33187270
Adds documentation and improves migrations failing on timeouts while waiting for index yellow status (#130352)
* reapply docs and doclink changes

* Updates wait_for_index_yellow_status response type on response timeout, updates create_index action and model to account for the changes

* Refactors clone_index action to account for new return type of waitForIndexYellow, updates model

* Updates README

* Updates snapshot

* Updates docs

* Fix import violations

* imports

* Extends the retry log message with an actionable item linking to the docs on every retryable migration action

* Refactor retry_state and model to allow linking to specific subsections in the docs

* Updates resolving saved objects migration failures docs

* Calls waitForIndexStatusYellow directly in actions integration tests

* Deletes comment

* Update src/core/server/saved_objects/migrations/model/retry_state.test.ts

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2022-04-21 08:11:39 -07:00
Zacqary Adam Xeper
1303044ae7
[RAM] Add docs for Snooze UX (#130297)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-20 16:07:16 -07:00
Shahzad
a4a082271e
[Synthetics] Rename uptime plugin to synthetics (#130037)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-20 11:53:28 -07:00
Kaarina Tungseth
1dcdc7b0de
[DOCS] Adds advanced settings for data views (#130294)
* Adds advanced settings for data views

* Update docs/concepts/data-views.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>
2022-04-20 09:48:19 -05:00
Jean-Louis Leysens
cc6057f988
update copy per feedback from kellyemurphy (#130587) 2022-04-20 10:49:52 +02:00