Commit graph

39054 commits

Author SHA1 Message Date
Jonathan Budzenski 115cd570f9
[deb/rpm] Remove extra multiline from rpm user creation (#86037) 2020-12-17 09:59:25 -06:00
Jonathan Budzenski 52f54e6043 skip saved objects migrations clone already existed. #86068 2020-12-17 09:54:18 -06:00
Jonathan Budzenski d18fca3b82 skip 'dashboard title is case insensitive' #86226 2020-12-17 09:33:21 -06:00
Paul Tavares f0234cbb9e
[Fleet] Bug fixes to Policies list under Integrations section (#86183)
* Fix table cell not having tooltips
* Show loading message while data is being retrieved
2020-12-17 10:22:48 -05:00
Nathan L Smith d2a7c32025
Fixes for service overview layout (#86205)
* Fixes for service overview layout

* Use 3/7 instead of 4/6 for `grow` between charts/tables
* Decrease chart height
* Use "s" gutterSize on tables
* Decrease table height
* Use `TruncateWithToolTip` on errors and transactions tables to remove tooltip inline-block style
* Use `responsive={false}` on dependency titles so icon/name pairs don't wrap
* Use `responsive={false}` on spark plots so plot/value pairs don't wrap
* Use `responsive={false}` on latency chart and table titles so controls and links don't wrap
* Make the fixed sizing overrides for the tables only be applied when we're using a wide, non-mobile (> 992) viewport
* Switch to "mobile" viewport (with one item per row) at 992 instead of 768

Since you cannot control the breakpoints at which EUI switches to "responsive" mode, we trigger these manually to change the number of columns. and whether or not the tables use a fixed height.

The overview now has three "modes":

* Two columns for chart/table rows
* Tables in non-responsive mode

* One column for charts/tables
* Tables in non-responsive mode

* One column for charts/tables
* Tables in non-responsive mode

Fixes #85781.

* remove unused imports
2020-12-17 06:24:13 -08:00
James Gowdy 6f8697e198
[ML] Removing space awareness for trained models (#86132) 2020-12-17 14:21:31 +00:00
Oliver Gupte 1007c8713a
Closes #84094 by adding configuration xpack.apm.maxServiceSelection. (#86234) 2020-12-17 06:15:07 -08:00
Dima Arnautov bf60796cd3
[ML] Fix Anomaly Explorer data refresh with relative time bounds (#86142)
* [ML] use time bounds from the timeFilter

* [ML] add manual type casting for times
2020-12-17 15:14:17 +01:00
Pete Harverson b70cabbdcb
[ML] Fix sort order of data recognizer module cards (#86250)
* [ML] Fix sort order of data recognizer module cards

* [ML] Add sort by ID to server side recognize endpoint

* [ML] Enhance docs for recognize endpoint success response.
2020-12-17 14:11:51 +00:00
Felix Stürmer 2106419007
[Logs UI] Fix value completion in the logs stream query bar (#85772)
This ensures that the correct index name pattern is passed as the fake `IIndexPattern` `title`.
2020-12-17 14:47:26 +01:00
Phillip Burch 93dcaeea68
[Metrics UI] Only allow one panel to be open at a time (#85977)
* Only allow one panel to be open at a time

* Move EuiOutsideClickDetector inside the portal

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-17 06:21:06 -06:00
Peter Pisljar b93034b72c
inspector table adapter cleanup (#84232) 2020-12-17 12:14:07 +01:00
Marco Liberati df32ff80ca
[Dashboard] Change filename fallback for no title panels to "untitled" (#86110) 2020-12-17 11:42:37 +01:00
Liza Katz 5be169a4fc
[Search] Use filter to bulk find (#85551)
* Use filter to bulk find

* Update x-pack/plugins/data_enhanced/server/search/session/session_service.ts

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

* Dashboard in space test

* Add warning on update failure

* fix merge

* Added functional test for sessions in space

* snapshot

* test cleanup

* Update src/plugins/data/common/es_query/kuery/node_types/node_builder.ts

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

* Revert "Update src/plugins/data/common/es_query/kuery/node_types/node_builder.ts"

This reverts commit 4b7e781fe6.

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-17 12:17:02 +02:00
James Gowdy 2066b3d7ca
[ML] Fix synching jobs from other spaces (#86086)
* [ML] Fix synching jobs from other spaces

* updating text in delete modal

* updating translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-17 09:08:17 +00:00
Pierre Gayvallet b201843e68
Add user doc for SO tagging (#85557)
* Add user doc for SO tagging

* add link to new page

* handle review feedbacks

* second pass
2020-12-17 08:50:31 +01:00
Uladzislau Lasitsa 25548bbae4
Date histogram timestamps on daily are getting displayed as epoch times (#85565)
* Add formattedkey so that we can use it in tooltip

* Fixed remarks

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-17 10:38:03 +03:00
Tyler Smalley 6671cf3c22 Revert "[CI] Increase instance size for functional tests (#86192)"
This reverts commit 2ea75487a6.
2020-12-16 15:30:21 -08:00
Tyler Smalley c5e9543fc9 Revert "chore(NA): rebalance x-pack cigroups (#85797)"
This reverts commit 1e3a483b06.
2020-12-16 15:28:53 -08:00
Tyler Smalley 2ea75487a6
[CI] Increase instance size for functional tests (#86192)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-16 14:58:06 -08:00
Constance 7cbc295d76
Revert "[App Search] Temporarily remove sidebar layout and internal engine links for 7.11 release (#85820)" (#86138)
This reverts commit 4d398f2461.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 14:28:22 -08:00
Cauê Marcondes 53da425c8e
[APM] Updated header icons (#84760)
* creating service name header

* fixing icons

* removing unused api import

* fixing some stuff

* adding API tests

* refactoring some stuff

* fixing tests

* refactoring some stuff

* fixing i18n

* reverting

* renaming

* applying min width

* addressing PR comments and adding test

* sorting service version

* changing sort type to desc

* addressing pr comments

* changing to show total and not avg

* addressing pr comments

* addressing pr comments

* addressing pr comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 23:08:17 +01:00
Oliver Gupte 1fddf94274
Closes #83663 by adding a prepend label to the search bar in service overview (#86143) 2020-12-16 13:58:06 -08:00
Nathan L Smith 364a1c18f9
Set default for agent icons (#86023)
* Make `getAgentIcon` return a default icon instead of `undefined` when no icon is matched.
* Have the service map icon method check for the agent name to determine whether to use an agent or span icon. Both functions return the default icon when no match is found
* Remove the IE11 conditionals for service map icons
* Set a width on the icons used in the lists to prevent them from being stretched out
* Use EUI theme for icon sizing

Fixes #85150.
2020-12-16 15:40:35 -06:00
Marta Bondyra 5b9e285582
[Lens] (Accessibility) focus on adding/removing layers (#84900) 2020-12-16 21:58:14 +01:00
ymao1 e863bfb198
[Alerting UI] Fixing bug when switching between threshold comparators (#85844)
* Fixing bug when switching between comparators with different number of inputs

* Triggering onThresholdChange call on next render cycle
2020-12-16 15:51:51 -05:00
Scotty Bollinger 0ad88af894
[Workplace Search] Add unit tests for Add Source components (#86020)
* Add mocks

* Make mergeServerAndStaticData available to tests

This method is needed to combine the 3 types of data to use in the logic files. Exporting this so that the mock data can be combined for testing in components.

It was discovered that the serverData had the wrong typings. This was only discovered when actully mocking the real server data, so it was changed here.

* Add tests for AddSourceHeader

* Add tests for AddSourceList

* Add tests for AvailableSourcesList

* Add tests for ConfigCompleted

* Add tests for ConfigDocsLinks

* Add tests for ConfigurationIntro

* Add tests for ConfigureCustom

* Add tests for ConfigureOauth

* Fix typo

* Add coverage for missing functions

The converage tool was complaining and this change assures formSubmitSuccess and  handleFormSubmitError are covered

* Fix mocks

Needed an accountOnly source in this test so changed and update other tests where used

* Add tests for ConfiguredSourcesList

* Add tests for ReAuthenticate

Also changes the syntax of the redirect to use the replace method for easier testing

* Add sourceConfigData mock

* Add tests for SaveConfig

* Add tests for SaveCustom

* Add tests for SourceFeatures

* Add tests for ConnectInstance

As with the ReAuthenticate component, changes the syntax of the redirect to use the replace method for easier testing.
2020-12-16 14:25:16 -06:00
Dmitry 2fcce0bcbc
[coverage] re-enable jest (#85946)
* [coverage] re-enable jest

* fix coverage script for x-pack

* use presets in entry configs

* set max workers

* run tests from x-pack folde

* remove duplicate 'reporters' prop

* remove reporters for x-pack config

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 20:20:55 +01:00
ymao1 7933f0458c
Fixes Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should show save confirmation before creating alert with no actions (#85623)
* Unskipping test

* Using simpler alert type during test

* Fixing test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 14:04:21 -05:00
Melissa Alvarez a0898715b3
[ML] Data Frame Analytics map: add initial functional tests (#86032)
* initial functional tests for job map

* move tests to own statement
2020-12-16 13:44:59 -05:00
Xavier Mouligneau 0586c06ffc
[Security Solution] Add Pinned Event tabs on Timeline (#85905)
* wip

* finish drag & drop from pinned events + fix top n

* Fix types

* update cypress

* Fix unit tests

* fix cypress test

* fix filter out/in

* remove unused components

* fix pagination cypress test

* cypress timelines selectors

* review and skip cypress test

* more to skip

* fix type

* skip case

* Fix types

* Fix tests

* skip resolver

* only query pinned events

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
2020-12-16 18:44:37 +00:00
Eric Davis 42ee51b67d
Update index.tsx to note use can go to docs for DEB/RPM Agent deploy instructions (#86128) 2020-12-16 13:41:35 -05:00
Mike Côté 4e6189436e
Fix codeowners file for alerting stack alerts (#86148) 2020-12-16 13:35:53 -05:00
Lukas Olson 272b2d0628
[KQL] Fix handling of backslashes when autocompleting values (#85457)
* [KQL] Fix handling of backslashes when autocompleting values

* Revert change to test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 11:21:51 -07:00
Nathan Reese 4b2c9de638
[Maps] convert MBMap component to TS (#85192)
* [Maps] convert MBMap component to TS

* clean up imports messed up by eslint fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 11:21:04 -07:00
Tyler Smalley 0921a7a1e1
[backportrc] Adds 7.11 branch and bumps 7.x (#86131)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-16 10:10:39 -08:00
Tiago Costa 1e3a483b06
chore(NA): rebalance x-pack cigroups (#85797) 2020-12-16 09:58:46 -08:00
Mikhail Shustov 0be9230ff3
add tests for response headers (#86091) 2020-12-16 17:52:51 +01:00
Lisa Cawley 5c64db9695
[ML] Add transforms to doc links service (#86036) 2020-12-16 08:23:39 -08:00
Brandon Morelli e48dbf3c57
[APM] docs: update agent instructions (#85855)
Co-authored-by: Casper Hübertz <casper@formgeist.com>
Co-authored-by: Casper Hübertz <casper@formgeist.com>
2020-12-16 07:57:39 -08:00
Søren Louv-Jansen 744d6809de
[APM] Fix broken link to ML when time range is not set (#85976) 2020-12-16 16:17:03 +01:00
Melissa Alvarez 201b456a62
fix classification matrix actual label (#86060) 2020-12-16 10:03:01 -05:00
James Gowdy ed250faabc
[ML] Adding runtime_mappings to job wizards (#85817)
* [ML] Adding runtime_mappings to job wizards

* fixing test

* adding runtime fields to fields list in datafeed preview

* fixing cardinality count for runtime field

* fixing cardinality check in data visualizer

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 14:55:01 +00:00
Jonathan Buttner fa2db85eac
[Security Solution][Resolver] Fix node data refresh and time range (#86014)
* Pass filters from SIEM to resolver

* Fix test type errors

* Revert loading state change, update snapshots

* Make correct check in nodeData selector

* Fix inverted logic in nodeData selector

* Adding request id to node data

* Working time range filters and node data stale selector

* Fixing random name from generator and panel icons

* Fixing unused import

* Remove hardcoded node id

* Ensure that the actions array is reset before each test

Co-authored-by: Kevin Qualters <kevin.qualters@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 09:52:55 -05:00
DeFazio 2f5f1481fb
Changes alerting search bar to use EuiFieldSearch component (#85821)
* Changes search bar to use search field specific eui component

* Update type checks
2020-12-16 09:42:29 -05:00
Daniil 5b1006189f
Fix auto time interval preselection if disabled (#85937)
* Hide auto interval when it is filtered

* Add unit tests

* Fix types
2020-12-16 17:39:05 +03:00
Thom Heymann 4e1a27a468
Added log file rotation settings to docs (#85835)
* Added log file rotation settings to docs

* Fix heading level

* Fix table alignment

* Added code block explanations

* Fix asciidoc syntax

* Fix asciidoc syntax attempt 2

* Apply suggestions from code review

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>

* Add tip

* Apply suggestions from code review

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

* Add cloud icons

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-12-16 13:47:26 +00:00
Dario Gieselaar 003efb1cc4
expectSnapshot: throw on CI when snapshot is new (#85376) 2020-12-16 13:21:48 +01:00
Thomas Watson a1bd35f212
Bump Node.js from version 14.15.1 to 14.15.2 (#86087) 2020-12-16 12:45:01 +01:00
James Gowdy 168782d261
[ML] Adding job sychronization warning to job list pages (#85794)
* [ML] Adding job sychronization warning to job list pages

* fixing overview page callout

* improving check logic

* adding render lock

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 09:30:53 +00:00