Commit graph

38346 commits

Author SHA1 Message Date
Mikhail Shustov
ab8a2f7427
[docs] Convert migration guide to asciidoc (#82600)
* Initial conversion to asciidoc

* Update and split migration guide

* Convert MIGRATION_EXAMPLES to asciidoc

* build with --focus flag

* convert migration guide to asciidoc

* cleanup migration_examples

* fix wrong Heading size

* update links in docs

* Apply suggestions from code review

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>

* Apply suggestions from code review

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>

* add tooling section

* explain purpose of each lifecycle method

* cleanup docs

* cleanup p2

* fix wrong link

* resturcture core docs

* fix wrong link

* update missing links

* Apply suggestions from code review

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

* address comments

* add a commenta about plugin-helpers preconfigured

* improve density of tables

* fix lik

* remove links to the migration guide

* address comments

* Apply suggestions from code review

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

* address @gchaps comments

* Apply suggestions from code review

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

* change format of ES client change list

Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-11-24 09:46:19 +01:00
Yuliia Naumenko
b11f7830cb
[Alerting UI] Replaced AppContextProvider introduced by the plugin with KibanaContextProvider (#83248)
* Replaced AppContextProvider introduced by the plugin with KibanaContextProvider

* Removed unused files

* Fixed jest test

* Removed ActionsConnectorContext

* exposed addConnectorFlyout and editConnectorFlyouts as a plugin start result

* removed rest of unused connectors context

* fixed capabilities

* fixed jest tests

* fixed jest tests

* fixed jest tests

* fixed uptime

* fixed typecheck errors

* fixed typechecks

* fixed jest tests

* fixed type

* fixed uptime settings by pathing the correct plugin dependancy

* fixed security detection rules

* fixed due to commetns

* fixed jest tests

* fixed type check

* removed orig files

* fixed cases UI issues

* fixed due to comments

* fixed due to comments

* fixed kibana crash

* fixed es-lint
2020-11-24 00:07:47 -08:00
Daniil
91ff8e45ab
Explicitly pass params (#84107) 2020-11-24 10:48:32 +03:00
Stratoula Kalafateli
cac95a3bf6
[Visualizations] Update the texts on the wizard (#82926)
* [Visualizations] Update the texts on the wizard

* Fix functional test

* Final texts

* Fix heatmap description

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-24 08:54:40 +02:00
Thomas Neirynck
ba7a8723ed
[Maps] Fix term-join creation (#83974) 2020-11-23 20:29:56 -05:00
Tiago Costa
e559a612bc
chore(NA): skip docker build if docker binary is not available (#84154) 2020-11-24 00:17:54 +00:00
Rashmi Kulkarni
ac1cf7d19e
Fix for x-pack maps functional test to remove the unloading of data (#83856)
* fixes https://github.com/elastic/kibana/issues/74449

* fixing maps tests -small fix to remove unloading of data for the subsequent tests to pass

* changes to how we  load/unload data

* modified index.js file again to fit the needs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 14:21:47 -08:00
Constance
61fb7eb219
[Enterprise Search] Add Cloud-specific setup guide instructions (#84008)
* Add cloud plugin detection

* Add cloud plugin value to KibanaLogic

* [Setup] DRY out Setup Guide title const

* [Misc] Rename shared SetupGuide to SetupGuideLayout for explicitness

- So we're not renaming it anyway when importing it per-product
- From a previous piece of PR feedback

* [Misc cleanup] Fix non-versioned Workplace Search documentation link

* [Setup] Pull out versioned Cloud/Enterprise Search doc links to shared/

* Add new Cloud setup instructions

* Update SetupGuideLayout to deliver either cloud or self-managed instructions
2020-11-23 13:09:59 -08:00
ymao1
82abb05722
[Alerting UI] Updating defaultActionMessage for Index Threshold Alert (#83934)
* Renaming function to conditions

* Making comparators human readable. Tests

* i18n fix

* Fixing tests

* Fixing tests

* i18n fix

* PR comments
2020-11-23 16:02:06 -05:00
Jen Huang
cf255e478f
Fix error happening on inline create agent policy (#83993)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 12:53:02 -08:00
Joe Portner
5988ce0401
Fix "Getting started" link in README (#84153) 2020-11-23 15:33:02 -05:00
Davey Holler
18e0476ebb
Adds a column for engine language to the engines table. (#84004)
* Adds a column for engine language to the engines table.

* Handle Meta Engines and Universal language types

Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 11:58:55 -08:00
Tiago Costa
f4de3839d0
skip flaky suite (#84145) 2020-11-23 19:12:31 +00:00
Kevin Logan
483749168d
[SECURITY_SOLUTION] truncate Hostname and add tooltip in flyout (#84086)
* truncate Hostname and add tooltip in flyout

* remove leading and trainling spaces
2020-11-23 14:07:18 -05:00
Scotty Bollinger
c45fe18fd5
[Workplace Search] Migrate Source containers and routers (#83954)
* Initial copy/paste of components

No changes other than linting and the removal of the underscore.toSentenceSerial method in favor of the following:

new Intl.ListFormat().format(groups)

which does the same thing

* Redo groups sentence with more accepted solution

Turns out the previos commit’s solution is not widely accepted:

https://caniuse.com/?search=ListFormat

* Add placeholders for future components

Schema and DisplaySettings are Custom Source components that will be added later. These are stubs so the containers will render.

* Update component paths

* Remove AppView, SidebarNavigation and FlashMessages

Sidebar copy and breadcrumbs will be recreated at the top level in a separate PR

* Use Kibana’s hasPlatinumLicense over minimumPlatinumLicense

Also renames fpAccount to account, as it’s called in Kibana

* Fix typings

* Move sidebar content temporarily to top of page

This is temporary as noted by comments

* Fix missing images

* Fix routes

Had the base route and not the status route in the fetchSourceStatuses method

* Clean up last Sidebar with temp copy placement

This is so that CI will pass and we can get this merged in and do the actual wiring up of everything in a separate PR.

* Remove unused links

For CI to pass. Will add back in future PR

* Minify SVG illustration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 13:04:31 -06:00
Yara Tercero
ad8ea02fb2
[Security Solution][Detections] - Fix EQL preview accepting all date formats (#83939)
## Summary

This PR addresses a bug found where EQL preview was breaking. The preview was showing no hits, though the API response clearly had hits. Because EQL does not support aggregations, aggregations for preview were done manually, client side and missed this case where `@timestamp` is returned as unix epoch. We used `Date.parse` which expects a string, so when inserting a unix timestamp it returned `NaN`.
2020-11-23 13:45:46 -05:00
Jen Huang
3d5d99e037
Use new query bar props (#84108) 2020-11-23 10:14:57 -08:00
Spencer
8ea529d559
[src/cli/dev] remove broken and unused --open flag (#83966)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 11:13:37 -07:00
Jen Huang
97c9fc2699
Disallow dashes in namespace strings (#83996)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 09:51:50 -08:00
Christos Nasikas
f52fbdc703
[Form lib] Prevent idAria prop to be passed on EuiFormRow components (#84079) 2020-11-23 19:43:05 +02:00
Bill McConaghy
a9a949366e
clarifying docs re: encryptionKey settings (#83911) 2020-11-23 12:42:09 -05:00
Pete Harverson
921a119804
[ML] Remove all usage of font awesome icons in ML plugin (#84066) 2020-11-23 17:39:14 +00:00
Tiago Costa
b2e01c50c9
chore(NA): remove yarn lock from kbn legacy logging (#84096)
* Revert "[Search] Search batching using bfetch (#83418)"

This reverts commit 5708c5d004.

* chore(NA): remove yarn.lock from kbn-legacy-logging
2020-11-23 17:13:40 +00:00
Brandon Kobel
e3adae4e67
APM index settings import/export in saved-object management (#82784)
* APM index settings import/export in saved-object management

* i18n'ing the title

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 09:01:32 -08:00
Thomas Neirynck
0fd9efd6af
Add maps plugin to code-coverage (#83949)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 11:51:48 -05:00
Daniil
bb023c5c1c
[TSVB] Custom renderer (#83554)
* Implement custom renderer

* Remove legacy code

* Use custom expression

* Convert to typescript

* Remove savedObjectId extra param

* Other updates

* Fix types

* Cleanup

* Fix functional tests

* Bind uiSettings

* Update snapshot

* Update types

* Remove extra params

* Move common types

* Return back validation error message

* Use panel types enum

* Fix types

* Lazy load visualizations
2020-11-23 19:41:26 +03:00
Alejandro Fernández Gómez
378d89b5cd
[Logs UI] Allow custom columns in the <LogStream /> component (#83802) 2020-11-23 17:30:02 +01:00
Alejandro Fernández Gómez
10afcf032f
[Logs UI] wrap lines inside <LogStream /> (#83449)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 17:07:54 +01:00
Matthew Kime
fd9f504e3b
[Index patterns] Remove field cache (#82223) 2020-11-23 09:52:25 -06:00
Gidi Meir Morris
348f6b6500
Prevents errors in Action and Alert Type UIs from cascading through Alerts Management (#83925)
This PR wraps the components injected by Alert Type and Action in `EuiErrorBoundary` components, which ensures you can still edit the Alert and other Actions when these components fail.
2020-11-23 15:38:42 +00:00
Frank Hassanabad
24c7b2d2f8
Adds safe guards against in-determinism by checking list items after uploads (#84015)
## Summary

Fixes flakey tests by adding explicit list value upload items through either the fixture that was uploaded or by a specific test value in case the uploaded list is a range value. Also filters out any empty values for more safeguards from prettier formatters that add them to fixture files.

https://github.com/elastic/kibana/issues/84014

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2020-11-23 08:13:55 -07:00
Tiago Costa
0a0672f15a
skip flaky suite (#81668) 2020-11-23 15:08:52 +00:00
Tiago Costa
054b801a42
Merge remote-tracking branch 'upstream/master' 2020-11-23 15:07:47 +00:00
Jen Huang
81f4dc9bdf
Add iconType and disableLanguageSwitcher options to QueryStringInput (#83700)
* Add iconType and disableLanguageSwitcher options to QueryStringInput

* Remove unnecessary span, add tests

* Update docs

* Adjust suggestions offset

* Add comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 07:06:01 -08:00
Tiago Costa
65967cdb08
Merge remote-tracking branch 'upstream/master' 2020-11-23 14:54:05 +00:00
Thom Heymann
7d929fe903
Allow predefined ids for encrypted saved objects (#83482)
* Allow predefined ids for encrypted saved objects

* Fix mock

* fix tests

* Added suggestions from code review

* added jsdocs params

* Fixed jsdocs
2020-11-23 14:53:35 +00:00
Kevin Logan
d51437e891
change ingest manager text to Fleet (#83991)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 09:51:39 -05:00
Shahzad
22fb0005a1
[Uptime] Add ts support for es queries aggs (#83331)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 14:38:59 +01:00
Jason Stoltzfus
26e9dbf06a
[App Search] Added the Document Detail View (#83564) 2020-11-23 08:38:43 -05:00
Sandra Gonzales
4e9afeebd5
[Fleet] index patterns to handle uploaded packages (#83994)
* fix index patterns, remove install_source from cache key, add missing test file

* remove unused function

* fix types

* fix comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 08:29:13 -05:00
Nathan L Smith
c15ab563af
Add search bar and fix layout on service node metrics (#83945) 2020-11-23 14:27:21 +01:00
Shahzad
ea4ff59448
[UX]Page load chart breakdown tooltip formatting (#83627)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 14:02:45 +01:00
Thomas Watson
6b9079c9cb
Force-bump prismjs to v1.22.0 (#83672) 2020-11-23 13:24:43 +01:00
Mikhail Shustov
95861a0fb0
[DX] Prettier v2.2 (#83899)
* update prettier with ts version support

* mute type-error

* run prettier on codebase

* fix examples

* fix errors after master merged
2020-11-23 13:17:05 +01:00
Alejandro Fernández Haro
df4f4758fa
Remove the parameter timestamp in /api/telemetry/v2/clusters/_stats (#83791)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 12:09:16 +00:00
Joe Reuter
ade7278cf2
[Lens] Add unit tests for format_column expression function (#83424) 2020-11-23 13:03:23 +01:00
Cauê Marcondes
ac73b6a5b4
[Observability] Load hasData call asynchronously (#80644)
* obs perf

* fixing unit tests

* fixing ts issues

* fixing empty state

* addressing pr comments

* addressing pr comments

* fixing TS issue

* fixing some stuff

* refactoring

* fixing ts issues and unit tests

* addressing PR comments

* fixing TS issues

* fixing eslint issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 11:58:49 +01:00
Aleh Zasypkin
e3ca8a928d
Implement AnonymousAuthenticationProvider. (#79985) 2020-11-23 11:41:08 +01:00
Uladzislau Lasitsa
197b9dd582
Deprecate visualization:colorMapping advanced setting (#83372)
* Added deprecation for visualization:colorMapping

* Update text of deprecation

* Update message

* Delete from translations for re-translation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 13:00:08 +03:00
Uladzislau Lasitsa
812bd3878e
[TSVB] [Rollup] Table tab not working with rollup indexes (#83635)
* Added restrictions and type to filtering filed for group by

* Use context instead of consumer

* Added bucket types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 12:58:21 +03:00