Commit graph

19489 commits

Author SHA1 Message Date
Stacey Gammon
20202f7e7d
Add a plugin directory page to the docs build (#112862)
* Write plugin directory doc as part of api docs build.

* Replace service folder with the new name for index patterns

* Updated docs

* small update

* update docs
2021-09-28 13:17:12 -04:00
Maxwell Borden
18930d64a8
[FieldFormatters] Use default values for URL formatter (#113141)
* [FieldFormatters] Use default values for URL formatter
2021-09-28 09:10:10 -07:00
Anton Dosov
3311910736
[embeddable] Don’t include test samples into initial bundle (#113126) 2021-09-28 17:45:34 +02:00
Christiane (Tina) Heiligers
c647929eeb
Removes misc unused so/server/es config deprecations (#113173)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-28 08:01:22 -07:00
Jean-Louis Leysens
7a49851bc3
[AppServices] Fix unhandled promise rejections in search tests (#112849)
* updated jest tests to avoid generating unhandled promise rejections

* rather use throwError

* remove unused imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-28 15:40:13 +02:00
Rudolf Meijering
c361a56013
Fix flaky migrations integration test 103231 (#113127) 2021-09-28 14:44:13 +02:00
Pierre Gayvallet
daaa6f8c19
add SavedObjectType.management.displayName (#113091)
* add `SavedObjectType.management.displayName`

* fix unit tests

* add FTR test

* update generated doc

* also update labels

* fix unit tests
2021-09-28 13:49:00 +02:00
Matthias Wilhelm
c4ddb01d77
[Discover] Add "Chart options" menu (#112453)
Co-authored-by: Tim Roes <mail@timroes.de>
2021-09-28 10:53:29 +02:00
Vadim Kibana
c0bf0540dc
Short URLs (#107859) 2021-09-28 10:34:25 +02:00
Diana Derevyankina
3e5d5f4415
[Viz] legend duplicates percentile options when chart has both left & right Y axes (#113073)
* [Viz] legend duplicates percentile options when chart has both left & right Y axes

* Update comment for isPercentileIdEqualToSeriesId

* Remove Dimension interface

* Replace partial aspect with whole aspect value

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-27 22:15:54 +03:00
Christiane (Tina) Heiligers
96379a5be3
Decouples saved objects management from legacy saved objects loaders (#113031)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-27 13:36:05 -04:00
Michael Dokolin
16aa9bf85f
[Expressions] Partial results example plugin (#113001)
* Update mapColumn expression function implementation to support partial results
* Add partial results example plugin
2021-09-27 18:54:05 +02:00
Thomas Neirynck
be1ee57a03
[Fleet] Add custom integrations API (#112481)
Add a new plugin `custom_integrations`. This plugin allows for the registration of data-integrations tutorials. The Fleet-integrations app will display these alongside the existing Elastic Agent integrations.
2021-09-27 11:54:43 -04:00
Maja Grubic
c0d68aac32
[Saved Search Embeddable] Add view action (#112396)
* [Saved Search Embeddable] Add view action

* Fix typescript and lint errors; add tests

* Add a functional test

* Fix a unit test

* Renaming action

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-27 16:14:49 +02:00
Diana Derevyankina
6a950a3c27
[TSVB] Series hidden via click reappear on auto refresh (#112807)
* [TSVB] Series hidden via click reappear on auto refresh

* Move mainAxisGroupId back to render

* Remove blank line in vis.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-27 12:38:25 +03:00
Pierre Gayvallet
d2bd7f8487
Throw error during startup if scripting is disable in ES (#113068) 2021-09-27 11:35:25 +02:00
Marta Bondyra
cfe084829f
[Visualize] [Lens] remove warning and logs from console when testing (#113070)
* date_ranges console.warn removed

* lens app console info remved

* percentailize i18n & generate id removed

* vega_parser.test canvas mock warning removed

* vega console logs removed from tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-27 11:32:47 +02:00
Stratoula Kalafateli
dece5fd01d
Remove all kibana.yml deprecations from visEditors plugins (#112643)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-27 12:26:01 +03:00
Jonathan Budzenski
0484e6c17e skip test blocking es promotion. #113012 2021-09-23 12:23:54 -05:00
Lisa Cawley
acf6a0296c
Update more doc links for ingest pipelines app (#112767) 2021-09-23 09:29:02 -07:00
Jonathan Budzenski
b3bb48f0d6
[docker] Tag cloud images to kibana-ci (#112978) 2021-09-23 10:41:40 -05:00
Nick Peihl
1e25d199cd
Add license querystring to EMS requests in Vega (#112765)
This fixes a regression in Vega Maps that limits users to max zoom 10 regardless of distribution

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-23 08:32:11 -07:00
Patryk Kopyciński
854e0d4d85
Fix navigateToApp behavior when openInNewTab is true (#110712) 2021-09-23 10:48:16 -04:00
Matthew Kime
7ecae91e64
[data views] reduce any usage on server side service (#112750)
* remove some any instances from data view
2021-09-23 06:59:33 -05:00
Vadim Kibana
7f7c0b4ed5
Add Kibana version to URL (#112528)
* add utility to set current kibana version

* set kibana version on dashboard

* move setVersion function into separate file

* improve setVersion method

* add test mocks

* remove unnecessary any

* narrow down history type

* use new formatting settings

* remove version integration on dashboard

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-23 13:23:30 +02:00
Marco Liberati
9dcacf77f7
[Vega] Better error explanation for EsErrors and inspector now showing error responses (#112634)
* 🐛 Fix EsError not showing info

* 🐛 Record error response in the inspector

* 🏷️ Fix type issue

* 👌 Integrate feedback

* 👌 Integrated latest feedback

* 👌 i18n unknwon message

* 👌 Integrate feedback

* 🐛 Fix syntax error

* 🏷️ Fix type issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-23 10:54:31 +02:00
Michael Dokolin
c06d604785
[Expressions] Fix setup and start contracts (#110841)
* Refactor executor forking to implement state inheritance
* Fix setup and start contracts typings
* Add support of named forks
* Add expressions service life-cycle assertions
2021-09-23 08:44:16 +02:00
Adam Locke
5b73ab1432
[DOCS] Update remote cluster and security links (#112874)
* [DOCS] Update remote cluster and security links

* Updating test link

* Update URL for failing test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-22 20:44:12 -07:00
Lukas Olson
02b2a4d086
[data.search.aggs] Use fields instead of _source in top_hits agg (#109531)
* [data.search] Handle warnings inside of headers

* Update docs

* Add tests

* Remove isWarningResponse

* [data.search.aggs] Use fields instead of _source in top_hits agg

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-22 13:36:39 -07:00
Lukas Olson
f4c2a934f0
[Search sessions] Don't show incomplete warning if search requests aren't in session (#112364)
* [Search sessions] Don't show incomplete warning if search requests aren't in session"

* Update src/plugins/data/public/search/search_interceptor/search_interceptor.ts

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Fix lint

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-22 13:36:27 -07:00
Lukas Olson
791fed5b82
[data.search] Do not send ignore_throttled when search:includeFrozen is disabled (#112755)
* Do not send ignore_throttled when search:includeFrozen is disabled

* Fix tests
2021-09-22 13:36:17 -07:00
Luke Elmers
878b1eeae9
Log deprecation warnings for plugins which won't be disable-able in 8.0 (#112602) 2021-09-22 15:58:57 -04:00
Lisa Cawley
4c3f48fcbd
Add ILM URLs to documentation link service (#112748) 2021-09-22 12:41:42 -07:00
Alexey Antonov
61410a30a5
[vega] Handle removal of deprecated date histogram interval (#109090)
* [vega] Handle removal of deprecated date histogram interval

Fixes: #106352

* fix CI

* add deprecation_interval_info

* add test

* Update vega_info_message.tsx

* fix types

* Update es_query_parser.ts

* apply comments

* fix error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <vlad.lasitsa@gmail.com>
2021-09-22 19:08:33 +03:00
Matthew Kime
4b71c435a9
[data views] Rename a bunch of index pattern code references to data views (#112770)
* rename a bunch of index pattern references to data views
2021-09-22 09:50:05 -05:00
Nathan Reese
84e42e42bc
[vega] fix vega map validation errors crashing vega (#112700)
* [vega] fix vega map validation errors crashing vega

* eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-22 07:17:53 -06:00
Rudolf Meijering
68fb9f6d84
Rename REINDEX_SOURCE_TO_TEMP_INDEX to REINDEX_SOURCE_TO_TEMP_TRANSFORM (#112727) 2021-09-22 15:12:18 +02:00
Rudolf Meijering
e39a9d495b
Fix unhandled promise rejection in socket tests (#112806) 2021-09-22 09:04:58 -04:00
Matthew Kime
525d3a5920
[data views] remove some any instances from service (#112632)
* remove some any instances from data view

* lint fix

* simplify scripted field type
2021-09-22 07:04:15 -05:00
Peter Pisljar
3907d53df5
persistable state docs (#105202) 2021-09-22 13:22:38 +02:00
Stratoula Kalafateli
9b410ce544
Fixes bug with nested terms, one with other bucket and the other disabled (#112636) 2021-09-22 11:21:53 +03:00
Marco Liberati
914f2b7429
🔧 Make Timelion server send error details to client (#112663) 2021-09-22 10:14:43 +02:00
Diana Derevyankina
abdb7a4c49
[TSVB] Disables the input string mode (#110571)
* [TSVB] Remove the input string mode

* Fix some tests

* Add some functional tests and fix failing CI

* Update telemetry mappings

* Rename useStringIndices to allowStringIndices, move it from TSVB to Data constants and refactor test

* Apply text suggestions from code review

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

* Apply formatting and remove unused translations

* Fix labels

* Remove unused import

* Move popover toggling  to checkIndexPatternSelectionModeSwitchIsEnabled function to prevent flakiness

* Update some visual_builder_page functions

* Remove accidentally added newlines

* Move TSVB ui settings to constants, remove tooltip and update popover text

* Handle the case of editing advanced settings is restricted

* Add requiresPageReload to UI setting and condition for the case the setting is already enabled

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-09-22 11:13:53 +03:00
Christiane (Tina) Heiligers
8cf0efe2f1
Changes edit view to json read-only view (#112034)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 16:10:53 -04:00
Jean-Louis Leysens
25bf795099
[Reporting/Discover/Search Sessions] Only use relative time filter when generating share data (#112588)
* only use relative time filter when generating share data

* Added comment on absolute time filter.

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>

* improve discover search session relative time range test

* update discover tests and types for passing in data plugin to getSharingData function

* updated reporting to pass in data plugin to getSharingData, also updates jest tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-09-21 12:42:32 -07:00
Pierre Gayvallet
65ec86da66
handle source index without any mappings (#112664) 2021-09-21 20:19:34 +02:00
Devon Thomson
5408a3e301
[Dashboard] Retain Viewmode State in Session (#112302)
* Made dashboard retain viewmode state in session. This means filters and query will be kept over reloads and navigations
2021-09-21 11:45:56 -06:00
Devon Thomson
126b87bd55
[Dashboard] [Visualize] Add Search to Legacy Redirect (#112365)
added search to legacy redirect URL
2021-09-21 11:39:23 -06:00
Tyler Smalley
c76082e006 Fix eslint error
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-21 09:44:56 -07:00
James Rodewig
fd0f42386f
Update index settings link for Snapshot and Restore (#112597)
Updates the docs help link for index settings  in the Snapshot and Restore feature.

Currently, the link points to https://www.elastic.co/guide/en/elasticsearch/reference/7.14/snapshots-restore-snapshot.html#change-index-settings-during-restore, which primarily documents related restore snapshot API parameters.

With elastic/elasticsearch#76929, this section was removed. The new link covers all available index settings, which is a bit more relevant.
2021-09-21 12:03:23 -04:00