Commit graph

1898 commits

Author SHA1 Message Date
Lisa Cawley 9079aca5b7
[DOCS] Update ML note in Kibana role management (#77538) 2020-09-16 09:30:43 -07:00
Lisa Cawley 80107b41e5
[DOCS] Remove list of privileges from ML overview (#77541) 2020-09-16 09:25:55 -07:00
Josh Dover 9b6edc5cd5
Allow legacy imports size respect savedObjects.maxImportPayloadBytes config (#77409) 2020-09-16 08:52:42 -06:00
Pierre Gayvallet ab92bbb726
Move core config service to kbn/config package (#76874)
* move deprecations and raw loader to package

* move config service to package

* start to adapt the usages

* adapt yet more usages

* update generated doc

* move logging types to `@kbn/logging`

* update generated doc

* add yarn.lock symlink

* merge @kbn-logging PR

* adapt Env.createDefault

* update generated doc

* remove mock exports from the main entrypoint to avoid importing it in production code

* use dynamic require to import `REPO_ROOT` from bootstrap file

* move logger mock to kbn-logging package

* address review comments

* import PublicMethodOf from kbn/utility-types

* fix import conflict

* update generated doc

* use the @kbn/std package

* update generated doc

* adapt plugin service mock
2020-09-16 09:17:05 +02:00
Tyler Smalley 9acf8d2656
Adds @kbn/utils package (#76518)
Moves common utility functions to obtain the repository root,
paths (config/data), and Kibana package.json to a @kbn/utils package.
Moving these existing functions allows them to be used in production, in
other packages because of Kibana.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-09-15 10:34:39 -07:00
Luke Elmers e6d6751852
[data.search.SearchSource] Unify FetchHandler types & add onResponse/callMsearch. (#77430) 2020-09-15 08:05:19 -06:00
Pierre Gayvallet 043ef5e1d7
Create the @kbn/std package (#77329)
* move `src/core/utils` to the @kbn/std package

* update README

* update codeowners and add yarn lock file

* remove export from src/core/public and src/core/server and use package import instead

* update generated doc

* adapt forgotten import

* update `data` plugin doc
2020-09-15 15:21:05 +02:00
Anton Dosov ba4d4a9fc2
[docs] High-level Routing, Navigation and URL overview (#76888) 2020-09-15 14:08:30 +02:00
Michail Yasonik 61c4e6fd8d
Stacked headers and navigational search (#72331)
Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-09-14 14:32:30 -05:00
Larry Gregory 2e34eb239f
Hide management sections based on cluster/index privileges (#67791)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 09:30:47 -04:00
Anton Dosov 4a45dad51f
[Drilldowns] Wire up new links to new docs (#77154)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 12:58:22 +02:00
Daniil Suleiman 44f594ee7b
[Visualizations] Simplify visualization telemetry (#77145)
* Move visualizations telemetry into visualizations plugin

* Remove x-pack oss_telemetry plugin

* Add unit tests

* Update docs

* Revert not related changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 13:36:42 +03:00
Joe Reuter a49d8e8994
Separate url forwarding logic and legacy services (#76892) 2020-09-14 11:08:59 +02:00
Lukas Olson b99d8af623
[Search] Remove long-running query pop-up (#75385)
* [Search] Remove long-running query pop-up

* Don't timeout if requestTimeout isn't configured

* Remove unused kibanaUtils

* Remove unused kibanaReact

* Re-add reference to kibanaUtils

* Remove unused translations and update documentation

* Add new x-pack advanced setting searchTimeout and use it in the EnhancedSearchInterceptor

* docs

* Re-add toast when queries time out

* Fix types

* Update error message with capabilities

* Update docs

* Update docs

* Move search server routes into a directory.

* Add internal/_msearch route.

* Remove legacy search API, rewrite default search strategy to use internal route.

* Remove legacy es_client code.

* Handle msearch options on server.

* Remove elasticsearch-browser dependency.

* Update generated docs.

* Rely on server timeout in OSS (?)
Use UI setting in xpack.

* Rename function

* Add features to dependencies

* Undefined check

* doc

* Code review fixes

* code review

* doc

* loading count

* simplify code review and fix jest tets

* type check

* Remove esShard from client

* cleanup request parameters from FE

* doc

* doc

* Align request parameters on server,
Remove leftover parameters from client
Shim responses for search and msearch routes

* docs
Stop using toSnakeCase
Updates jest tests

* add management docs

* docs

* Remove import

* Break circular dep + fix msearch test

* Remove deleted type

* Fix jest

* Bring toSnakeCase back

* docs

* fix jest

* Add new x-pack advanced setting searchTimeout and use it in the EnhancedSearchInterceptor

* docs

* Rely on server timeout in OSS (?)
Use UI setting in xpack.

* Rename function

* doc

* Remove esShard from client

* cleanup request parameters from FE

* doc

* doc

* Align request parameters on server,
Remove leftover parameters from client
Shim responses for search and msearch routes

* docs
Stop using toSnakeCase
Updates jest tests

* add management docs

* docs

* Remove import

* Break circular dep + fix msearch test

* Remove deleted type

* Fix jest

* Bring toSnakeCase back

* docs

* fix jest

* Fix merge

* Fix types

* Allow timeout to be undefined

* Fix jest test

* Upldate docs

* Fix msearch jest

* Merge correction

* docs

* Fix rollup search merge

* Fix merge

* Use i18n

Co-authored-by: Liza K <liza.katz@elastic.co>
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-13 10:20:10 -07:00
Peter Pisljar 177d67e8bc
[Docs] some basic searchsource api docs (#77038) 2020-09-11 08:59:56 +02:00
Joe Portner 52d044c74a
Change saved object bulkUpdate to work across multiple namespaces (#75478) 2020-09-10 22:09:24 -04:00
Marta Bondyra 0c678ebada
[Lens] Filters aggregation (#75635) 2020-09-10 21:16:07 +02:00
Anton Dosov b913f21ccb
[Docs] URL Drilldown (#76529) 2020-09-10 11:59:10 +02:00
Josh Dover a19484abe0
Add plugin status API - take 2 (#76732) 2020-09-09 18:08:48 -06:00
Joel Griffith 9edb8d9ae2
Reporting/diagnostics (#74314)
* WIP: Adding in new reporting diag tool

* WIP: chrome-binary test + log capturing/error handling

* More wip on diagnostic tool

* More work adding in diagnose routes

* Alter link in description + minor rename of chrome => browser

* Wiring UI to API + some polish on UI flow

* WIP: Add in screenshot diag route

* Adding in screenshot diag route, hooking up client to it

* Add missing lib check + memory check

* Working screenshot test + config check for RAM

* Small test helper consolidation + screenshot diag test

* Delete old i18n translations

* PR feedback, browser tests, rename, re-organize import statements and lite fixes

* Lite rename for consistency

* Remove old validate check i18n

* Add config check

* i18n all the things!

* Docs on diagnostics tool

* Fixes, better readability, spelling and more for diagnostic tool

* Translate a few error messages

* Rename of test => start_logs for clarity. Move to observables

* Gathering logs even during process exit or crash

* Adds a test case for the browser exiting during the diag check

* Tap into browser logs for checking output

* Rename asciidoc diag id

* Remove duplicate shared object message

* Add better comment as to why we merge events + wait for a period of time

* Cloning logger for mirroring browser stderr to kibana output

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-09 16:11:23 -07:00
Josh Dover 9bc603e7d9
Move metrics to setup and add cgroup metrics (#76730) 2020-09-09 14:01:29 -06:00
Liza Katz 52c12eac32
[Search] Add a new advanced setting searchTimeout (#75728)
* Add new x-pack advanced setting searchTimeout and use it in the EnhancedSearchInterceptor

* docs

* Rely on server timeout in OSS (?)
Use UI setting in xpack.

* Rename function

* doc

* Remove esShard from client

* cleanup request parameters from FE

* doc

* doc

* Align request parameters on server,
Remove leftover parameters from client
Shim responses for search and msearch routes

* docs
Stop using toSnakeCase
Updates jest tests

* add management docs

* docs

* Remove import

* Break circular dep + fix msearch test

* Remove deleted type

* Fix jest

* Bring toSnakeCase back

* docs

* fix jest

* Fix merge

* Fix types

* Allow timeout to be undefined

* Fix jest test

* Upldate docs

* Fix msearch jest

* docs

* Fix rollup search merge

* docs

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-09 10:06:45 +03:00
gchaps e3a322d65f
[DOCS] Adds timelion deprecation to new visualize docs structure (#76959) 2020-09-09 09:19:12 +03:00
Brandon Morelli 8ef31f6684
docs: fix link to APM Server (#77002) 2020-09-08 19:36:41 -07:00
Shamin Meerankutty 194d0b0a3f
Convert map client routing files to TS (#76387)
* Converted maps_router and store operations files

* Converted files in map routes to typescript

* Removed an unwanted ts-expect-error

* Fixed the lint errors from jenkins

* Naming changes, type for mapStateJSON etc.

* More type fixes in map routes

* More type fixes in map routes

* Added back some removed props

* Added types to app state manager

* Autogenerated api documentation

* Type fixes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 15:51:28 -06:00
Mikhail Shustov bcaffba12b
Remove legacy SavedObjects (#76852)
* remove legacy SO integration

* cleanup integration in the legacy platorm

* remove so schema

* update docs

* remove leftovers, update docs

* update docs after merge master
2020-09-08 22:01:31 +02:00
Matthew Kime 842bcf4560
Index pattern save => Index pattern service (#76706)
* Index pattern save => Index pattern service
2020-09-08 12:59:02 -05:00
Mikhail Shustov 2f1c0127e2
Deterministic output for doc types (#76890)
* disable incremental builds for public type generation.

They generate non-deterministic types https://github.com/microsoft/rushstack/issues/1958

* do not infer public types
2020-09-08 13:28:29 +02:00
Uladzislau Lasitsa 4788005227
Use Search API in Timelion (sync) (#75115)
* New Search API for timelion

* Using timeout from config

* Use only es strategy)

* Fixed remarks

* Fixed tests

* Fixed fixtures

* Fixed ci

* Fixed typecheck

* Fixed eslint

* Fixed remarks

* Fix changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 18:05:31 +03:00
Yuliia Naumenko 6e0b20cbe3
Replaced whitelistedHosts with allowedHosts in actions ascii docs (#76731) 2020-09-04 10:33:49 -07:00
Lisa Cawley 4c2ef986e1
[DOCS] Add default time range filter to advanced settings (#76414)
* [DOCS] Add default time range filter to advanced settings

* [DOCS] More edits

* [DOCS] Adds behaviour when disabled

* [DOCS] Synchs setting name changes

* [DOCS] More edits
2020-09-04 09:59:21 -07:00
Wylie Conlon 9ca8551cda
[Lens] Drag dimension to replace (#75895)
* [Lens] Drag to replace

* Add jest tests for drag and drop

* Fix bug in dragging to empty

* Hide dragged dimension when drag starts

* Make table metrics required

* Update class names

* Implement styles on non-droppable items

* Replace drag and drop image in docs

* Remove extra specificity

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 10:11:41 -04:00
Spencer 5b853b2326
Test reverting "Add plugin status API (#75819)" (#76707)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-09-03 15:21:59 -07:00
Kaarina Tungseth c84532aade
[DOCS] Dashboard-first docs refresh (#76194)
* [DOCS] Dashboard-first refresh

* Fixes broken links and partinto error

* Fixes images in panel table

* Fixes broken links

* Fixes broken drilldowns link

* Fixes images and table

* Removed un needed files and added edit content

* Update docs/getting-started/tutorial-visualizing.asciidoc

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

* Review comments

* Review comments

* Removed blocks

* Typo fix

* Update docs/getting-started/tutorial-sample-data.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/getting-started/tutorial-discovering.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/getting-started/tutorial-sample-data.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/getting-started/tutorial-visualizing.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/edit-dashboards.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

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

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Review comments

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-09-03 16:34:25 -05:00
Yuliia Naumenko 60986d4f82
Updated ServiceNow description in docs and actions management UI to contains correct info (#76344)
* Updated ServiceNow description in documentation and Actions management create UI to contains correct info that ServiceNow

* fixed due to comments
2020-09-03 13:07:23 -07:00
gchaps 038a11e7dd
[DOCS] Identifies cloud settings in reporting (#76691) 2020-09-03 13:06:45 -07:00
gchaps 9fe4f2d8aa
[DOCS] Identifies graph settings available on cloud (#76661) 2020-09-03 11:10:51 -07:00
Michail Yasonik 97669696c1
Add more info about a11y tests (#76045)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-09-03 13:09:00 -05:00
Larry Gregory 2872dc9956
Document security settings available on ESS (#76513) 2020-09-03 11:44:36 -04:00
gchaps 2de9f44431
[DOCS] Identifies cloud settings for Monitoring (#76579) 2020-09-03 08:17:55 -07:00
gchaps 1f3ede8058
[DOCS] Identifies Cloud settings in Dev Tools (#76583) 2020-09-03 08:15:23 -07:00
Pierre Gayvallet e976bddf81
Remove legacy applications and legacy mode (#75987)
* remove legacy mode and legacy service

* fix tests

* remove txt file

* fix xpack code

* fix types

* remove legacy test

* fix integration tests

* remove legacy reference

* yet another legacy reference

* handle uptime app special case

* update generated doc

* address review comments

* remove legacy fields from ChromeNavLink

* few fixes

* remove legacy API from docTitle service

* ChromeNavLink.href is now mandatory

* update generated doc

* remove legacyMode leftovers

* remove ChromeNavLink.active

* update generated doc
2020-09-03 12:23:57 +02:00
Liza Katz 411048ae09
Replace FetchOptions with ISearchOptions (#76538)
* Replace FetchOptions with ISearchOptions and update usage

* Merge the client and server ISearchOption types into common

* docs
2020-09-03 12:30:31 +03:00
Matthew Kime ee2ceef9bb
Index Pattern class - remove toJSON and toString (#76246)
* remove toJSON

* remove toJSON, toString

* fix ml url

* Update actions_panel.tsx

* fix url

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-02 17:20:14 -05:00
Matthew Kime 5467f31640
Remove dependencies from index pattern field and index pattern list (#75185)
* Remove dependencies from index pattern field and index pattern list
2020-09-02 16:00:23 -05:00
gchaps 7b7b013b97
[DOCS] Adds cloud icon to alerting settings (#76516) 2020-09-02 08:59:58 -07:00
Brandon Kobel b5faf41b04
Manually building KueryNode for Fleet's routes (#75693)
* Simple benchmark tests for kuery

* Building manually is "better" still not free

* Building the KueryNode manually

* Removing benchmark tests

* Another query is building the KueryNode manually

* Empty strings are inherently falsy

* No longer reaching into the data plugin, import from the "root" indexes

* Using AGENT_ACTION_SAVED_OBJECT_TYPE everywhere

* Adding SavedObjectsRepository#find unit test for KueryNode

* Adding KQL KueryNode test for validateConvertFilterToKueryNode

* /s/KQL string/KQL expression

* Updating API docs

* Adding micro benchmark

* Revert "Adding micro benchmark"

This reverts commit 97e19c0bf3.

* Adding an empty string filters test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-01 13:59:11 -07:00
Matthew Kime f6aa798535
remove dupe tinymath section (#76093) 2020-09-01 15:50:29 -05:00
Pierre Gayvallet 981691d378
Add setHeaderActionMenu API to AppMountParameters (#75422)
* add `setHeaderActionMenu` to AppMountParameters

* allow to remove the current menu by calling handler with undefined

* update generated doc

* updating snapshots

* fix legacy tests

* call renderApp with params

* rename toMountPoint component file for consistency

* add the MountPointPortal utility component

* adapt TopNavMenu to add optional `setMenuMountPoint` prop

* add kibanaReact as required bundle.

* use innerHTML instead of textContent for portal tests

* add error boundaries to portal component

* improve renderLayout readability

* duplicate wrapper in portal mode to avoid altering styles

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-01 19:42:41 +02:00
Tyler Smalley 2114017858
[docs] Updates to development branching (#76063)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Stacey Gammon <gammon@elastic.co>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
2020-09-01 06:49:00 -07:00