Commit graph

18425 commits

Author SHA1 Message Date
Kibana Machine 5280e3523d
Open in dev tools button for request inspector (#109923) (#110123)
Add a "Open in Dev Tools" link to the request inspector.

Allow the dev tools to open data uris that are lz-string encoded (the same method used by TypeScript Playground, which are a lot shorter than a base64 encoded string.)

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-08-25 17:06:29 -04: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
Maja Grubic aa7680e3c1
[Discover] Hide multifields from doc table (#109242) (#110064)
* [Discover] Hide multifields from doc table

* Fix failing type check

* Fix eslint

* Fix faulty logic

* Fix linting error

* Add memoization to the function

* Move getFieldsToShow a bit higher up

* Extracting getFieldsToShow logic higher up

* Fix linting error / table logic

* Move fieldsToShow to doc_table_wrapper

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-25 12:38:31 -04:00
Michael Dokolin 1d6ca80c7e
[Data] Fix CIDR mask to avoid using big integers (#109789) (#110045) 2021-08-25 11:01:24 -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
Diana Derevyankina f274289504
Chore(TSVB): Replace aggregations lookup with map (#109424) (#110022)
* Chore(TSVB): Replace aggregations lookup with map

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

* Correct typo and refactor condition in std_metric

* Fix metric type

* Fix CI and label for Bucket Script

* Update agg_utils.test expected data

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-25 08:23:27 -04:00
Kibana Machine 36b923d964
Remove UI actions any types (#109797) (#110011)
* remove any in trigger registry

* improve comments

* remove all anys from ui_actions plugin

* fix formatting suggestions

Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
2021-08-25 11:03:39 +00:00
Kibana Machine c72f1d8acf
[Home] Use unified API to show/hide the Welcome interstitial (#109650) (#110000)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-08-25 06:04:44 -04:00
Kibana Machine 276824ae5d
ensure all kibana.json files have owners and they are consistent (#109731) (#109969)
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-08-24 19:48:18 -04:00
Corey Robertson dd8866cf9f
[Presentation] Adds owner to presentation team plugin kibana.json. Updated CODEOWNERS (#108408) (#109962)
* Adds owner to presentation team plugin kibana.json. Updated CODEOWNERS

* Adds a few more owners for presentation
# Conflicts:
#	.github/CODEOWNERS
#	src/plugins/dashboard/kibana.json
2021-08-24 19:08:47 -04:00
Kibana Machine 7467f58ead
[DataViews] Fix redundant fields requests that cause errors (#109702) (#109845)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-08-24 12:30:32 -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
Greg Thompson 5e5c7c3de5
[7.x] Upgrade EUI to v37.3.0 (#109157) (#109691)
* Upgrade EUI to v37.3.0 (#109157)

* eui to 37.3.0

* i18n tokens

* reinstate discover_grid_flyout test

* more i18n tokens

* snapshot updates

* fix jest failures

* update cell position pattern

* clean up pattern

* buttongroup click -> change

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

* fix bad merge

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 15:53:08 -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
Spencer b6c9f4b8fc
[ftr] rework ciGroup validation to remove JOBS.yml and avoid duplication (#109149) (#109324)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	.ci/jobs.yml
#	test/scripts/jenkins_code_coverage.sh

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 15:07:12 -04:00
Kibana Machine e87ef74342
[DataViews] Fix excessive resolve_index requests in create data view flyout (#109500) (#109701)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-08-23 14:56:12 -04:00
Kibana Machine eefe8b54fd
[Discover] Fix discover footer width (#109403) (#109621)
* [Discover] fix discover footer width

* [Discover] fix types

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

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-08-23 17:36:36 +00:00
Kibana Machine dfa1e83e94
[Discover][Context] Set trackTotalHits to false in requests to Elasticsearch (#108661) (#109679)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-08-23 13:24:00 -04:00
Kibana Machine a6eb15ae93
fix TableListView empty view trapping users with no action to create new item (#109345) (#109663)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-08-23 12:44:29 -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
Kibana Machine 377760f060
[Discover] Fix keeping error state after invalid KQL query (#109514) (#109643)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-08-23 11:19:57 -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
Maja Grubic 40b41c04eb
[Saved Search Embeddable] Do not set source field when reading fields from source (#109069) (#109611)
* [Saved Search Embeddable] Do not set source if reading fields from source enabled

* Extract functionality to a helper function and added unit tests

* Fix unit test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 09:21:50 -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
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
Kibana Machine 61d3f2e9bd
Fix bug with highlighting in field formatters (#109401) (#109505)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-08-20 14:35:49 -04:00
Kibana Machine a930371708
[7.x] chore(NA): moving @kbn/logging to babel transpiler (#108702) (#109412)
* chore(NA): moving @kbn/logging to babel transpiler (#108702)

* chore(NA): moving @kbn/logging to babel transpiler

* chore(NA): fix imports for @kbn/logging

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

* chore(NA): fix test failures

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-20 17:19:02 +00:00
Rudolf Meijering 095d113d91
Handle index not found during bulk index action (#108544) (#109473)
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 12:57:24 -04:00
Devon Thomson ef2bc97d2d
[Input Controls] Options List Data Fetch In Embeddable (#108226) (#109474)
Moved data fetching from react component into embeddable class. This cleans up the component, and allows for more accurate comparison before firing async requests
2021-08-20 12:56:33 -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
Rudolf Meijering 80127a7487
v2 migration algorithm docs for rewriting saved object id's (#93002) (#109472)
* Document v2 migration algorithm using control state names from source code

* v2 migrations support for rewriting document _id's

* Minor edits and clarifications

* Fix markdown formatting

* Review comments: improve algorithm description

* add WAIT_FOR_YELLOW_SOURCE step

Co-authored-by: restrry <restrry@gmail.com>
# Conflicts:
#	rfcs/text/0013_saved_object_migrations.md
2021-08-20 10:37:44 -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
CJ Cenizal 4947a2809a
Migrate Stack Management apps to consume internal EuiCodeEditor (#108629) (#109327)
* Migrate Index Management to use internal EuiCodeEditor.
* Migrate Rollup to use internal EuiCodeEditor.
* Migrate Snapshot and Restore to use internal EuiCodeEditor.
* Migrate Watcher to use internal EuiCodeEditor.
* Add default setOptions values to EuiCodeEditor.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 20:11:22 -04:00
Jonathan Budzenski fe2dc15dcc
[7.x] [build] Remove jest.config.js (#108822) (#109266) 2021-08-19 19:52:14 -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
Jonathan Budzenski 807e46f138
[7.x] [build] Remove scss files (#108821) (#109265) 2021-08-19 13:28:35 -04:00
Kibana Machine 169ec9a349
[XY, Pie] Long legend values support (#108365) (#109212)
* [XY, Pie] Long legend values support

* Update vislib snapshots

* Fix truncate labels to work only for slice labels positioned outside the chart

* Address PR comments

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

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-08-19 08:01:55 -04:00
Kibana Machine cfa0f14e14
[TSVB] Long legend values support (#108023) (#109207)
* [TSVB] Supports legends with long values

* Add a unit test

* Design optimization

* Revert changes

* Add the missing prop type

* Ensure that the limits are respected

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

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-08-19 06:49:50 -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
Kibana Machine e82c8f9f48
text improvement (#109111) (#109145)
Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-08-18 15:48:32 -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
Kibana Machine 47da73750a
Abort full screen in dashboard and maps when user clicks back button (#108747) (#109140)
* [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

* Abort full screen in dashboard and maps when user clicks back button

* remove doc changes from another PR

* remove change in file heading

* tslint and fix unit test

* eslint

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

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2021-08-18 15:31:40 -04:00
Kibana Machine d4fd5d7ac0
[TSVB] Fix Markdown variables are not available on the first rendering (#108836) (#109131)
* [TSVB] Markdown variables are not available on the first rendering

Closes: #108721

* Update editor_controller.tsx

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

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-08-18 14:56:26 -04:00
Josh Dover 76e9e96905
[7.x] Update onboarding interstitial to handle default Fleet assets (#108193) (#109074)
* Update onboarding interstitial to handle default Fleet assets (#108193)

# Conflicts:
#	test/functional/page_objects/common_page.ts

* Skip flaky test
2021-08-18 14:16:12 -04:00
Kibana Machine cfea03be4f
Home Page Style Tweaks (#108989) (#109120)
* balance solutions

* clean up solution changes

* change footer button size

* update management section

* apply max-width to management items

* remove right side items from page header

* add data content update

* illustration poc

* add data content updates per feedback

* img size and alignment

* moved shared images to shared assets folder

* more solutions clean up

* rm unneeded import

* remove references to subtitle and appDescriptions

* update tests and snapshots

* more test and snapshot updates

* restore solution sort order

* ts and jest fixes; thx catherine!

* i18n fixes

* use new `KibanaPageTemplateSolutionNavAvatar` comp

* change solution imgs from png to svg

* update tests and snapshots

* rm spacer and update snapshots

* account for flex margin changes in img offset

* Change "Kibana" overview page text to "Analytics"

* update overview icon to match hp changes

* update snapshots

* center justify solutions and update snapshots

* update snapshots

* title case dev tools and stack management

* update text and snapshots

* fix merge error

* apply caroline's suggested style tweaks

* clean up css and update snapshots

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

Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>
2021-08-18 13:47:24 -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
Kibana Machine 990a3552f9
Hide "Manage Searches" if insufficient permissions (#109099) (#109112)
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-08-18 13:25:06 -04:00