Commit graph

1372 commits

Author SHA1 Message Date
Aleh Zasypkin
86a17bfeea
Remove previously deprecated elasticsearch.* and xpack.monitoring.elasticsearch.* settings. (#29496) 2019-01-30 16:21:06 +01:00
Oliver Gupte
58f4295b22
[APM] Link to related errors from Transaction detail page (#29313)
* Closes #21920 by:
 - linking to errors list filtered by current transaction id
 - including the error count in the transaction details link

* [APM] improved code org and fix warning message in unit test

* [APM] improved code readability and parallelized ES queries
2019-01-30 07:14:05 -08:00
Kerry Gallagher
4d6bfd6b26
[InfraUI] Add Discuss feedback links to Infrastructure and Logs (#29519)
* Add header_feedback_link component

* Replace beta -> feedback link in Waffle Map

* Replace beta badge -> feedback link in logs
2019-01-30 14:18:05 +00:00
Chris Davies
2510ccb0ae
Upgrade Kibana to Elasticsearch 7.0 (#29184) 2019-01-30 09:08:58 -05:00
Chris Roberson
eec327b1fe
[Monitoring] Fix issues with the localization effort (#29372)
* Fix issues with the localization effort, mainly due to two ongoing refactors in the same code

* Apply suggestions from code review

Co-Authored-By: chrisronline <chrisronline@gmail.com>

* PR feedback
2019-01-30 09:04:18 -05:00
Bill McConaghy
4356a2dae3
copy edit for set_priority action in ilm UI (#29540) 2019-01-30 08:40:36 -05:00
Matt Apperson
8b89248764
[BeatsCM] Allow CM to scale better (#27717)
* Types, and index pattern moved to new format

* fix imports

* API now doing full validation on config blocks

* progress pre-move-blocks to their own api

* Config is now stored as a JSON string keyword to prevent conflict

* New API server is working

* fixing types — progress

* “fixed” all types

* add lib and most adapter methods needed

* wired up more plumbing

* added REST adapter to client for config blocks

* fix some tests

* connect new APIs to beat details page

* fix typo causing several failing tests.

* update test data

* API bug fixes

* fix remaining testing

* revert index name change

* add new routes

* remove whitespace

* fix spelling

* wiring things up and adapting to the new UI

* config block creation works in UI

* config blocks now show up once added

* adding paging to tables

* config list paging works

* version check for UI changes

* fix types

* Update the rest of config UI, still needs create API connection

* create now mass creates tags after tag is created, edit creates and deletes configs in real time

* create config blocks when creating tags

* propperly load tags on their own for beats

* load inital config blocks on edit page

* wired up initial pass at assignable tags

* assignments now work.

* squash many bugs with tag creation, editing, as well as k7 breadcrumbs

* fix label id

* Fix the displaying of module types

* bug fixes for deleting config blocks during initial tag creation

* make name really required on initial walkthrough tag creation

* Fix and enhance deleting a config block from existing tag

* fix memory adapter for configs

* add missing index template field.

* fix issue of empty array in ES

* fix typings

* fix tag not showing up when assigning sometimes

* cleanup

* fix assignment options not always listing avaliable tags. Tag removal now works. Now warns when tag is assigned to beat. Removing a tag removes config blocks on that tag

* fix search bars

* add “other field”

* remove dumb conditional

* use previous ID on configs when updating configs

* deleting tags with config blocks works

* reload beats list after removing a beat

* fix param order for DB adapter

* fix types

* persist config in UI when creating new config blocks on new tags

* Fixed issue with YAML parsing, error editing an output config, and cleaned up a little

* added/enhanced test
2019-01-30 07:19:01 -05:00
Walter Rafelsberger
a79560e10a
[ML] Fixes dragSelect regression. (#29577)
Some SCSS still used ml-explorer-swimlane (note the selector without the dot) for rules which referenced the angularjs tag <ml-explorer-swimlane /> which wrapped the swimlane. This element no longer exists in the DOM after the migration to React. Because the selector didn't match anymore, cells in the swimlanes would get a gray border when drag-selecting even if the feature to select a range of cells was turned off.

This fixes it by updating the SCSS to match the corresponding elements again. The referenced classes have been renamed to camelCase + ml-prefix and moved out of the deeply nested code. But no further SCSS refactoring is done in this PR, this is just about fixing this regression. Some legacy CSS from the ml-explorer-swimlane rule has been removed too.
2019-01-30 11:46:33 +01:00
Walter Rafelsberger
8c5ac4abbc
[ML] Fixes caching/memoizing Anomaly Explorer data calls related to changed time ranges. (#29579)
Fixes caching/memoizing Anomaly Explorer data calls related to changed time ranges.
2019-01-30 11:42:47 +01:00
Oliver Gupte
ddfe69fcd9
[APM] fixes selecting edges of charts (#29492)
* [APM] fixes #26529 by making the mouseup event handler global

* [APM] fix tests for CustomPlot
2019-01-29 16:59:04 -08:00
Josh Dover
908db0de07
[7.0] Add reindex feature to Upgrade Assistant (#27457) (#29516) 2019-01-29 17:55:35 -06:00
CJ Cenizal
89733ae0af
Fix bug in xpackInfo in which keys were being camel-cased during refresh but not init (#29304)
* Update Beats Management to use camelCased plugin ID to access xpackInfo.
2019-01-29 15:48:53 -08:00
Matthew Kime
400801d4b4
Kibana Management - Indices url to index patterns - followup (#29481)
* grep and change

* final grep of codebase to convert /management/kibana/indices => /management/kibana/index_patterns

* Update index.js
2019-01-29 16:02:41 -06:00
Robert Monfera
6b61ab7abb
[Canvas] unify pointer event x/y origin logic for localMousePosition calculation (#28748) 2019-01-29 22:06:57 +01:00
Jonathan Budzenski
e9f0006890
Remove es _xpack endpoint usage (#29465)
* _xpack/rollup -> _rollup

* _xpack/sql -> _sql

* _xpack/license -> _license

* _xpack/migration -> _migration

* _xpack/watcher -> _watcher

* _xpack/monitoring -> _monitoring

* _xpack/security -> _security

* [console_extensions] regenerate

* [console_extensions] update ml overrides

* [console_extensions] update security overrides

* [console_extensions] update rollup overrides

* Revert "[console_extensions] update rollup overrides"

This reverts commit bb3742570d.

* Revert "[console_extensions] update security overrides"

This reverts commit 5c0263b35e.

* Revert "[console_extensions] update ml overrides"

This reverts commit e8254d5671.

* Revert "[console_extensions] regenerate"

This reverts commit 91b754e956.
2019-01-29 13:28:32 -06:00
Justin Kambic
dc70eab105
Delete monitor stacked RTT chart. (#29446) 2019-01-29 14:28:04 -05:00
Justin Kambic
5bec56ed01
[Uptime] Refactor es queries and associated components/endpoints (#29374)
* Refactor es queries and associated components/endpoints.

* Add unit tests, repair broken tests.

* Simplify code based on PR feedback.

* Add loading spinner to monitor page title based on PR feedback.

* Rename GQL type based on PR feedback.

* Remove use of 'undefined' in ES query based on PR feedback.

* Simplify code based on PR feedback.

* Add definite size/shard_size for terms agg based on PR feedback.

* Simplify ES query based on PR feedback.

* Update x-pack/plugins/uptime/server/lib/adapters/monitors/elasticsearch_monitors_adapter.ts

Implement PR feedback.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Increase size for ES errors query based on PR feedback.

* Fix hardcoded field in terms filter based on PR feedback.

* Simplify get code for monitors function.

* Reduce unnecessarily large size for terms agg based on PR feedback.

* Pluralize filter bar props.

* Refactor filter bar query based on PR feedback.

* Update test.
2019-01-29 12:52:19 -05:00
Chris Cowan
c9eee0c222
Adding support for Dark Mode (#29133)
* Adding support for Dark Mode

* Use transparentize for suggestion icon bg color
2019-01-29 08:57:02 -07:00
Nox911
905ea526b2
[i18n] Translate kuery_autocomplete (#29162)
* Translate kuery_autocomplete

* Resolve review comments
2019-01-29 18:41:14 +03:00
Pete Harverson
f5638bdce3
[ML] Set zoom to start of forecast on opening in Single Metric Viewer (#29503) 2019-01-29 15:10:52 +00:00
Nathan Reese
f3046de3c1
[Maps] move source details to Panel header (#29298)
* [Maps] move source details to Panel header

* fix EMS file link

* add grid icon to WMS and TMS source

* ensure loadingDisplayName and props is only called once when component mounts

* ensure display name gets updated when user changes it in settings panel input

* clean-up styling

* review feedback
2019-01-29 07:58:22 -07:00
Chris Roberson
5b9f2baf98
[Monitoring] Await promise properly (#29001)
* Await this promise

* Add one additional log message and a test around that
2019-01-29 09:26:36 -05:00
Nox911
fc1d146a75
[i18n] Translate ML missed labels (#29256)
* Translate missed labels in ML

* Add translation

* Resolve review comments

* Update snapshot

* Fix test

* fix unit tests

* Remove snapshot
2019-01-29 17:08:57 +03:00
Pete Harverson
191fedf78f
[ML] Fixes to text spacings in data visualizer cards (#29438)
* [ML] Fixes to text spacings in data visualizer cards

* [ML] Switch to using euiFontSizeL include for field title bar
2019-01-29 11:34:14 +00:00
Caroline Horn
2d334b699c
Prepare local nav styles for K7 (#29457)
* Breadcrumbs and Title on their own line

- Menu on the left, datepicker on the right

* Fixed up usages of kuiLocalTitle

* Fix alignment if main menu doesn’t exist

* Remove some extraneous classes
2019-01-28 22:36:24 -05:00
Nathan Reese
dbf5421405
[Maps] prepare for geotile_grid aggregation (#29461)
* rename geohashgrid to geo_grid

* more stuff

* simplify getSearchFitlers

* rename precision to geogridPrecision

* missed one rename precision to geogridPrecision

* rename funtional test

* fix functional test gis/index import

* fix regression
2019-01-28 19:22:52 -07:00
Felix Stürmer
df43e20378
[Infra UI] Use alternative query string serialization function (#29361) 2019-01-29 00:22:52 +01:00
Aaron Caldwell
20c5c3b11f
[Maps] Handle unavailable tilemap services (#28852)
* Update ems utils to better handle no service results. Prevent excess attribution errors

* Update tile layer sync to return promise and handle errors related to both obtaining url and tile loading

* Add flow for updating tms layers with error status/message

* Handle promises, if returned, on syncLayerWithMB. Update TMS error status

* Exclude layers that mapbox didn't add to map but are tracked in layer list from reordering logic

* Move datarequest handling to vector layer. Use relevant data load/error logic for tile and vector layers

* Don't try to get attributions on errored layer

* Handle 'includeElasticMapsService' configuration

* Move data requests back to layer level for heatmap usage

* Update all layers to set top-level layer error status and message. Consolidate redundant code

* Update tile sync function to more reliably confirm load status after loading via callback. Add interval to cancel timer

* Remove unnecessary, and annoying, clear temp layers on tms error

* Clean up

* More clean up

* Review feedback

* Review feedback. Test cleanup

* Test fixes and review feedback
2019-01-28 15:10:05 -07:00
Nathan Reese
57414c12a2
[Maps] Elasticsearch source empty state (#29395) 2019-01-28 13:16:53 -07:00
Jason Rhodes
232873dfc8
Updates TPM buckets with a missing result key to default to 'n/a' (#29331)
* Updates tpm buckets with a missing result key to default to 'n/a'

* Localizes "N/A", updates how missing values are handled

* Converts transaction and error group overview lists to TS, uses managed table component

* Fixed tests

* Fixes EUI-related snapshot update

* Reverts TS conversion and client-side sort change for ErrorGroupOverview

* Restores location passing for error group list
2019-01-28 13:44:53 -05:00
Tim Sullivan
97dc19c608
[Task Manager] Remove doc type awareness (#28968)
* remove doc from mappings

* fix: section for type should include an inner object describing the mapping
2019-01-28 10:20:31 -07:00
James Gowdy
2b11d651ff
[ML] Switching from joda to java timestamp formats (#29425)
* [ML] Switching from joda to java timestamp formats

* updating tests
2019-01-28 16:09:10 +00:00
Chris Roberson
8756d5cfc8
[Monitoring] Use EUITooltips instead of pivotal ui (#29295)
* Use EUITooltips

* Remove the tooltip component and replace usage with EuiTooltip directly
2019-01-28 11:00:57 -05:00
Thomas Neirynck
b39d7947a4
[Maps] move grid resolution to source (#29294) 2019-01-28 10:30:57 -05:00
Joe Fleming
052a3d412c fix: don't sort in pie function (#27076) 2019-01-28 15:48:15 +01:00
Joe Fleming
7eba079e1f fix: remove text selection on writeable change (#28887) 2019-01-28 15:48:00 +01:00
Joe Fleming
e3b8e56d14 Feat: make modelArgs opt-in (#28963)
* chore: quote expression type name in error

makes it a little more readable and a little easier to understand what failed

* fix: show all model args if no filter

this changes what modelArgs means, turning them into a selective filter instead of a hard requirement
2019-01-28 15:47:42 +01:00
James Gowdy
1e161a8c40
[ML] Updating link to index pattern management (#29336) 2019-01-28 13:23:57 +00:00
James Gowdy
e56342e8ad
[ML] Making index pattern related links optional (#29332)
* [ML] Making index pattern related links optional

* reverting index pattern url

* removing link to data visualizer
2019-01-28 10:32:39 +00:00
James Gowdy
ec607e26b9
[ML] Better handling of recognizer module manifest parsing errors (#29322) 2019-01-28 10:32:15 +00:00
Bill McConaghy
7cd0d0faa4
restoring index table test (#29368)
* restoring index table test

* restoring policy table test
2019-01-25 15:38:24 -05:00
Nathan Reese
93fe5b7b2f
[Maps] round mouse coordinates to 5 digits (#29353)
* [Maps] round mouse coordinates to 5 digits

* do rounding in view
2019-01-25 12:54:05 -07:00
Thomas Neirynck
15b14b0048
[Maps] add fit to bounds button (#28801) 2019-01-25 13:40:43 -05:00
Bill McConaghy
51e0a807ad
fixing index table test (#29357) 2019-01-25 12:17:09 -05:00
Felix Stürmer
3038ea83db
[Infra UI] Don't block url update from propagating through container (#29352) 2019-01-25 18:06:08 +01:00
Nathan Reese
2574028c7d
[Maps] dark theme support for tooltips (#29351) 2019-01-25 09:15:27 -07:00
Nathan Reese
e320d511c1
Upgrade to EUI 6.7.0 (#29330)
* Upgrade to EUI 6.7.0

* comment out tests that are broken by brittle selector
2019-01-25 08:47:16 -07:00
Felix Stürmer
9588443601
[Infra UI] Read and write data sources from and to saved objects (#28016) 2019-01-25 16:08:09 +01:00
pavel06081991
af4dc9ad95
use intl.formatMessage instead FormattedMessage component (#29251) 2019-01-25 17:36:56 +03:00
Chris Roberson
9f37c1fd0a
[Monitoring] Support for unlinked deployments (#28278)
* Unlinked deployment working for beats

* Use better constant

* Show N/A for license

* Rename to Unlinked Cluster

* Use callout to mention unlinked cluster

* PR feedback

* Use fragment

* Speed up the query by using terminate_after

* Handle failures more defensively

* Remove unnecessary msearch

* PR feedback

* PR feedback and a bit of light refactor

* Updated text

* Add api integration tests

* Localize call out

* Update loc pattern

* Fix improper i18n.translate usage

* Revert "Fix improper i18n.translate usage"

This reverts commit 0e2e7608c3.

* Revert "Update loc pattern"

This reverts commit cc99fe8a8a.

* Ensure the unlinked deployment cluster counts as a valid cluster

* Sometimes, you miss the smallest things

* Ensure the unlinked cluster is supported, in that users can click the link and load it

* Update tests

* PR feedback. Simplifying the flag supported code and adding more tests

* Update naming

* Rename to Standalone Cluster

* Remove unnecessary file

* Move logic for setting isSupported to exclusively in flag supported clusters code, update tests
2019-01-25 09:34:01 -05:00