Commit graph

45026 commits

Author SHA1 Message Date
Kibana Machine 6735f27f28
Adding range filter to ownerId aggregation (#113557) (#113761)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-10-04 12:34:23 -04:00
Kibana Machine 98d7a37c73
[7.x] [Uptime] Run Sample uptime tests using @elastic/synthetics (#112128) (#113531)
* [Uptime] Run Sample uptime tests using @elastic/synthetics (#112128)

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

* update test according to 7.x

* revert

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
2021-10-04 16:28:53 +00:00
Kibana Machine c4270f3890
[Discover] Extract fetch observable initialization to separate function (#108831) (#113760)
* Don't trigger autorefresh when there's no time picker
- because there's no UI for that

* Refactor and add test

* Add doc and test

* Refactor

* Remove index pattern without timefield filtering

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

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-10-04 16:28:38 +00:00
Kibana Machine 06cfb7ba12
[Stack Monitoring] React migration kibana overview (#113604) (#113758)
* Create react Kibana template

* React Kibana overview

* Add breadcrumb to kibana overview

* fix linting errors

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

Co-authored-by: Kevin Lacabane <klacabane@gmail.com>
2021-10-04 12:26:28 -04:00
Aleh Zasypkin a7a266a5d4
Remove jsonwebtoken and base64url dependencies. (#113723) (#113753)
# Conflicts:
#	renovate.json5
2021-10-04 12:08:05 -04:00
spalger 66d4fb4e76 Revert "Lint git index content on commit (#113300) (#113594)"
This reverts commit 8422a244b1.
2021-10-04 16:03:06 +00:00
spalger b5090abace Revert "Revert "chore: add modifications to staging automatically after eslint fix (#113443) (#113611)""
This reverts commit da2f48caef.
2021-10-04 16:01:06 +00:00
Kibana Machine 362c29b714
[Security Solution][Endpoint] Show list of trusted application on the Policy Details (#112182) (#113742)
* New Artifact Collapsible card and Grid generic components
* Fleet setup test data loader - ignore 409 concurrent installs in data loader for fleet setup
* Adds `ContextMenuWithRouterSupport` prop for `maxWidth` and `truncateText` prop for `ContextMenuItemNaByRouter`
* trustedApps generator loader - use existing policies (if any) when loading TAs
* `CardCompressedHeaderLayout` support for `flushTop` prop

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
2021-10-04 16:00:30 +00:00
Kibana Machine 52aeed67a7
[buildkite] Fix packer cache issues (#113769) (#113773)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-04 11:09:16 -04:00
Kibana Machine d5cb31afe0
[Lens] move from slice to reducers/actions and simplify loading (#113324) (#113740)
* structure changes

* tests & fix for sessionId

* share mocks in time_range_middleware

* make switchVisualization and selectSuggestion one reducer as it's very similar

* CR

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

Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-10-04 10:03:17 -04:00
Kibana Machine f6597024ce
[Lens] Threshold: add padding to avoid axis label collision with threshold markers (#112952) (#113735)
* 🐛 Add padding to the tick label to fit threshold markers

* 🐛 Better icon detection

* 🐛 Fix edge cases with no title or labels

* 📸 Update snapshots

*  Add icon placement flag

*  Sync padding computation with marker positioning

* 👌 Make disabled when no icon is selected

* 🐛 Fix some edge cases with auto positioning

* Update x-pack/plugins/lens/public/xy_visualization/xy_config_panel/threshold_panel.tsx

Co-authored-by: Michael Marcialis <michael@marcial.is>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Marcialis <michael@marcial.is>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Michael Marcialis <michael@marcial.is>
2021-10-04 09:27:37 -04:00
Tiago Costa 99ecde34d9
skip flaky suite (#106650) 2021-10-04 12:50:08 +01:00
Kibana Machine 518b730ce7
Unskips the visualize reporting functional test suite (#113535) (#113722)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-04 07:09:15 -04:00
Pierre Gayvallet b0b8243bac
Deprecates the --plugins alias (#113595) 2021-10-04 11:09:26 +02:00
Kibana Machine 44b1a2e4cf
[ci-stats] Local metrics fixes (#113492) (#113710)
* Rename `{ group: 'yarn start', id: 'started' }` to `{ group: 'scripts/kibana', id: 'dev server started' }` for consistency
* Rename `{ group: '@kbn/optimizer' }` to `{ group: 'scripts/build_kibana_platform_plugins' }` for consistency
* Include email for Elastic employees
* Standardize on Unix paths
* Set `subProcess: true` if the timing is already captured by a parent.
* Move nestedTiming to global and use normalize-path

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-03 18:34:03 -04:00
Kibana Machine 53fa6f53a0
[buildkite] Fix unbound variable in post_build script (#113687) (#113688)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-01 19:51:55 -04:00
Kibana Machine fe00c134d9
[Buildkite] Pull Request pipeline (#112029) (#113683)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-01 19:13:42 -04:00
Kibana Machine 7e7eb63703
[Cases] [104932] Remove newline characters from summary field and add tests (#113571) (#113668)
* [104932] Remove newline characters from summary field and add tests

* PR fix

Co-authored-by: Kristof-Pierre Cummings <kristofpierre.cummings@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kristof C <kpac.ja@gmail.com>
Co-authored-by: Kristof-Pierre Cummings <kristofpierre.cummings@elastic.co>
2021-10-01 18:28:23 -04:00
Tre 40601a647d
[7.x] [Archive Migration] xpack..saved_objects_management/spaces_integration (#113047) (#113643)
* [Archive Migration] xpack..saved_objects_management/spaces_integration (#113047)

# Conflicts:
#	x-pack/test/functional/apps/saved_objects_management/spaces_integration.ts
#	x-pack/test/functional/es_archives/saved_objects_management/spaces_integration/data.json
#	x-pack/test/functional/es_archives/saved_objects_management/spaces_integration/mappings.json

* Drop unused symbol
2021-10-01 18:24:47 -04:00
CJ Cenizal c385d49887
Revert "[Upgrade Assistant] Refactor telemetry (#112177)" (#113665)
This reverts commit 991d24bad2.
2021-10-01 15:17:16 -07:00
Kibana Machine ac0ba881f6
Create standards.mdx (#113313) (#113654)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stacey Gammon <gammon@elastic.co>
2021-10-01 15:58:12 -04:00
Kibana Machine b91f8c8679
[logging] Upgrade ECS to 1.12 (#113583) (#113651)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-10-01 19:32:08 +00:00
Kibana Machine f730038fff
Annotates beats tutorials with custom integration categories (#113565) (#113652)
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2021-10-01 15:29:49 -04:00
Dmitry Tomashevich 6b068c5972
[Discover] Fix doc viewer table columns (#113124) (#113637)
* [Discover] fix doc viewer table columns

* [Discover] apply suggestions

* [Discover] apply suggestion

* [Discover] fix action column

* [Discover] do not apply min-width to actions column

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-01 15:21:47 -04:00
Kibana Machine 8956e7f55e
[buildkite] Add a minimal flaky test suite runner job (#113575) (#113657)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-01 14:16:06 -04:00
Kibana Machine c39e72ac38
Exclude cypress folders from Jest test coverage (#113482) (#113639)
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2021-10-01 13:51:40 -04:00
Tyler Smalley da2f48caef Revert "chore: add modifications to staging automatically after eslint fix (#113443) (#113611)"
This reverts commit e30c1f5323.
2021-10-01 09:08:27 -07:00
Kibana Machine d8a310ed6e
[Discover] Save collapse sidebar state in local storage (#113287) (#113616)
* [Discover] fix selected fields persist

* [Discover] apply solution for entire sidebar instead of "Selected fields" collapse button

* [Discover] update unit tests

* [Discover] update unit tests

* [Discover] improve tests

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

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-10-01 10:48:09 -04:00
Kibana Machine 196ed668f6
fix sorting, pagination, state (#113563) (#113613)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2021-10-01 10:37:12 -04:00
Kibana Machine 4814df2e11
[Fleet] Show beats replacements in integration browser (#113291) (#113615)
Display both beats and epr-packages in the integration browser. When there is overlap, the EPR-package equivalent is displayed. When the EPR-package is not yet ga, the beat-equivalent is displayed.

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
2021-10-01 10:35:57 -04:00
Kibana Machine e30c1f5323
chore: add modifications to staging automatically after eslint fix (#113443) (#113611)
After precommit hook runs with --fix flag changes are not added to staging. However it also does not
validate staging area since eslint is only looking for last changes on file not staging area this
results fellows to commit with linting errors which fails in CI. This commit resolves this issue by
adding fixed files right after linting to staging area.

Closes #52722

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

Co-authored-by: Baturalp Gurdin <9674241+suchcodemuchwow@users.noreply.github.com>
2021-10-01 10:24:03 -04:00
Tiago Costa 17a4b740d1
skip flaky suite (#112910) 2021-10-01 12:50:52 +01:00
Kibana Machine 8cf80dad25
[Stack Monitoring] Set beats react product name (fixes setup mode) (#113504) (#113599)
Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-10-01 10:47:18 +00:00
Kibana Machine cab1b55944
[Lens] Threshold: set default color for new thresholds (#113008) (#113598)
* 💄 Make dark grey default threshold color

*  Fix test

* 👌 Integrate feedback

* 👌 Fix bug

* 👌 Filter threshold layers for color assignments

* 👌 Small refactor

* 🐛 Fix merging conflicts

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

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-10-01 06:45:50 -04:00
Kibana Machine 8422a244b1
Lint git index content on commit (#113300) (#113594)
This fixes two fundamental issues:
* the list of files to be linted is built looking at the diffs of the ref
  specified with `--ref` (or otherwise the current index) with those on
  the filesystem
* the content to be linted is read from the filesystem instead of the
  specified `ref` or the one in the index

Co-authored-by: Domenico Andreoli <domenico.andreoli@elastic.co>
2021-10-01 03:32:46 -04:00
Kibana Machine cf6c46477b
[docs] Fixes typo in Deb install docs (#113590) (#113591)
Co-authored-by: 魔王卷子 <baoguoxiao0538@hotmail.com>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: 魔王卷子 <baoguoxiao0538@hotmail.com>
2021-10-01 00:58:19 -04:00
Kibana Machine 69946328bb
[CI] Balance CI Groups (#112836) (#112875)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-01 04:17:22 +00:00
Kibana Machine 538f332118
Prevent spec file updates from restarting dev server (#113336) (#113584)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 21:14:04 -04:00
Kibana Machine 6ba24fc82a
[buildkite] Improve failed test experience (#113483) (#113580)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-09-30 20:59:17 -04:00
Kibana Machine 2ec7d50c6d
[Lens] Design updates in prep for thresholds (#113428) (#113579)
* remove borders from layer panels

* increase "add layer" button size

* fix cross-browser scrollbars & shadow clipping

* fix layer panel and dimension drop zone spacing

* add hyphens

* fix border radius & adjust workspace styles

* config flyout padding and spacing adjustments

* formula padding and spacing adjustments

* palette flyout padding and spacing adjustments

* remove unnecessary v7 styles

* correct button font size in v7

* restore workspace border in v7

* Fix draggable bg color in v8 dark mode

* fix misaligned layer chart picker text

* fix unit test

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

Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>
2021-09-30 20:55:17 -04:00
Kibana Machine fc9fc0d687
[vscode] Set typescript.enablePromptUseWorkspaceTsdk (#113476) (#113578)
To prompt users to use the workspace configured version of Typescript.

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

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 20:43:08 -04:00
Kibana Machine 8d052fa86b
[ML] Add KQL filter bar, filtering functionality, and compact design to Index data visualizer (#112870) (#113556)
* [ML] Initial embed

* [ML] Initial embed props

* [ML] Add top nav link to data viz

* Add visible fields

* Add add data service to register links

* Renames, refactor, use constants

* Renames, refactor, use constants

* Update tests and mocks

* Embeddable

* Update hook to update upon time udpate

* Add filter support to query

* Refactor filter utilities

* Add filter support for embeddable

* Fix saved search data undefined

* Prototype aggregated view/document view switcher

* Prototype flyout

* Prototype save document view option in storage

* Fix filter and query conflict with saved search

* Minor styling edits

* [ML] Update functional tests to reflect new arrow icons

* [ML] Add filter buttons and KQL bars

* [ML] Update filter bar onChange behavior

* [ML] Update top values filter onChange behavior

* [ML] Update search filters when opening saved search

* [ML] Clean up

* [ML] Remove fit content for height

* [ML] Fix boolean legend

* [ML] Fix header section when browser width is small to large and when index pattern title is too large

* [ML] Hide expander icon when dimension is xs or s & css fixes

* [ML] Delete embeddables because they are not use

* [ML] Make doc count 0 for empty fields, update t/f test

* [ML] Add unit testing for search utils

* [ML] No need to - padding

* [ML] Fix expand all/collapse all behavior to override individual setting

* [ML] Fix functional tests should be 0/0%

* [ML] Fix docs content spacing, rename classnames, add filters to Discover, lens, and maps

* [ML] Fix icon styling to match Discover but have text/keyword/histogram

* [ML] Fix filters not persisting after page refresh & on query change

* [ML] Rename classnames to BEM style

* [ML] Fix doc count for fields that exists but have no stats

* [ML] Clean up unused styles

* [ML] Fix eui var & icon & file geo

* [ML] Fix navigating to Lens from new saved search broken

* [ML] Change types back to Index pattern for 7.16

* [ML] Update not in docs content and snapshots

* [ML] Fix Lens and indexRefName

* [ML] Fix field icon and texts not aligned, remove span because EuiToolTip now supports EuiToken

* [ML] Fix data view

Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
2021-09-30 20:21:07 -04:00
Kibana Machine d62cb560ed
test/functional/apps/management/_test_huge_fields.js (#112878) (#112909)
Co-authored-by: Rashmi Kulkarni <rashmi.kulkarni@elastic.co>
2021-09-30 19:52:26 -04:00
Kibana Machine 6a70f20928
trying to fix the skipped test - infra-home-page test (#113484) (#113569)
* trying to fix the unskipped test

* remove .only and comment

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

Co-authored-by: Rashmi Kulkarni <rashmi.kulkarni@elastic.co>
2021-09-30 18:14:39 -04:00
Kibana Machine e63e99d926
[Metrics UI] Add warning about redundant groupBy on metric threshold (#111891) (#113568)
* [Metrics UI] Add warning about redundant groupBy on metric threshold

* Fix i18n

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

Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-09-30 18:08:13 -04:00
Kibana Machine 93201eb31f
[App Search] Add Automated Curations options to Curations Settings tab (#112766) (#113560)
Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-09-30 19:54:32 +00:00
Kibana Machine bb01ab48d0
React beats instance view (#113500) (#113561)
* Add beat instance page

* Fix beat instance tabs to match angular

* Remove unused cluster prop on beats template

* Fix breadcrumbs

* Remove unused cluster prop

* Use correct codepath

* Switch beats instance back to use template

Doesn't buy us a lot here, but mirrors the pattern used in logstash where it's a lot better than just calling PageTemplate directly.

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

Co-authored-by: Mat Schaffer <mat@elastic.co>
2021-09-30 15:53:14 -04:00
Kibana Machine f095537175
[eslint] forbid trailing slashes in package imports (#113455) (#113558)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-30 15:29:48 -04:00
Kibana Machine 53427d92aa
[Lens] refactor - move debounce one layer up for thresholds (remove updater) (#113222) (#113554)
* [Lens] remove updater from vis

* removing blur handle

* fix

* blur fix

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

Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-09-30 14:32:10 -04:00
Kibana Machine 2e87de963d
fix missing nested property when storing in local storage (#113538) (#113551)
Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2021-09-30 14:03:49 -04:00