Commit graph

39695 commits

Author SHA1 Message Date
Kibana Machine
3e32ee02d4
[core.savedObjects] Fix maxImportExportSize config & update docs. (#94019) (#94999)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-03-18 21:42:14 -04:00
Kibana Machine
0fb2c64ebf
Re-Enabling Grok Debugger Functional UI Tests (#91274) (#94997)
* Adding .only clause for testing purposes.

* Removing .only and reenabling test. Also changing back to group 13.

* Removing .only and reenabling test. Also changing back to group 13.

* Removed comment mentioning github issue.

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

Co-authored-by: John Dorlus <silne.dorlus@elastic.co>
2021-03-18 21:35:31 -04:00
Kibana Machine
290f0cda55
[Curation] Add Result Manually flyout/search (#94887) (#94991)
* Set up curation search server route

- not really sure which API endpoint to use, hedging my bets

* Set up AddResultLogic

- fairly simple, mostly concerned with flyout behavior & search query
- could likely be reused (or replaced with??) query tester logic in the future

* Add main AddResultFlyout component

- with custom isPromoted / isHidden logic & actions

* Update AddResultButton to open flyout

* Update Curation page to render the flyout

* PR feedback: reset search query on flyout re-open

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-03-18 20:03:42 -04:00
Kibana Machine
7946d2707e
[Security Solution][Detection Rules] Fixes rule details activate switch (#94010) (#94990)
Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
2021-03-18 20:01:11 -04:00
Kibana Machine
5063525a8d
[Fleet] Fix version on agent details screen (#94867) (#94979)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-03-18 18:19:41 -04:00
Kaarina Tungseth
135b196544
[DOCS] Fixes Timelion link from UI to docs (#94985) (#94988) 2021-03-18 16:29:58 -05:00
Kaarina Tungseth
b3064413e3
[DOCS] Reformats Dashboard and adds Lens reference (#89615) (#94986)
* [DOCS] Reformats Dashboard and adds Lens reference

* ⚗️ First trial of Lens FAQ

* Fixes broken title levels

* Link fix

* Fixes tsvb link

* Fixes tsvb link

* [DOCS] Reformats Dashboard and adds Lens reference

* ⚗️ First trial of Lens FAQ

* Fixes broken title levels

* Link fix

* Fixes tsvb link

* Fixes tsvb link

* [Lens] Add drag and drop keyboard navigation docs

* remove unlinked files

* [Lens] tutorial advanced first version

* corrections

* Kaarinas changes

* corrections after CR

* Update docs/user/dashboard/lens-advanced.asciidoc

* 📝 Add more Lens related FAQ

* Updates Lens page

* Update docs/user/dashboard/lens.asciidoc

* drag and drop copy and gif

* some corrections after Wylie's second review

* Review comments

* Final changes

* Update lens-advanced.asciidoc

ordering fixed

* Comment organization

* Final clean up

Co-authored-by: dej611 <dej611@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>

Co-authored-by: dej611 <dej611@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-03-18 16:20:09 -05:00
Rudolf Meijering
70446af9f0
[7.x] Speed up spaces tests by letting v2 migrations do less work (#91829) (#94797)
* Speed up spaces tests by letting v2 migrations do less work (#91829)

* Don't mess with v2 migration's index

* Speed up spaces tests by letting v2 migrations do less work

* Add disabled mapping for spaces so that plugin can be disabled

* Add security as codeowners of xpack saved object api integration suite
# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-es-archiver/src/lib/indices/kibana_index.ts
#	x-pack/test/functional/es_archives/saved_objects_management/spaces_integration/mappings.json
#	x-pack/test/saved_object_api_integration/common/fixtures/es_archiver/saved_objects/spaces/mappings.json

* Apply suggestions from code review

* Fix backport for ES _types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 17:16:09 -04:00
Jonathan Budzenski
f5b2ac4870 skip "navigates to doc view from embeddables" #93670 2021-03-18 16:12:07 -05:00
Devon Thomson
ce839022dc
Removed codeowners file mistakenly added in 94589 (#94983) 2021-03-18 16:28:55 -04:00
Kibana Machine
9bc095906f
Expose filter item from data plugin (#94546) (#94964)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-03-18 16:27:25 -04:00
Alison Goryachev
7d26c3e665
[Upgrade Assistant] use request hook (#94473) (#94960)
# Conflicts:
#	x-pack/plugins/upgrade_assistant/public/application/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap
2021-03-18 15:57:53 -04:00
Devon Thomson
52e0a43e21
[Time to Visualize] Add Discrete Library Option to Save Modal (#94589) (#94961)
* save modal UI and Redirect and save to library

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
# Conflicts:
#	.github/CODEOWNERS
2021-03-18 15:56:01 -04:00
Michael Dokolin
8b22bd10b3
Fix focus state of the changing all filters button after closing popover (#93475) (#94919) (#94959) 2021-03-18 15:53:58 -04:00
Matthew Kime
fe2662cba6
add icon tip for runtime field (#94882) (#94955)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 15:37:16 -04:00
Stratoula Kalafateli
817dc83ba1
[XY axis] Update the sample data to work with the default eui palette (#94781) (#94953) 2021-03-18 15:14:00 -04:00
Kibana Machine
515ac4b373
Define schema for monitoring-sourced telemetry (#94434) (#94816)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-03-18 18:43:37 +00:00
Kibana Machine
cef122f9db
[optimizer] Compress javascript assets (#94717) (#94946)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-03-18 14:42:54 -04:00
Michael Dokolin
de37bf8fee
Fix links to the numeral formatting (#94858) (#94945)
* Fix links to the numeral formatting in the advanced settings (#84167)
* Fix a link to the numeral formatting in the index pattern field settings (#84167)
# Conflicts:
#	docs/development/core/public/kibana-plugin-core-public.doclinksstart.md
2021-03-18 14:25:06 -04:00
Kibana Machine
1c249c2eb4
Improve responsiveness of promoted/hidden panel button actions (#94888) (#94940)
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-03-18 14:09:34 -04:00
Alison Goryachev
582d2cb64b
[Upgrade Assistant] Address copy feedback (#94730) (#94939) 2021-03-18 14:00:43 -04:00
Kibana Machine
7735cd6789
[test] Unskips delete component template test (#94856) (#94934)
Test was skipped to allow for the promotion of the ES snapshot.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-03-18 13:08:04 -04:00
Anton Dosov
dfd730732a
[Search Session] Make session name editable (#94610) (#94922) 2021-03-18 11:51:00 -04:00
Kibana Machine
4355e16a83
[Lens] Improves lost indexpattern scenario in saved visualization (#91377) (#94917)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-03-18 11:47:48 -04:00
Kibana Machine
951d0ac5a4
[App Search] Result settings logic - actions and reducers (#94629) (#94916)
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-03-18 11:44:00 -04:00
Kibana Machine
4dbf3e7687
[DOCS][Usage Collection] Show the _meta.description in every example (#94902) (#94914)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-03-18 11:24:29 -04:00
Kibana Machine
fb283cf837
[Fleet] Remove unused Fleet settings package|agent auto upgrade (#94805) (#94915)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-03-18 11:20:19 -04:00
EamonnTP
2f0fd74d27
[DOCS] Update APM filter and query content (#94446) (#94910)
* Update filter and query content

* Edits following review

* Minor edit
2021-03-18 09:06:04 -04:00
Marco Liberati
606dca834c
[Lens] Expose ES errors in workspace (#94606) (#94899)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 07:35:54 -04:00
Anton Dosov
2df4d5ca96
[QueryBar] a11y improvements, focus glitches fixes, unskip tests (#94148) (#94806)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 07:26:44 -04:00
Jean-Louis Leysens
6af6593118
[Ingest Pipelines] Fix serialization and deserialization of user input for "patterns" fields (#94689) (#94896)
* updated serialization and deserialization behavior of dissect and gsub processors, also addded a test

* also fix grok processor

* pivot input checking to use JSON.stringify and JSON.parse

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 07:19:09 -04:00
Christos Nasikas
bc9310dd57
[Cases] Add SIR connector in case connector schema (#94786) (#94837)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 06:23:28 -04:00
Kibana Machine
b5eb34f3d1
add mocks for Lens plugin (#94593) (#94891)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-03-18 09:36:21 +00:00
Kibana Machine
184b01ad97
[Lens] Runtime field editor (#91882) (#94892)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-03-18 05:36:16 -04:00
Peter Pisljar
b388d36971
kql, lucene and timerange functions (#93043) (#94829)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-18 04:40:49 -04:00
Kibana Machine
0bd8697fe3
[SECURITY SOLUTIONS][Alerts Actions] Fix migration from 7.11.0/7.11.1 to 7.12 (#94722) (#94886)
* do not modify connector with the right structure

* review trying to bring back incident to live when we can

* manage custom action

* fix cypress test

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

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2021-03-18 02:17:55 -04:00
Kibana Machine
c69b3e7888
Collapse two unenroll functions into one (#94848) (#94884)
## Summary

Refactoring in progress towards https://github.com/elastic/kibana/issues/90437 

Collapse `forceUninstallAgents` into `uninstallAgents` into one function with an option. The pseudocode diff is

```diff
- function uninstallAgents() {
-   // filtering logic A
-   // side effects A
- }
- function forceUninstallAgents() {
-   // filtering logic A
-   // side effects B
- }

+ function uninstallAgents({ flag: boolean}) {
+   // filtering logic A
+   // if flag: side effects B
+   // else: side effects A
+ }
```

actually, there is [_one difference_](5564f25383 (diff-ecc3c625f2366949f1723e56b8477f6afb552ccfbcf3a71e0c28b2062fd05195)) in the filtering logic
 
### 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

Co-authored-by: John Schulz <john.schulz@elastic.co>
2021-03-18 01:59:28 -04:00
Kibana Machine
f6a01341f8
[Curation] Add promoted/hidden documents section & logic + Restore defaults button (#94769) (#94883)
* Set up promoted & hidden documents logic

* Set up result utility for converting CurationResult to Result

* Set up AddResultButton in documents sections

- not hooked up to anything right now, but will be in the next PR

* Add HiddenDocuments section

* Add PromotedDocuments section w/ draggable results

* Update OrganicDocuments results with promote/hide actions

* Add the Restore Defaults button+logic

* PR feedback: key ID

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

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-03-18 01:15:09 -04:00
Aaron Caldwell
08394287d9
[Maps] Add endpoint to server for creating empty index & index pattern (#94028) (#94880)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 23:56:51 -04:00
Christiane (Tina) Heiligers
6f38b96644
[core.logging] Deprecates legacy logging dest, json, verbosity and rotate configurations (#94238) (#94878)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/migration/migrate_8_0.asciidoc
#	src/core/server/config/deprecation/core_deprecations.ts
2021-03-17 22:15:15 -04:00
Kibana Machine
09b54047df
[Workplace Search] Fix confirm modal (#94844) (#94877)
This PR addresses an issue where the confirmation modal when removing a content source connector was brokedn. The issue was that the component was not passed the props to render correctly

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-03-17 22:12:59 -04:00
Kibana Machine
ae04298dbb
use index patterns and search services for autocomplete (#92861) (#94826)
* use index patterns and search services for autocomplete

* imports

* extend DataRequestHandlerContext

* Catch error if index patterns service can't be created.

* doc

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

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-03-18 00:56:02 +00:00
Liza Katz
a409c72219
Fix 89878 (#94793) (#94824)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 20:49:49 -04:00
Kibana Machine
9d31332b1b
Remove custom styles (#94839) (#94872)
* Replace custom margin style with EuiFlexGroup gutter

* Replace custom padding style with EuiFlexGroup gutter

* Remove custom wrapper around Loading on Overview page (alpha)

* Replace custom range value output with EuiRange's showInput prop

* Remove custom style

I'll refer the correct handling of this to design pass

* Remove "euiPanel--inset" className, as it doesn't do anything in Amsterdam theme

* Remove unused className `euiPanel--noShadow`

We're already using hasShadow={false} prop that does the same

* Remove `euiPanel--outline` className, as it doesn't do anything in Amsterdam theme

* Inline classNames declaration with the goal to remove them later

They don't do anything in Amsterdam theme, but I'm not removing them to keep context for design pass.

* Remove `eui-textNoWrap` className from buttons, as it's already included in button styles

* Remove classNames with no styles attached

* Replace custom padding in content_section with EuiSpacer

* Remove source-row styles

Most of the classNames were redundant and not needed anymore. The ones that were actually used were either replaced with EUI props or deleted, so we could apply EUI styles during design pass.

* Replace source_icon styles with EUI components and props

* Replace source-card icon styles with EUI prop

* Remove className declarations with no styles attached to classes

* Fix tests

* Increase space between source overview panels

* Use smaller icons on source prioritization and connectors pages

* Invert SourceIcon default size and size provided via props

The default size was "xxl", now it's "m". "m" size is default in EUI, so it's more consistent.

* Get rid of &nbsp; as horizontal spacer

Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
2021-03-18 00:37:35 +00:00
Kibana Machine
4215631520
[Workplace Search] Add conditional props for Gmail (#94855) (#94871)
THis PR adds conditional query params that gmail sends when doing an oauth redirect.

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-03-17 20:35:50 -04:00
John Schulz
ad36e8c301
Use consistent-type-imports lint rule to autofix type-only imports (#94464) (#94868)
## Summary

Use the [`consistent-type-imports` lint rule ](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/consistent-type-imports.md) to use `import type ...` where possible

Code-only changes like this were recently added in https://github.com/elastic/kibana/pull/92979, but it was a more manual process.  This PR adds an autofixable lint rule which will keep the changes up-to-date and Just Work ™️
# Conflicts:
#	x-pack/plugins/fleet/server/services/agents/crud.ts
#	x-pack/plugins/fleet/server/services/artifacts/artifacts.ts
#	x-pack/plugins/fleet/server/services/artifacts/mappings.ts
#	x-pack/plugins/fleet/server/services/artifacts/mocks.ts
#	x-pack/plugins/fleet/server/services/index.ts
2021-03-17 19:38:29 -04:00
Kibana Machine
a1e09d7ca7
[kbn/optimizer] report timings when run from CLI or build (#94764) (#94862)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-17 19:25:09 -04:00
Melissa Alvarez
433515efba
[ML] Data Frame Analytics creation: ensure job config validity persists when switching from/to form/editor (#94654) (#94832)
* persisted validation form state  when switching from editor to form

* persist complete form state when switching from json editor

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-17 18:21:20 -04:00
James Rodewig
38ff73b418
[DOCS] Migrate ingest pipeline docs to ES reference (#94625) (#94864) 2021-03-17 17:18:45 -04:00
Tim Sullivan
a94e1ac2b3
[Reporting/UI Settings] Validation for the Reporting UI Setting Custom Logo (#94746) (#94850)
* Validation for the Reporting UI Setting Custom Logo

* add more validations

* check if image is too large

* fix i18n

* clean redundant

* large test strings not necessary

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/reporting/server/plugin.ts
2021-03-17 16:54:32 -04:00