Commit graph

17377 commits

Author SHA1 Message Date
Scotty Bollinger cadcbf8845
[Enterprise Search] Add links to doc links service (#89260)
* [Enterprise Search] Add links to doc links service

* Remove extra slash

* Add types

* Update API docs and API review
2021-01-27 08:52:44 -06:00
Silvia Mitter ab1af57f05
update apm index pattern (#89395) 2021-01-27 13:34:11 +01:00
Rudolf Meijering c8afae8a51
Enable v2 so migrations, disable in FTR tests (#89297)
* Enable v2 so migrations, disable in FTR tests

* Disable v2 migrations for ui_settings integration tests

* Disable v2 migrations for reporting without serucity api integration test
2021-01-27 12:13:15 +01:00
Anton Dosov b8947e3e15
[Search Sessions] Make search session indicator UI opt-in, refactor per-app capabilities (#88699) 2021-01-27 11:52:13 +01:00
Stratoula Kalafateli 64e9cf0440
Cleanup OSS code from visualizations wizard (#89092)
* Cleanup OSS code from visualizations wizard

* Remove unecessary translations

* Remove unused translation

* Fix functional test

* Disable the functional test for OSS

* Remove from oss correctly :D

* Fix ci
2021-01-27 12:45:49 +02:00
Christiane (Tina) Heiligers c6cfdee5b0
[core.logging] Add ops logs to the KP logging system (#88070)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 20:23:01 -07:00
Tiago Costa 8250b078b4
chore(NA): improve ts build refs performance on kbn bootstrap (#89333)
* chore(NA): improve ts build refs performance on kbn bootstrap

* chore(NA): use skipLibCheck=false by default on typechecking

* docs(NA): commit core docs changes

* fix(NA): eui typings
2021-01-27 00:59:24 +00:00
Rudolf Meijering dcba2ab829
Delete dead indices.delete code from v1 migrations (#89059)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 14:16:08 +01:00
Mikhail Shustov 1994c5bfd9
[Core] remove unused "pageNavigation" setting (#89160)
* remove unused advanced setting

* remove docs
2021-01-26 09:49:04 +01:00
Daniil ad953ee04e
[Visualizations] Changes in custom visualizations support (#88317)
* Convert to typescript

* Move related files directly into plugin

* Implement toExpressionAst

* Remove build_pipeline dedicated fn

* Async import converter

* Create a custom renderer

* Move function directly into plugin

* Update tests

* Move files directly into related plugins

* Remove ExprVis instance usage in maps visualizations

* Use uiState updates

* Fix minor issues

* Update expression builder

* Update styles

* Create wrapper component

* Update rendering

* Create region map expression renderer

* Fix tests and types

* Fix initial render

* Remove resize subscription

* Fix custom visualization expression

* Update region map expression in tests

* Update files structure

* Remove ReactVisController

* Remove base visualization renderer

* Remove extra vis properties

* Use requiresSearch flag for agg based vis

* Update types

* Remove visualization expression function

* Create toExpressionAst function

* Update custom visualization example

* Update interpreter functional tests

* Enhance VisTypeDefinition interface

* Enhance visualization types

* Update license

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 10:57:09 +03:00
Tiago Costa bc840b1c46
skip flaky suite (#89191) 2021-01-26 02:51:03 +00:00
Andrea Del Rio fb536f5428
Make toolbar_button a shared component (#88386) 2021-01-25 14:14:47 -08:00
Chandler Prall 5d68b10106
Upgrade EUI to v31.3.0 (#88881)
* Bump EUI to v31.3.0

* jest snapshot updates

* Fixed space issue in kbnQueryBar date picker

* Removed unecessary space in query bar scss

Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-25 14:39:20 -07:00
Nathan L Smith e5588a129b
Move EUI styled components integration to kibana_react (#86065)
...from xpack_legacy.

Remove the duplicated typings from the observability plugin and only use the ones from kibana_react.

Fixes #78248.
2021-01-25 13:48:35 -06:00
Devon Thomson 62b32c0a2a
Remove onAppLeave in useEffectCleanup to prevent confirm when leaving from listing page (#89041) 2021-01-25 14:28:26 -05:00
Alison Goryachev edb5e35151
[Painless Lab] Update server to use new es-js client (#88704) 2021-01-25 13:26:53 -05:00
Marco Vettorello 164d6b2d99
[discover] add valye formatter on y axis and display only integer values(#88941) 2021-01-25 15:51:11 +01:00
Matthias Wilhelm f4c4300201
[Discover] Deangularize $element and $timeout (#88214)
* Remove $element for document.getElementById
* Remove $timeout
2021-01-25 15:35:30 +01:00
Daniil 16657028f1
[Saved Objects] Fix saved object view path (#89057)
* Fix saved object view path

* Add additional check
2021-01-25 16:16:25 +03:00
Diana Derevyankina 191ad14ac2
Small multiples in vis_type_xy plugin (#86880)
* Small multiples in vis_type_xy plugin

* Fix tooltip and formatted split chart values

* update advanced settings wording

* Remove React import in files with no JSX and change the extension to .ts

* Simplify conditions

* fix bar interval on split charts in vislib

* Fix charts not splitting for terms boolean fields

* fix filtering for small multiples

* Change tests interval values from 100 to 1000000

* Revert "Change tests interval values from 100 to 1000000"

This reverts commit 92f9d1b4b9.

* Fix tests for interval issue in vislib

(cherry picked from commit ef45b63c47da403399f76f00b49329531d445f31)

* Revert axis_scale changes related to interval

* Enable _line_chart_split_chart test for new charts library

* Move chart splitter id to const

Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-25 15:47:03 +03:00
Daniil 72ef3b105a
[Data table] Add telemetry for table vis split mode (#88604)
* Add telemetry for table vis

* Update telemetry schema

* Add unit tests

* Update license

* Use soClient instead of esClient, update tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-25 14:11:59 +03:00
Stratoula Kalafateli 2ff523556d
[XY Axis] Fix bug on percentiles and percentiles ranks (#88576)
* [XY Axis] Fix bug on percentiles and percentiles ranks

* Add unit tests to renderAllSeries

* make it simpler

* Minor change on test

* Fix license headers

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-25 12:30:49 +02:00
Anton Dosov 403021fcab
[Search Sessions] omit searchSessionId from the initialState, explicitly pause refreshInterval in restoreState (#88650) 2021-01-25 11:28:10 +01:00
Joe Portner 8263d47d37
Fix sharing saved objects phase 2 CI (#89056) 2021-01-22 14:19:09 -05:00
Peter Pisljar d81ab83c16
[examples] expressions explorer (#88344) 2021-01-22 19:52:47 +01:00
Matthew Kime ae0bd2fbba
Add runtime fields to index patterns and searchsource (#88542)
* Add runtime fields to index patterns and searchsource
2021-01-21 14:10:19 -06:00
Lisa Cawley 17043d4f9d
Use doc link service in Stack Monitoring (#88920) 2021-01-21 11:25:02 -08:00
Anton Dosov 7727ab74d2
[Docs] Clean up state management examples (#88980) 2021-01-21 18:45:13 +01:00
Jonathan Budzenski f6813b855f
[build/fs] Fix copyAll default atime and mtime (#88921) 2021-01-21 10:32:27 -06:00
Pierre Gayvallet 477d0bbe21
add SavedObject export hooks (#87807)
* initial POC

* fix spaces UT

* address POC feedback, add tests for applyExportTransforms

* add sorting for transforms

* add type validation in SOTR

* add FTR tests

* update documentation

* add explicit so type export for client-side

* update generated doc

* add exporter test

* update license headers

* update generated doc

* fix so import... imports

* update generated doc

* nits

* update generated doc

* rename test plugins

* adding FTR tests on export failures
2021-01-21 15:27:28 +01:00
Mikhail Shustov b3a9754394
[Core] Explicit typings for request handler context (#88718)
* move context to server part. couple with RequestHandlerContext

Context implementation will be simplified in follow-up.

* adopt core code

* adopt bfetch code

* adopt data code

* adopt search examples

* adopt vis_type_timelion

* adopt vis_type_timeseries

* adopt plugin functional tests

* adopt actions

* adopt alerting plugin

* adopt APM plugin

* adopt beats_management

* adopt case plugin

* adopt cross_cluster_replication

* adopt data_enhanced

* adopt event_log

* adopt global_search

* adopt index_management

* adopt infra

* adopt licensing

* adopt lists

* adopt logstash

* adopt reporting

* adopt observability

* adopt monitoring

* adopt rollup

* adopt so tagging

* adopt security

* adopt security_solutions

* adopt watcher

* adopt uptime

* adopt spaces

* adopt snapshot_restore

* adopt features changes

* mute error when null used to extend context

* update docs

* small cleanup

* add type safety for return type

* refactor registerRouteHandlerContext type

* update docs

* update license header

* update docs

* fix type error. fetch body does not accept array of strings

* fix telemetry test

* remove unnecessary ts-ignore

* address comments

* update docs
2021-01-21 15:20:22 +01:00
Robert Austin c3a69fe28b
Remove plugin circular deps between actions -> case and case -> securitySolution (#88106) 2021-01-21 08:47:15 -05:00
Rudolf Meijering bfcd990dee
Handle another node already having deleted the temporary index (#88332)
* Handle another node already having deleted the temporary index

* Make run_multiple_kibana_nodes.sh script more generic

* Add note about dependency on jq

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-21 12:10:10 +01:00
Anton Dosov 05fcdd8a56
[Search Sessions] Add searchSessionId to Vega's inspector (#88839) 2021-01-21 11:31:28 +01:00
Joe Portner 25f16db4d9
Sharing saved objects, phase 2 (#80945) 2021-01-20 17:39:21 -05:00
Matthew Kime 1edc799894
[index patterns] improve developer docs (#86416)
* add index pattern docs
2021-01-20 14:21:38 -06:00
Pierre Gayvallet edb338a8ad
Add SO import hook / warnings API (#87996)
* initial commit

* adapt client-side signatures

* more type fixes

* adapt api IT asserts

* fix some unit tests

* fix more test usages

* fix integration tests

* fix FT test assertions

* fix FT test assertions

* add FTR API integ test suite

* create the plugin_api_integration test suite

* adapt and fix flyout tests

* update documentation

* update generated doc

* add unit tests for `executeImportHooks`

* wire resolve_import_errors and add unit tests

* move hooks registration to SO type API

* update generated doc

* design integration

* update generated doc

* Add FTR tests for import warnings

* deletes plugins api integ tests

* self review

* move onImport to management definition

* update license header

* rename actionUrl to actionPath
2021-01-20 19:25:32 +01:00
Nick Partridge 2e878f59f7
Sync search query with url in advanced settings (#81829) 2021-01-20 11:29:07 -06:00
Marco Liberati 86789dabb5
[Lens] Add more in-editor Advanced documentation (#86821)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>
2021-01-20 17:49:21 +01:00
Tim Sullivan ef40806805
[Data/Search Sessions] Management UI (#81707)
* logging and error handling in session client routes

* [Data] Background Search Session Management UI

* functional tests

* fix ci

* new functional tests

* fix fn tests

* cleanups

* cleanup

* restore test

* configurable refresh and fetch timeout

* more tests

* feedback items

* take expiresSoon field out of the interface

* move helper to common

* remove bg sessions w/find and delete

* add storybook

* fix tests

* storybook actions

* refactor expiration status calculation

* isViewable as calculated field

* refreshInterval 10s default

* list newest first

* "Type" => "App"

* remove inline view action

* in-progress status tooltip shows expire date

* move date_string to public

* fix tests

* Adds management to tsconfig refs

* removes preemptive script fix

* view action was removed

* rename the feature to Search Sessions

* Update x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/status.tsx

Co-authored-by: Liza Katz <lizka.k@gmail.com>

* Update x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/status.tsx

Co-authored-by: Liza Katz <lizka.k@gmail.com>

* add TODO

* use RedirectAppLinks

* code review and react improvements

* config

* fix test

* Fix merge

* Fix management test

* @Dosant code review

* code review

* Deleteed story

* some more code review stuffs

* fix ts

* Code review and cleanup

* Added functional tests for restoring, reloading and canceling a dashboard
Renamed search session test service

* Don't show expiration time for canceled, expired or errored sessions

* fix jest

* Moved UISession to public

* @tsullivan code review

* Fixed import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christiane Heiligers <christiane.heiligers@elastic.co>
Co-authored-by: Liza Katz <lizka.k@gmail.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-01-20 18:32:42 +02:00
Alejandro Fernández Haro ad8589eb19
[Telemetry] Handle Promise Rejection (#88815) 2021-01-20 13:56:40 +00:00
Cauê Marcondes 7e1549d889
[APM] FTR with Cypress (#88142)
* usgin esarchive to load e2e

* using esarchive to load e2e

* using esarchive to load e2e

* using esarchive to load e2e

* using esarchive to load e2e

* chaning archiver script to copy file to both e2e and api tests

* chaning archiver script to copy file to both e2e and api tests

* removing task folder

* running e2e through script

* using cy.clock to set now

* adding basic test

* adding cypress run script

* adding cypress run script

* fixing some stuff

* excluding new e2e dir

* adding new project for new e2e dir

* adding new project for new e2e dir

* unformatting file

* adding unit tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 12:54:12 +01:00
Alejandro Fernández Haro fc9da67d39
[DOCS] Usage Collection: better landing docs for improved DX (#88500)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 11:33:31 +00:00
Brandon Kobel 170a2956c8
Updating the License (#88343)
* Updating the Licenses, except for applying eslint, building

* Applying ESLint rules,building @kbn/pm, regenerating api docs
2021-01-19 17:52:56 -08:00
Lisa Cawley 1db32352b2
Use doc link service for Maps help (#88631) 2021-01-19 13:52:42 -08:00
Nathan Reese 07849ce42e
Remove circular depencency between maps_legacy and region_map and tile_map plugins (#88265)
* Remove circular depencency between maps_legacy and region_map and tile_map plugins

* update imports in maps plugin

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-19 13:40:24 -07:00
Ahmad Bamieh f5c73a9ac7
[SavedObjects] Allow migrations to be a function (#88594)
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2021-01-19 18:37:48 +02:00
Alejandro Fernández Haro 7c9b11476d
[Application Usage] Functional test to validate the full list of appIds in the schema (#88080)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-19 14:44:08 +00:00
Mikhail Shustov 6e4c70848d
[Core] Remove public context (#88448)
* remove client side context

* update docs

* fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-18 21:47:53 +01:00
Devon Thomson af7a577b09
[Time to Visualize] Enable by Default (#88390)
* Enable Time to Visualize by Default
2021-01-18 13:51:32 -05:00