Commit graph

45101 commits

Author SHA1 Message Date
Stacey Gammon e92a945ab1
Add packages to our API documentation (#113564) (#114513)
* Add packages

* Update docs

* Fix test and types

* debug heap size

* remove debug heap line

* updated docs
# Conflicts:
#	api_docs/alerting.mdx
#	api_docs/apm.json
#	api_docs/core.mdx
#	api_docs/core_application.mdx
#	api_docs/core_chrome.mdx
#	api_docs/core_http.mdx
#	api_docs/core_saved_objects.mdx
#	api_docs/custom_integrations.mdx
#	api_docs/data.json
#	api_docs/data.mdx
#	api_docs/data_autocomplete.mdx
#	api_docs/data_data_views.json
#	api_docs/data_data_views.mdx
#	api_docs/data_query.mdx
#	api_docs/data_search.mdx
#	api_docs/data_ui.mdx
#	api_docs/deprecations_by_api.mdx
#	api_docs/deprecations_by_plugin.mdx
#	api_docs/discover_enhanced.json
#	api_docs/embeddable.json
#	api_docs/event_log.mdx
#	api_docs/fleet.mdx
#	api_docs/home.json
#	api_docs/index_management.json
#	api_docs/interactive_setup.mdx
#	api_docs/kibana_legacy.json
#	api_docs/kibana_legacy.mdx
#	api_docs/observability.mdx
#	api_docs/plugin_directory.mdx
#	api_docs/security_oss.mdx
2021-10-11 13:58:18 -04:00
Kibana Machine 03cef841d0
[bfetch] Pass compress flag in query instead of headers (#113929) (#114514)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-10-11 13:51:43 -04:00
Kibana Machine ad58d8393d
Logstash view cleanup fixes (#114218) (#114302)
* Fix route ordering/duplication

* Take out "IDK" comments

I remember we figured this out last week while pairing :)

Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-10-11 17:39:04 +00:00
Kibana Machine fc35816e47
Implement writing rule execution events to event_log (#112286) (#114466)
Co-authored-by: Dmitry Shevchenko <dmshevch@gmail.com>
2021-10-11 17:33:50 +00:00
Ignacio Rivas f69faccb9d
[Upgrade Assistant] Delete deprecation log cache (#114113) 2021-10-11 18:17:52 +01:00
Ignacio Rivas 0d614dc165
Add show upgrade flag to url (#114243) 2021-10-11 18:16:44 +01:00
Kibana Machine 8736e2571c
Bump hapi to a version with aborted request fix (#114414) (#114434)
* bump hapi to a version with aborted request fix

* enable apm functional tests

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-10-11 16:57:27 +00:00
Kibana Machine 5f9fc999ac
Detection Rule Exception List telemetry (#113239) (#114504)
* Add telemetry for detection rule exception lists to improve UX.

* Add length for debugging.

* Fix type.

* Clean up exception list telemetry document.

* Dynamically set kibana index (just in case).

* Update task title.

* Rename version to rule_version.

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

Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>
2021-10-11 12:51:50 -04:00
Kibana Machine 4b372b1bed
[Enterprise Search] Fix typo (#114462) (#114496)
Fixing a small typo (`recieve` -> `receive`) I noticed in comments.

Co-authored-by: Orhan Toy <toyorhan@gmail.com>
2021-10-11 12:15:56 -04:00
Nathan L Smith f6e4f1b225
Relocate internal APM API endpoints to /internal (#114196) (#114494)
All endpoints except annotations, source maps, and agent configuration are now at /internal/apm instead of /api/apm.

None of the UX endpoints have been updated, only APM.

If you search for "/api/apm" in the codebase, you should only see the above endpoints.

Fixes #113383.
# Conflicts:
#	x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx
#	x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx
#	x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx
#	x-pack/plugins/apm/server/routes/event_metadata.ts
#	x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts
#	x-pack/test/apm_api_integration/tests/services/throughput.ts
2021-10-11 12:12:32 -04:00
Kibana Machine 50908d8542
[Security Solution] Add host isolation exception IPs UI (#113762) (#114490)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Esteban Beltran <academo@users.noreply.github.com>
2021-10-11 11:51:31 -04:00
Giorgos Bamparopoulos 6047f03138
Add all APM configuration settings to the documentation (#114139) (#114488)
* Add APM configuration settings to the documentation

* Rename  the deprecated apm_oss.* configurations to xpack.apm.*

* Remove new lines

* Add ess icon to config settings

* Add link to the APM configuration settings docs

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 11:42:04 -04:00
Jean-Louis Leysens db7794f536
[Reporting] Update chromium exit behaviour (#113544) (#114464)
* move uncaught exception out of exit$

* reintroduce original error, but as a log instead

* change log level: error -> warning. also update copy to make it explicit that the error will be ignored

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 11:39:12 -04:00
Kibana Machine 9eed9ee39b
correct relativity in images (#113834) (#114484)
Co-authored-by: Kellen <9484709+goodroot@users.noreply.github.com>
2021-10-11 11:24:42 -04:00
Kibana Machine a0e0696714
fix docs build (#113948) (#114485)
Co-authored-by: Stacey Gammon <gammon@elastic.co>
2021-10-11 11:23:31 -04:00
Kibana Machine bff788f1a3
[bfetch] Fix memory leak (#113756) (#114469)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-10-11 15:14:11 +00:00
Kibana Machine c4ddd03f95
Status service: improve overall status summary (#114228) (#114453)
* improve getSummaryStatus

* fix unit tests

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-10-11 15:10:26 +00:00
Kibana Machine e190acd1cf
[Visualize] unskip the reporting funtional test (#114094) (#114461)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-11 09:00:10 -04:00
Tiago Costa e7bec3091d
skip flaky suite (#106053) 2021-10-11 13:50:55 +01:00
Tiago Costa 60cf849ac7
skip flaky suites (#114418) 2021-10-11 13:44:50 +01:00
Tiago Costa d780173fba
skip flaky suites (#100951) 2021-10-11 13:37:46 +01:00
Tiago Costa e1443521c8
skip flaky suites (#114417) 2021-10-11 13:25:40 +01:00
Tiago Costa 0eccae9670
skip failing es promotion suites (#114471) 2021-10-11 13:23:01 +01:00
Esteban Beltran b528572d38
[Security Solution] host isolation exceptions delete item UI (#113541) (#114435)
Co-authored-by: David Sánchez <davidsansol92@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: David Sánchez <davidsansol92@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 06:09:44 -04:00
Kibana Machine 7f83f297c9
Update APM queries development doc (#114268) (#114440)
* Add links to field references and GET requests to the examples

* Add troubleshooting info for failed requests

* Add data model and running examples section

* Add GET requests for query examples

* Add `metricset` possible values

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>

* Add transaction based and metric based queries

Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>

Co-authored-by: Giorgos Bamparopoulos <georgios.bamparopoulos@elastic.co>
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
2021-10-11 04:51:18 -04:00
Kibana Machine 3631bd3c43
[Fleet] Display upgrade integration button instead of save for upgrades (#114314) (#114430)
* Display upgrade integration button instead of save for upgrades

* Skip endpoint tests

* Revert "Skip endpoint tests"

This reverts commit 3cfd100171.

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2021-10-11 02:10:21 -04:00
Kibana Machine e81607997d
Update sharing saved objects dev docs (#114395) (#114415)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-10-10 09:47:03 -04:00
Joe Portner 7053f5b16b
Legacy url conflict UI improvements (#114172) (#114382)
# Conflicts:
#	docs/development/core/public/kibana-plugin-core-public.doclinksstart.md

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-09 18:50:51 -04:00
Joe Portner 7f70d40e91
Add docs for legacy URL aliases (#110279) (#114411)
# Conflicts:
#	docs/developer/advanced/index.asciidoc
2021-10-09 13:32:56 -04:00
Sébastien Loix 8e3445c16a
[Watcher] Use fixed_interval instead of interval (#113527) (#114410) 2021-10-09 12:17:49 -04:00
Kibana Machine 7a2d0487d7
Functional tests - fix retry.waitFor not timing out correctly (#113905) (#114239)
This PR fixes bugs in test services, where retry.waitForWithTimeout and find.descendantExistsByCssSelector do not time out correctly.

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2021-10-09 15:57:00 +00:00
Kibana Machine c854dfdbf8
[Fleet] Add installed integration callouts (#113893) (#114409)
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
2021-10-09 05:15:04 -04:00
Kibana Machine 78879551b7
[ci-stats-reporter] ensure HTTP adapter is used (#114367) (#114402)
* [ci-stats-reporter] ensure HTTP adapter is used

* update kbn/pm dist

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-08 21:18:29 -04:00
Kibana Machine b0907db6f2
[kbn/optimizer] log about high-level optimizer progress (#103354) (#114398)
* [kbn/optimizer] log about high-level optimizer progress

* restore logOptimizerProgress helper to fix tests

* fix lint error

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

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-08 18:51:33 -04:00
Jonathan Budzenski 863ac83097 skip flaky test. #112922 2021-10-08 11:20:55 -05:00
Jonathan Budzenski 61ec6f3a9f skip failing es promotion suites. #111240 2021-10-08 11:00:10 -05:00
Jonathan Budzenski 23f26ee3f3 skip flaky test. #114261 2021-10-08 10:51:41 -05:00
Kibana Machine 67e3caf587
[Stack Monitoring] sync timepicker with url (#114290) (#114388)
* sync timepicker hook with url

* name function

* fix linter errors

Co-authored-by: Kevin Lacabane <kevin.lacabane@elastic.co>
2021-10-08 09:50:35 -04:00
Kibana Machine a87c2f1480
Fix dev doc pages (#114297) (#114386)
* fix doc page

* fix doc page bis

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-10-08 07:22:16 -04:00
Shahzad c2ec5ead34
[Exploratory View] Embedddable component (#113108) (#114311)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-08 06:37:26 -04:00
Yaroslav Kuznietsov 0058764851
[MetricVis] Move the expression function and renderer to a separate plugin. (#113427) (#114384)
* Added expressionMetricVis plugin.

* splitted metric vis_type and expression.

* Fixed check errors.

* Fixed plugin docs.

* updated snapshots.

* Added code owner to expressionMetricVis.

* updated chart docs.

* Changed the `Metric` type export.

* Added storybook.

* Added bucket story.

* Added without label story.

* Added "with custom font size" story.

* Added other stories.

* Added DatatableColumn accessors.

* Replaced Metric with MetricOptions.

* Fixed MetricOptions.any

* updated the check of min/max existence.

* Updated function/renderer names.

metricRenderer -> metricVisRenderer
metricFunction -> metricVisFunction

* updated snapshot.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-optimizer/limits.yml
#	src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js
#	src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js
2021-10-08 04:28:29 -04:00
Kibana Machine 0fd4aeae93
[Fleet] Revert max fields value for Fleet component templates to 10k (#114299) (#114373)
* Revert max fields value for Fleet component templates to 10k

* Skip endpoint tests

* fix failing spec

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

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2021-10-07 20:53:38 -04:00
Kibana Machine d1671cbaa5
[ts] support building refs for one project (#114345) (#114369)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-07 20:04:11 -04:00
Kibana Machine 23adc7f432
[App Search] Wired up action buttons for suggestion detail view (#114183) (#114368)
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-10-07 20:03:55 -04:00
Diana Derevyankina c0b8aa34c4
Respect external URL allow list in vega (#113720) (#114248)
* Respect external URL allow list in vega

* Add getExternalUrlsAreNotEnabledError

* Revert moving some code in vega_base_view

* Add externalUrl to vega_base_view.d.ts

* Add throwing errors to prevent from following the link

* Fix condition

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-07 18:39:54 -04:00
Kibana Machine d7dc8b4d50
[ML] Fix deletion of models that are not used by pipelines (#114107) (#114355)
* [ML] Fix deletion of models that are not used by pipelines

* [ML] Edits from review

* [ML] Fix jest test for index switch in delete job modal

* [ML] Fix API test calls to createTestTrainedModels

* [ML] Remove unnecessary async from jest test

Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
2021-10-07 18:32:36 -04:00
Kibana Machine 9b46dc6ff8
[CI] Add failure count and github issue link to new failed test page (#114138) (#114337)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-07 21:50:07 +00:00
Matthew Kime 8b50d70a36
[7.x] [data views] clarify field subtype typescript types (#112499) (#114222)
* [data views] clarify field subtype typescript types (#112499)

* separate out multi and nested subTypes

* separate out multi and nested subTypes

* add undefined checks

* remove expect error statements

* use helper functions in es-query

* simplify changes with helper functions

* checking existence instead of getting value x2

* simplify types and revert discover changes

* update discover sidebar with helper methods

* try helpers with group_fields file

* try different helper with group_fields file

* revert group field changes, try nested field helpers

* revert nested field changes, try field_name.tsx helpers

* fix maps jest test

* use helpers in discover instead of setting types

* fix field_name.tsx

* Update index_pattern_util.test.ts

* lint  fix

* fix common exports

* reduce data_views plugin bundle size

* reduce data_views plugin bundle size

* remove discover reliance on es-query package

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-es-query/src/es_query/handle_nested_filter.ts

* fix test
2021-10-07 17:49:42 -04:00
Kibana Machine b6c75ee752
[7.x] [Fleet] Add language clients (#113666) (#113977)
* [Fleet] Add language clients (#113666)

* Apply suggestions from code review

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

* Update src/plugins/custom_integrations/server/plugin.test.ts

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

* Update src/plugins/custom_integrations/server/plugin.test.ts

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

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-10-07 21:44:07 +00:00
Kibana Machine 3b4bb6f89d
[7.x] [Bazel] Only persist cache and create build invocations in on-merge pipeline (#114035) (#114339)
* [Bazel] Only persist cache and create build invocations in on-merge pipeline (#114035)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [ci] Fix setup_bazel permissions

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-07 16:57:07 -04:00