Commit graph

44039 commits

Author SHA1 Message Date
Caroline Horn
7d45fcf8ee
[Page layouts] Some light fixes (#103197)
* [Solution Toolbar] Fixing button border on non-text color versions

* [Alerts] Removed extra wrappers and use EuiPageHeader

* [Logstash] Basic conversion to template

* [Reporting] Adding bottomBorder to page header

* [ML] Fix display of main navigation tabs

* [Stack Management] Fix side nav not updating when going back to landing page

* [Tags] Add spacing after page header

* [License Management] Full width on file uploader

* [Page Template] Fixed `emptyState` default template for pages with side nav

* [Infra] Removing some page header displays in empty states

* [Enterprise Search] Fix some error layouts

* [Index Patterns] Quick fix for empty state

* snaps

* [Page Template] Remove forced padding when `centeredBody`

* small hack for tab padding for ml

* scroll ML page to fix test

* fix test method type signature

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2021-06-29 19:50:15 -05:00
Paul Tavares
37e2d8a6c5
[Security Solution][Hosts] Fix Host Events flyout and remove the Endpoint Host Isolation Take Action button (only valid for Alerts) (#103784)
* Fix bug in `endpointAlertCheck` to ensure events are not looked at

* Fix data/type
2021-06-29 20:43:13 -04:00
Sandra Gonzales
0de3df5f0d
[Monitoring] Fix Cluster Listing view (#103718)
* check for number of nodes

* remove console

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 20:42:37 -04:00
debadair
a22f08750b
[DOCS] Updated xref to ES guide (#103803) 2021-06-29 17:36:09 -07:00
Justin Ibarra
26407550da
[Detection Rules] Add 7.14 rules (#103730) 2021-06-29 20:24:35 -04:00
Frank Hassanabad
e7e1e3c1f9
Small follow up to PR comments (#103771)
## Summary

Small follow up to:
https://github.com/elastic/kibana/pull/102280

Where I address PR concerns around docs.
2021-06-29 20:14:36 -04:00
Alison Goryachev
57a91215f3
fix error handling for repositories API (#103723) 2021-06-29 17:13:31 -07:00
Chris Cowan
25db1df1a3
[Monitoring] Migrated legacy Elasticsearch client for 8.0 (#101850) 2021-06-29 17:07:56 -07:00
Davis Plumlee
fee7348806
[Security Solution][Exceptions Lists] Adds overflow container for exceptions list table (#103377) 2021-06-29 20:02:38 -04:00
Kevin Logan
1ff2407b18
[Security Solution] Adds a version and OS check for Host Isolation (#103026) 2021-06-29 19:46:19 -04:00
Candace Park
e749fa62fa
[Security Solution][Endpoint][Host Isolation][Cases] Update Host Isolation comment in Cases UI (#102937) 2021-06-29 19:42:38 -04:00
Nathan L Smith
f039f8311f
Deprecate APM OSS fleetMode setting (#103721)
This has been enabled by default, and there isn't any remaining reason to turn it off.

Mark it as deprecated and remove conditionals that check for it.
2021-06-29 18:41:17 -05:00
Elizabet Oliveira
61d23665a9
[Maps] Add layer disabled button styles (#103775) 2021-06-30 00:32:55 +01:00
Jonathan Budzenski
7359fabf7c
[build] Remove OSS builds (#103685) 2021-06-29 18:17:51 -05:00
Lukas Olson
ebf9e5df76
Use new terms enum API for autocomplete value suggestions (#100174)
* Migrate kibana.autocomplete config to data plugin

* Fix CI

* Fix tests

* Use new terms enum API for autocomplete value suggestions

* Add tiers to config

* Re-introduce terms agg and add config/tests for swapping algorithms

* Add data_content and data_cold tiers by default

* Fix types

* Fix maps test

* Update tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 14:36:18 -07:00
Michael Marcialis
b9bbfa3695
[Lens] Formula Icon, Button, Height Design Update (#103682)
* apply `fullScreenEdit` icon; fix docs button size

* fix small viewport height flex issue
2021-06-29 16:41:45 -04:00
Tiago Costa
682d969190
chore(NA): remove unused transient dep declaration from @kbn/ui-shared-deps build file (#103666) 2021-06-29 21:22:45 +01:00
Ece Özalp
fa92958c74
adds hasBorder to ThreatIntelPanelView (#103726) 2021-06-29 16:21:18 -04:00
Ashokaditya
fea63a2d36
[Security Solution][Endpoint] Include actions and responses for endpoints only (#103159) 2021-06-29 16:08:15 -04:00
James Gowdy
21dad7edb5
[ML] Update file data visualizer permissions (#101169)
* [ML] Update file data visualizer permissions

* adding home bundle

* fixing translations

* removing home from bundles

* switching to current user for analysis

* adding find structure permission check

* clean up

* updating text

* updating maps

* removing has_find_file_structure_permission endpoint

* removing more code

* adding permission error message

* renaming variable

* adding fileUpload:analyzeFile back into ML

* updating error text

* updating snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 21:07:07 +01:00
Steph Milovic
c24318ae40
[RAC] [Cases] All cases table column design updates (#103544) 2021-06-29 13:53:56 -06:00
Devon Thomson
a5660fe82c
Fix Listing Page Layout Inconsistencies (#103182)
* Added dashboard no items message to dashboard_strings, wrote new message for read only empty state. Moved visualize library dashboard callout under title
2021-06-29 15:46:18 -04:00
Dario Gieselaar
e8584e533b
[APM] Filter on defined environment for latency charts (#103621)
Closes #102047.
2021-06-29 21:45:51 +02:00
Zacqary Adam Xeper
99914bcf46
[Fleet] Make top-level fields of is_managed policies editable through config (#103722) 2021-06-29 15:43:16 -04:00
Søren Louv-Jansen
91ddc54fc4
[APM] Central config: Improve logs for debugging (#103288) 2021-06-29 15:33:55 -04:00
István Zoltán Szabó
bcba263f37
[ML] Adds context sensitive placeholder text to dependent variable on data frame analytics configuration page (#103086) 2021-06-29 12:32:18 -07:00
Caroline Horn
523cd0fbe5
[KibanaPageTemplate] Adds collapsibility to solutionNav (#103192)
Adds the ability to collapse the sidenav. This should work in all solutions. It also adds breakpoints that turn it into a flyout at lower screen widths.
2021-06-29 15:25:27 -04:00
Walter Rafelsberger
7405b93f18
[ML] APM Latency Correlations (#99905)
* [ML] Async Search Service.

* [ML] Log Log Area Charts Grid. Scatterplot with streaming data.

* [ML] Remove scatterplot streaming demo.

* [ML] Improved histogram bins for log scale.

* [ML] Move client side code from Ml to APM plugin.

* [ML] Adds correlation table.

* [ML] Layout tweaks.

* [ML] Move server side code from ML to APM.

* [ML] Remove console.logs.

* [ML] Fix types.

* [ML] Chart area line type fix. Slowness %.

* [ML] Comment unused vars.

* Fix missing pluginsStart data in context

* Add KS test value and rename table columns

* Update percentiles to be correct

* Make columns optional

* Update fractionals/expectations to match with backend logic

* Update so progress is 100% when all is completed

* Make pre-processing steps smaller part of overall progress(to show charts earlier)

* Add no correlations found message

* Fix progress logic

* Fix incorrect threshold, types

* Add back APM filtering functionality to match with other table

* Improve histogram equality check with random sampling

* Show overall latency distribution right away

* Rename demo tab to latencyCorrelationsTab

* Update percentiles query to use hdr

* [ML] Fix issue where apm-* might have multiple indices with different mappings where keyword is not the only type

- Fix to check for keyword mapping more thoroughly
- Add try catch if one of the es search fail, don't quit the entire fetch

* Remove commented code

* Remove kstest column, round correlation to 2 sigfig dec

* Remove old latency tab, replace with ml latency correlations tab as first/default one

* Set axis to start at 0 because agg may results in weird

* Remove commented code for grouping duplicates

* Update msg to mean significant correlations

* Add i18n

* Change correlations flyout back to medium size

* Add name of service or transaction for clarity

* Share i18n

* Consolidate roundToDecimalPlace usage

* Remove redundant isDuplicate

* Create MAX_CORRELATIONS_TO_SHOW

* Update mlCorrelationcolumns

* Fix i18n quotations

* Update query to include filter

* Revert "Update query to include filter"

This reverts commit 9a37eec0

* Rename MlCorrelations to MlLatencyCorrelations for clarity

* Add pagination

* Update include/exclude logic for field candidates and add ip field support

* Add transactionName filter suport

* Reorganize math utils

* Group duplicates together

* Fix typescript, better hasPrefixToInclude support check,

* Remove Finished toast

* Add title to y axis

* Reduce number of tick labels to show

* Highlight table row that is being used for graph

* Add from to follow MDN guideline

* Add APM style prefix

* Fix i18n

* [ML] Fix logic for tick format to only show power of 10

* Replace roundToDecimalPlace with asPreciseDecimal

* Switch to lodash range

* Clean up get_query_with_params

* Prioritize candidates using field_terms

* Update percentiles result type to be array instead of objects

* Use observability's rangeQuery instead

* Change arg format of query

* Revert candidate_terms logic

* Consolidate fractions, expectations, and ranges calc

* Add tooltip for Correlation

* Change terms size to 20

* Move env/service/transaction sticky header to top level, remove link

* Add support for http.response.status_code

* Replace histogram circular markers with bars

* Delete unused roundToDecimalPlace

* Add fractions calculation

* Make notes of fractions and fix bucket correlation

* Remove any, commented code, consolidate cancelFetch

* Use es6 max

* Align tooltip at the top

* Get rid of getCoreServices, param docs, rename type, remove rangeQuery

* Adjust range

* Show all values without grouping duplicates

* Fix pagination

* Make flyout larger

Co-authored-by: Quynh Nguyen <quynh.nguyen@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 14:17:56 -05:00
Cauê Marcondes
0f4a48ec22
[APM][Fleet] getting token and url from vars (#103675)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 15:14:00 -04:00
Zacqary Adam Xeper
5da5ade831
[Fleet] Freeze unenroll_timeout field for managed policies (#103710) 2021-06-29 14:52:12 -04:00
Constance
8d49e27002
[App Search] Update delete copy to indicate immediate deletion (#103700)
* Update delete copy to immediate deletion

- David recently changed our dashboard action to invoke an index refresh, which means it should be a synchronous action now

* Run node scripts/i18n_check --fix
2021-06-29 14:41:25 -04:00
Larry Gregory
6c172ead19
Convert security management pages to new layout (#101660)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 14:38:56 -04:00
Nicolas Chaulet
770aa79121
[Fleet] Better onboarding experience for Fleet Server on premise (#103550) 2021-06-29 14:28:37 -04:00
Pierre Gayvallet
5d24b23182
[SoMigV2] Fail fast if unknown document types are present in the source index (#103341)
* initial draft

* fix some tests

* fix additional unit tests

* move all the things

* create error generation fn

* add correct error message

* add unknown types to log message

* fix types

* fix existing test suites

* add IT test

* review comments

* add tests + use unknown instead of undefined for empty types

* update RFC with new step
2021-06-29 20:24:01 +02:00
Ahmad Bamieh
de1979570b
[Telemetry] track and warn event loop delays thresholds (#103615) 2021-06-29 13:57:57 -04:00
David Sánchez
7ec04e158b
[Security Solution] Use Router component prop to render subcomponents and enforce componentDidMount and componentDidUnmount on each render (#103686) 2021-06-29 13:29:13 -04:00
John Dorlus
cd9b42bfb2
Added test for the date processor. (#103415)
* Added test for the date processor.

* Fixed nits per PR comments.

* Fixed failure from removing a data test subject in the helpers file.
2021-06-29 13:24:48 -04:00
Byron Hulcher
662d8a6159
[App Search] Updated copy for Precision Slider step descriptions (#103684)
* Update precision slider description copy

* Fixed a broken (but passing) test
2021-06-29 13:07:33 -04:00
Sandra Gonzales
a7b5d3533e
[Stack Monitoring] create alert per node instead of per cluster (#102544)
* create alert per node instead of per cluster

* add comment

* fix test, replace alert state with empty array with no node is firing

* update cpu usage action messaging

* fix internationalization

* update disk usage rule action messaging

* update memory usage rule action messaging

* update other action messaging

* update missing monitoring data alert action messaging

* remove comment

* fix bug where threadpool alerts were not firing

* fix bug with threadpool rejections and update alert action messaging to be per node

* update comments

* unit test for thread pool write rejections alert

* update messaging for CCR read rejection

* fix cluster level alerts to use the cluster id when its not node level

* add more tests to nodes changed alert

* update default message

* update alert messaging for large shard size

* update default messaging

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 13:05:33 -04:00
Joe Reuter
9e52ebff9e
purge all incomplete columns on closing flyout (#103454) 2021-06-29 18:43:11 +02:00
Elizabet Oliveira
8c0407a9f6
[Maps] Design updates for draw shape mode and timeslider (#103493)
* Timeslider icons and styles

* Exit feature editing. Animations for toolbar and timeslider

* Removing unnecessary line

* Adding padding to tooltip field popover

* Adding pulse animation on open timeslider

* Adding isDraggable to timeslider

* More timeslider styles

* Better positioning of the exit edit mode button

* Enable edit mode when new vector layer added

* Review feedback. Update action name. Remove unneeded component state

* Minor updates. One more action for cancel. Type updates. Snapshot update

* fixing tests and eslint error

* Added new exit mode design. Renamed animations

* Features instead of feature to be consistent with popover

* fix type error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Aaron Caldwell <aaron.caldwell@elastic.co>
2021-06-29 17:41:15 +01:00
Matthias Wilhelm
1d99cae32b
[Discover] Improve brushing test (#97830) 2021-06-29 18:33:27 +02:00
Stacey Gammon
7ff28959b1
Update api docs (#103310)
* Update api docs

* update api docs after merge from master
2021-06-29 12:29:58 -04:00
Alejandro Fernández Gómez
16ae487a5f
[Fleet] Warn when trying to unenroll agents with fleet server (#103671) 2021-06-29 12:16:03 -04:00
Oliver Gupte
bfd801078f
[APM] Migrate to data streams - Fleet on Cloud (#102682)
* [APM] Adds migration to fleet-managed APM server in APM UI Settings (#100657)

* adds useStrictParams option to apm server routes to allow unknown record type in param.bopy

* Adds checks for required roles, policies, and config before allowing user to initiate migration

* refactored and cleaned up server-side code

* i18n and link to Fleet

* fixes linting issues and unit tests

* updates the apm package policy to 0.3.0 and adds some missing config mappings

* PR feedback

* Handles case where the cloud policy doesn't exist

* Reverts the addition of the useStrictParams option since strictKeysRt now supports records

* fixes default input var values and uses correct published package version

* displays reasons the switch to data streams is disabled

* Store apm-server schema with the internal saved objects client
2021-06-29 12:03:54 -04:00
Annalisa Valente
06eb881781
[Uptime][User Experience] Updating labels in sidenav (#103336)
* [Uptime][User Experience] Updating labels in sidenav

* Updating translations script

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 17:00:43 +01:00
Pete Hampton
096ee92f3b
Remove <7.14 EP Metrics from Security Solution usage collector (#103632)
* Remove <7.14 EP Metrics from Security Solution usage collector.

* Update telemetry schema.

* Fix reworked method signature.
2021-06-29 16:53:11 +01:00
Jonathan Buttner
cdfc90ca30
Removing the title edit icon for read only (#103540)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 11:48:11 -04:00
Aurélien FOUCRET
f1719af2d6
Fix crawler URL in the landing page. (#103479) 2021-06-29 08:46:43 -07:00
Ester Martí Vilaseca
46402538d2
[Monitoring] Enable out of the box alerts modal (#101565)
* Remove api call to create alerts

* Add enable alerts modal

* Update modal title

* Add simple alerts dropdown

* change alerts modal design

* refactor alerts modal provider

* Add alerts dropdown

* Show toast after alert creation and add error handling

* Do not show alerts modal if alerts already exist

* Fix stack monitoring test

* Fix more stack monitoring tests and types

* Fix tests after merge

* Attempt to fix stack monitoring tests

* remove console.log

* Change text

* Remove commented comment

* Update docs for stack monitoring alerts

* Fix docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-29 17:35:37 +02:00