Commit graph

11491 commits

Author SHA1 Message Date
Tim Sullivan d649f02c07
Monitoring/directives use react view elasticsearch (#19362)
* [Monitoring/React] Make Elasticsearch directives use React component internally

* fix more functional tests

* remove TODO

* lessen loc change
2018-05-23 16:57:37 -07:00
Tim Sullivan 77cfc94441
[Monitoring] Summary Status component data-test-subject wrap entire label/value container (#19289)
* [Monitoring] Summary Status component data-test-subject wrap entire label/value container

* update functional tests
2018-05-23 10:22:54 -07:00
Bill McConaghy 165fc67bd0
fixing issue in edit index settings caused by ace upgrade (#19311)
* fixing issue in edit index settings caused by ace upgrade

* fixing json mode
2018-05-22 19:32:05 -04:00
Chris Earle f2ccf90880
Add Notification Service (#19236)
This adds a notification service to Kibana that can be used to send
asynchronous notifications, such as sending email and Slack messages,
which are intended to be configured via a combination of the
`kibana.yml` and Kibana keystore.

Once configured, the actions are automatically added to the notification
service and can be invoked via the server using the `notificationService`
singleton or HTTP to send it directly. See the included README for more
details.
2018-05-22 19:02:04 -04:00
dave.snider@gmail.com 51592c652a
Fix banner issue in ie11 (#19273)
* fix banner issue in ie11
2018-05-22 13:30:47 -07:00
Justin Kambic b1527d85dc
[PipelineViewer] [Monitoring] Flatten Pipeline Statement Trees (#19084)
* Add flatten function and list class.

* Rename functions to be more descriptive.

* WIP moving flatten logic to classes.

* Finish moving flatten logic into classes, add tests.

* Simplify flattening, remove non-native dependency. Add more tests.

* Add defaults to simplify function call.

* Refactor two blocks into a function.

* Fixed broken test.

* Update classes based on PR feedback.

* Update module exports, remove obsolete file.
2018-05-22 15:48:39 -04:00
Joe Fleming c6bf945f2f
Feat: expose reporting complete notifications (#19283)
This PR is a pretty small change to the Reporting job complete notification service. It converts the actual code to a simple object, instead of a class that needs to be instantiated. This makes the notification service a singleton, and also exports it so it can be used in non-Angular applications.

- Converts `reportingJobCompletionNotifications` factory to a singleton
- Exports the underlying jobCompletionNotifications
  - Allow use in non-angular plugins

Example use:

```js
import { jobCompletionNotifications } from 'plugins/reporting/services/job_completion_notifications';

createReportingJob() // pseudo code function that returns a reporting job id
.then(jobId => jobCompletionNotifications.add(jobId));
```
2018-05-22 12:47:49 -07:00
Aleh Zasypkin 0ab9703287
Upgrade sinon (v1.17.3 --> v5.0.7). (#19074) 2018-05-22 12:13:38 +02:00
James Gowdy 0263d886e4
[ML] Start datafeed from the module setup endpoint (#19254)
* [ML] Start datafeeds from the module setup endpoint

* changes based on review

* correcting use of filter
2018-05-22 10:37:21 +01:00
Tim Sullivan 744fc0b316
[XpackMain] Add _xpack/usage API (#19232)
* [XpackMain] Add _xpack/usage API

* add xpack usage http api integration test

* comment

* misc test describe fixes

* fix integration test

* fix reply called twice

* enable api test

* enable kibana collection for integration test to work

* throw error comment
2018-05-21 16:55:26 -07:00
Tim Sullivan a7c3255665
Add some collector classes for objects that get registered in a CollectorSet (#19098)
* Add some collector classes for objects that get registered in a CollectorSet

* comment cleanup

* don't pass an inline-defined logger to collectorSet

* add a helper logger function so collector has access to logger at construction
2018-05-18 13:02:54 -07:00
Chris Roberson 5edf2c0beb
Ensure we account for cluster level settings when looking for configured actions (#19121) 2018-05-18 15:19:05 -04:00
Chris Roberson a9bfcaab6a
Ensure disabling watcher does not break index management (#19137) 2018-05-18 11:49:50 -04:00
Justin Kambic 8425016e66
[Logstash] [PipelineViewer] Preserve all nested pipeline statements during graph conversion (#19101)
* Ensure all true/false statements are nested in IfStatements.

* Simplify nested vertex diffing.

* Rename get vertices function and test it.

* Update tests, add more tests.

* Update prompted by review feedback.

* Update tests - add required props to provided objects.

* Remove unneeded function/tests.

* PR Cleanup.
2018-05-18 09:32:52 -04:00
Pete Harverson 72f0f5918b
[ML] Don't show time series charts if metric field is script field (#19206) 2018-05-18 13:11:22 +01:00
James Gowdy 8b3052010f
[ML] Adding jsconfig file for better code navigation in vscode (#19203)
* [ML] Adding jsconfig file for better code navigation in vscode

* removing allowSyntheticDefaultImports as it is defaulted to true

* cleaning up paths
2018-05-18 12:52:18 +01:00
Walter Rafelsberger e648269b95
[ML] Improve the field type icon's component structure. (#19200)
This fixes the component structure of the file type icon: The container component no longer needs to be wrapped inside a span element for the tooltip to work by using the recommendation to pass on the props to the first inner element (see elastic/eui#839). Also adapted a jest test which tests the hovering behavior and fails when the props are not passed on.
2018-05-18 10:59:27 +02:00
Walter Rafelsberger 72083c9b0c
[ML] Fixes jest tests for bucket span estimator button. (#19164)
Fixes jest tests for the bucket span estimator button. The tests were not correctly considering the way jest runs tests asynchronously. Now each test is self-contained within the test callback.
2018-05-17 14:04:18 +02:00
Walter Rafelsberger 69b857ca54
[ML] Migrate field-type-icon to EUI/React. (#19159)
Migrates the field-type-icon directive to use EUI/React. Instead of the angular/bootstrap tooltip attribute on the directive's tag, there's now an option tooltip-enabled which when true wraps the component inside EuiToolTip.
2018-05-17 13:21:39 +02:00
Walter Rafelsberger a9d47320d5
[ML] Migrate bucket span estimator button to React/EUI. (#19045)
This migrates the bucket span estimator button to use React/EUI. The existing mlBucketSpanEstimator is refactored to use React without ngReact to have more detailed control in regards to the $scope being transformed to a trimmed down props object with only the information necessary for the React component. This also allows more control in regards to the $scope attributes being watched. Instead of custom styles and classes this now uses the options available for EuiButton. However, there were some minimal overrides necessary to the EUI styles to replicate the narrower height and padding to fit within the input element.
2018-05-17 09:26:01 +02:00
Walter Rafelsberger 13b97ac294
[ML] Migrate ml-info-icon to React/EUI (#19003)
This replaces the angular based tooltip used in the ml-info-icon directive with one based on React/EuiTooltip. It supports transclusion and rendering of angular template snippets inside the tooltip. Because the DOM structure of the EuiTooltips and the angular/bootstrap tooltips is quite different there is a bit more code involved to achieve this, but the result is that for this we don't have to change the markup in the original angular templates where ml-info-icon is used.
2018-05-17 09:21:39 +02:00
Chris Davies 2f9185df63
Fix #18838 incorrect 403 message when generating reports (#19054)
Fix #18838 incorrect 403 message when generating reports
2018-05-16 15:22:12 -04:00
Justin Kambic 748d152354
Add vertex reference to pipeline statement classes. (#19134) 2018-05-16 14:31:18 -04:00
Walter Rafelsberger b620978ca1
[ML] Migrate mlDocumentationHelpLink to React. (#19124) 2018-05-16 17:55:35 +02:00
James Gowdy 329894ff4c
[ML] Initial creation of APM module (#18805)
* [ML] Initial creation of APM module

* updating query

* adding processor.name check to query

* removing processor.name exists check

* updating manifest with suggested changes

* renaming-job-id

* updating job description
2018-05-16 16:41:51 +01:00
Nathan Reese 1e3e834e08
upgrade to EUI 0.0.47 (#19099) 2018-05-16 08:50:00 -06:00
Pete Harverson 25324c1d19
[ML] Create server-side results service (#19044)
* [ML] Create server-side results service

* [ML] Edits to server side results service following review
2018-05-16 09:59:07 +01:00
Walter Rafelsberger 95e14bdebc
[ML] Fix issues with watching the scope of single metric viewer data. (#19029)
This fixes a bug with the single metric viewer not updating correctly and not showing anomaly records.
2018-05-16 10:05:01 +02:00
Søren Louv-Jansen 3bf6c43602
[APM] Fix bug that causes watcher emails to fail (#19071) 2018-05-15 23:03:40 +02:00
Tim Sullivan 0940f5755d
[Monitoring] Rename TypeCollector to CollectorSet for semantics (#18987)
* [Monitoring] Rename TypeCollector to CollectorSet for semantics

* boring test changes

* usage collector renames

* rename initKibanaMonitoring => createCollectorSet

* fix lint
2018-05-15 13:46:20 -07:00
Tim Sullivan 9e0a6e2a31
[Monitoring] Add a yellow status phase in plugin init (#18939)
* [Monitoring] Add a yellow status phase in the startup lifecycle

* comments

* more comments

* more comment

* undo register => registerType function name change
2018-05-15 09:32:14 -07:00
Bill McConaghy 52a7f4c1b6
[console] 6.0 API and ace refactor (#18930)
* capturing refactoring work in progress

* cleanup

* removing 5.0 API

* updating autocomplete aggregations to supported ones

* adding documentation links to generated specs

* progress on ace upgrade

* further progress

* cleaning up

* adding new minified source for worker

* fixing bug with merging API definitions

* addressing PR feedback

* using raw loader to load worker file

* addressing PR feedback

* fixing bad characters in comments

* removing inadvertent change

* fixing scope links

* fixing a couple of scope links

* adding in exists to query dsl

* adding slop param for match_phrase query

* adding autocomplete support for search params

* Revert "using raw loader to load worker file"

This reverts commit 16d33c189c.

* adding rescore API support for autocomplete

* adding index boost API support for autocomplete

* adding collapse to autocomplete

* adding highlight property support to autocomplete

* fixing issue with highlight

* adding support for common terms query

* adding inner hits support for autocomplete

* adding support for newer match options to match and multi_match

* better solution for worker
2018-05-15 09:13:59 -04:00
Pete Harverson 008701d031
[ML] Fix issues with end time of explorer swimlane selection (#18995) 2018-05-15 12:24:31 +01:00
Søren Louv-Jansen f1380e3ac5
[Kuery] Remove Angular dependencies (#17836)
* [kuery] Remove `byName` dependency

* Remove $http from kuery

* Fix test

* Add request headers

* Replace byName with getFieldByName; add isFilterable

* Replace Angular mock with static mock

* Update index pattern for query bar

* manually attach format.convert method to field

* Use KBN_FIELD_TYPES to determine isFilterable

* Bump yarn.lock file

* Add kfetch (Kibana fetch)

* Moved `getFromLegacyIndexPattern` to static index pattern functions

* Fix tests

* Mock out kfetch

* Move value formatting from getRangeScript to buildRangeFilter

* Remove getFieldByName (over abstraction)

* Split kfetch options into two
2018-05-15 00:10:40 +02:00
Chris Roberson 6528ef0d33
The text property is optional (#19034) 2018-05-14 10:29:29 -04:00
Spencer 0f8a00304b
[x-pack] remove use of resolveKibanaPath from plugin helpers (#18979) 2018-05-11 07:46:44 -07:00
Pete Harverson daf01340ba
[ML] Sort Explorer view by swimlane for selected time (#18955)
* [ML] Sort Explorer view by swimlane for selected time

* [ML] Rename swimlane sort array with clearer name
2018-05-11 09:37:26 +01:00
Jen Huang 45002180a7
Fix ace editor warnings (#18893)
* Fix ace editor warnings
2018-05-10 10:43:49 -07:00
gchaps 7ee5147b26
[COPYEDIT] Fixed capitalization for Basic and Premium licenses (#18969)
* [COPYEDIT] Fixed capitalization for Basic and Premium licenses

* [COPYEDIT] More fixes for upper case in license text, including one code change
2018-05-10 09:31:46 -07:00
Tim Sullivan 782d4d9804
[Monitoring/React] Render ES Indices Listing with Base Controller / React (#18595)
* [Monitoring/React] Render ES Indices Listing with Base Controller

Refactors the ES Indices Listing to use Base Controller and a React component instead of an Angular directive

* fix functional tests

* fix another test

* better default for summary status component

* nicer code for whitespace after label

* apiFn => apiUrlFn

* Deleted / Closed
2018-05-09 21:37:24 -07:00
Tim Sullivan 011e8b2c28
[Monitoring] reorganize metrics per stack product (#18590)
* [Monitoring/Metrics] clean up metric classes and getMetricFields static helpers

* more pull out

* more to break out

* [Monitoring] reorganize metrics per stack product

This organizes the metrics classes per product as a starting point for adding more functions to the metrics so external logic in the `get_metrics` and `get_series` modules can be simplified.

New structure:
```
plugins/monitoring/server/lib/metrics
├── __test__
│   ├── __snapshots__
│   │   └── metrics.test.js.snap
│   └── metrics.test.js
├── beats
│   ├── __test__
│   │   └── cpu_utilization_calculation.test.js
│   ├── classes.js
│   └── metrics.js
├── classes
│   ├── __test__
│   │   ├── latency_metric_calculation.test.js
│   │   └── quota_metric_calculation.test.js
│   ├── cluster_metric.js
│   ├── index.js
│   ├── metric.js
│   └── quota_metric.js
├── elasticsearch
│   ├── __test__
│   │   └── latency_calculation.test.js
│   ├── classes.js
│   └── metrics.js
├── index.js
├── kibana
│   ├── classes.js
│   └── metrics.js
├── logstash
│   ├── classes.js
│   └── metrics.js
└── metrics.js
```

* fix strange test failure

* reduce loc change
2018-05-09 18:23:27 -07:00
Chris Earle da1ed1a105
Make "Yes" button unfilled (#18960)
This changes the button from looking like it has been pre-clicked, which
is not the case.
2018-05-09 14:53:39 -04:00
Pete Harverson 875a0eb3bc
[ML] Filter top influencer list based on swimlane selection (#18946)
* [ML] Filter top influencer list based on swimlane selection

* [ML] Edits to Influencer List after review and remove animation
2018-05-09 16:56:35 +01:00
Walter Rafelsberger 79c4d4ef09
[ML] Enable cell range selection. (#18920)
This re-enables the feature flag to support selecting a range of cells in the anomaly explorer. Follow-ups to this PR will tackle limiting the allowed cells to select to avoid problems with too wide selections.
2018-05-09 14:39:22 +02:00
James Gowdy 0d3df613de
[ML] Fixing transfer of dedicated index setting (#18945) 2018-05-09 13:22:44 +01:00
Tim Sullivan 698dfa455c
[Monitoring/Beats] Telemetry Data from Beats (#18833)
* [Monitoring/Beats] Telemetry Data from Beats

* filter apm-server

* ignore results payload if hitsLength === 0

* process each payload as stats are saved to clusters object
2018-05-08 09:19:15 -07:00
Walter Rafelsberger 74868ebb2f
[ML] Fixes time series viewer data binding for forecast data. (#18903)
Fixes the data binding of focusForecastData to renderFocusChart(). An update to focusForecastData in MlTimeSeriesExplorerController wasn't correctly picked up by the directive mlTimeseriesChart because the relevant data wasn't being watched.
2018-05-08 14:58:17 +02:00
James Gowdy b1ca716b80
[ML] Correctly transfer dedicated index setting to advanced job page (#18899)
* [ML] Correcly transfer dedicated index setting to advanced job page

* removing accidentally added code
2018-05-08 13:50:00 +01:00
Pete Harverson 59fb742f80
[ML] Hide Top Influencers list if job has no influencers (#18819)
* [ML] Hide Top Influencers list if job has no influencers

* [ML] Add check for undefined job when hiding influencers list
2018-05-08 13:27:57 +01:00
Walter Rafelsberger 9894355490
[ML] Move the hide() function outside the show() function's scope. (#18900)
The mlChartTooltipService's hide() method was inside the show() method scope. If hide() was called before show() was called for the first time this would result in an error. This could have happened in angular directive's which called hide() on some cleanup action without a previous call to show(). This fix moves the hide() method outside the show() method's scope and adds a unit test to check for the correct structure of mlChartTooltipService.
2018-05-08 13:53:22 +02:00
Jen Huang 1259007745
Advanced Settings to React/EUI (#17465) 2018-05-07 12:48:27 -07:00
Justin Kambic 637d90dde0
[Logstash Pipeline Management] Fix bottom border of Pipeline Editor (#18834)
* Change pipeline editor markup so bottom border doesn't hide text on last line.

* Add constants for scroll margin size.

* Add comments to editor constants.

* Add PX units to constant names.
2018-05-07 14:08:05 -04:00
Nathan Reese ce3b69fbe9
remove application icon assets in kibana that ship with EUI (#18570)
* remove assets in kibana that ship with EUI

* update home page tests

* replace logstash pipeline svg with EUI icon type
2018-05-07 10:59:39 -06:00
Søren Louv-Jansen 8627dbad14
[APM] Fix docs link and mock ui/metadata (#18857) 2018-05-07 16:22:54 +02:00
Nathan Reese 6d51db6656
upgrade to eui 0.0.46 (#18827)
* upgrade to eui 0.0.46

* update logoElasticsearch

* update x-pack jest snapshots
2018-05-05 09:08:15 -06:00
Søren Louv-Jansen 14876364c7
Replace api calls with ReduxRequest (#18815) 2018-05-04 20:29:00 +02:00
Justin Kambic 3028a6fd80
Fix suboptimal file org/export structure. (#18820) 2018-05-04 14:27:05 -04:00
Justin Kambic 38fd6066f6
[Grok Debugger] Better editor expansion/Fix border hiding bottom line (#18752)
* Update to grok debugger editors: let them grow taller and stop hiding half of bottom line input.

* Update custom pattern size to 10 LOC.

* Remove unnecessary options, add constants for scroll margin.

* Encapsulate editor options in mutate function.

* Move editor helper file and prefer "function" declaration over ES6 const.

* Add test for new helper function.
2018-05-04 12:20:36 -04:00
Shaunak Kashyap 5722c84b2d
Removing line that's causing an error (#18807) 2018-05-04 06:26:51 -07:00
James Gowdy ed7f6983f9
[ML] Data recognizer UI improvements (#18804)
* [ML] Data recognizer UI improvements

* rolling back accidental change
2018-05-04 14:02:43 +01:00
James Gowdy 511a6b0904
[ML] Fixing data recogniser save success issue (#18803) 2018-05-04 11:18:49 +01:00
Pete Harverson 5de7909350
[ML] Convert Explorer Influencers List to EUI/React (#18773)
* [ML] Convert Explorer Influencers List to EUI/React

* [ML] Remove unused abbreviate_whole_number Angular filter

* [ML] Convert React Influencers List to stateless function
2018-05-04 09:22:59 +01:00
Spencer e1a2fcbd96
[uiExports] migrate uiApp "uses" to explicit imports in apps (#17828)
* [uiExports] migrate uiApp "uses" to explicit imports in apps

* [uiApp] update tests for getModules() method

* [optimize/uiExports] improve naming and comments

* [uiExports] sort imports so they load in the same order as before

* [testHarness] load hacks when testing in the browser

* [x-pack/uiExports] use new uiExports modules

* [testHarness] describe why we import uiExports/hacks

* [optimize] remove needless [].concat()

* [optimize/createUiExportsModule] string.includes > string.indexOf

* [uiExports/createUiExportsModule] remove needless capture of module exports
2018-05-03 12:18:50 -07:00
James Gowdy 708810ab30
[ML] Fixing error reporting in message bar (#18781) 2018-05-03 18:33:22 +01:00
Walter Rafelsberger 9d73c656e8
[ML] Fix Anomaly Table update trigger (#18769)
Fixes an issue with the anomaly table not correctly updating in the anomaly explorer and the anomaly markers not showing up in the time series viewer.
- moves the initialization of scope.anomalyRecords = []; to the controllers of anomaly explorer and time series viewer. having it in the anomaly table directive caused a race condition to overwrite already fetched records.
- use $watchCollection instead of $watch to track anomalyRecords and focusChartData changes.
replaces $timeouts with scope.$evalAsync
- fixes how focusChartData gets updated correctly to fix missing anomaly markers in the time series viewer.
2018-05-03 16:02:32 +02:00
James Gowdy d52729b862
[ML] Converting services to be non-angular imports (#18687)
* [ML] Removing angular from services

* removing commented out code

* fix include path for tests

* adding flag to initPromise

* moving job service for jest tests to pass

* moving initPromise to its own file
2018-05-03 13:11:19 +01:00
James Gowdy a4cfc25e46
[ML] Fixing icon 404 responses in firefox (#18766) 2018-05-03 13:07:19 +01:00
Walter Rafelsberger 0ac0e3dd5d
[ML] Refactor to not rely on broadcast which could result in listeners not picking up changes. (#18717)
Fixes an issue where the anomaly table wouldn't load because a broadcast to renderTable was triggered before the anomaly table directive initialized the corresponding listener. This change replaces the use of broadcast and instead uses $watch to listen on scope changes on the specific attributes relevant to the updates. The updating of code in parent scopes was moved inside the $timeouts instead of the broadcast event.
2018-05-03 10:04:47 +02:00
Tim Sullivan 482953c9b8
[Monitoring/Metrics] clean up metric classes and getMetricFields stat… (#18741)
* [Monitoring/Metrics] clean up metric classes and getMetricFields static helpers

* more pull out

* more to break out

* snapshot update
2018-05-02 17:29:25 -07:00
James Gowdy dc21cf29b9
[ML] Increasing calculated model memory limit (#18723)
* [ML] Increasing calculated model memory limit

* updating comment

* updating tests
2018-05-02 18:12:45 +01:00
Bill McConaghy 411b2455d6
fixing issue with cancel button on revert to basic license modal (#18718) 2018-05-02 12:53:08 -04:00
James Gowdy d77cc5676b
[ML] Fixing MS Edge GET request error (#18713) 2018-05-02 14:25:17 +01:00
Pete Harverson 34cc14f445
[ML] Display typical values for lat_long anomalies (#18715) 2018-05-02 13:21:49 +01:00
James Gowdy af1a9b6a13
[ML] Adding ace editor for JSON (#18692)
* [ML] Adding ace editor for JSON

* removing unnecessary require-keys setting
2018-05-02 11:48:48 +01:00
Walter Rafelsberger 7f48d6e5b6
[ML] Adds an mml check to trigger an error when mml value is invalid. (#18678)
This adds an additional check and corresponding error message to the validation of the model memory limit. If the parsing of the memory model limit results in 0 bytes the message will be triggered. This behaviour catches both correctly formatted but invalid strings (like 0mb) and invalid strings (like asdf).
2018-05-02 12:42:13 +02:00
Pete Harverson a565761b94
[ML] Convert Angular filters to formatter functions (#18681)
* [ML] Convert Angular filters to formatter functions

* [ML] Clean up Angular filter wrappers
2018-05-02 09:47:27 +01:00
Walter Rafelsberger 92f05ee9b3
[ML] Omit mml success message when mml checks are not run. (#18659)
Updates the behaviour of the job validation's model memory limit checks: The success messages success_mml gets only returned if the checks were actually run. This omits the success message for example in the single metric and population wizard.
2018-05-02 10:35:12 +02:00
Walter Rafelsberger d6e2464ff0
[ML] Fixes sync issue where a manipulated AppState wouldn't contain the original attribute anymore. (#18653)
Inconcistencies between AppState and derived custom states for UI components like mlSelectLimit and mlSelectInterval could trigger errors because the parent of a nested object attribute could become undefined. This PR adds additional checks to state_factory.js's get/set/reset methods to reinitialize itself with AppState and fall back to its default state should it not be present within AppState anymore. The original issues were hard to reproduce consistently using the UI only. However the error could be triggered when creating a malformed URL, like replacing the mlSelectInterval:(interval:(display:Auto,val:auto)) part of the URL to something like mlSelectInterval:(undefined). This PR includes additional unit tests which simulate this behaviour and fail without the additional checks provided by this PR.
2018-05-02 08:18:31 +02:00
Jonathan Budzenski 1eef04551d
[console_extensions] disable when console is disabled (#18673)
* [console_extensions] disable when console is disabled

* [console extensions] has console and enabled

* [console_extensions] fix console_extensions.enabled
2018-05-01 10:54:43 -05:00
Shaunak Kashyap 5de204212e
[Logstash Centralized Management] Hide recently-deleted pipelines (follow up PR) (#18683)
* Renaming constant to be more descriptive

* Less kludgy language for better readabilility

* Removing extraneous newlines
2018-05-01 07:16:39 -07:00
Shaunak Kashyap bf97342356
[Grok Debugger] Adding syntax highlighting for grok expressions (#18572)
* Adding basic syntax highlighting for grok expressions

* Use EUI color palette

* Handle regex tokens, escaped and unescaped

* Return token for escaped content

* Add functional test

* Using higher-contrast colors

* Removing comment I used for developing the highlight rules

* Using object destructuring

* Removing unnecessary method
2018-04-30 12:31:23 -07:00
Shaunak Kashyap 5cf042bfde
[Logstash Centralized Management] Hide recently-deleted pipelines (#18644)
* Extracting constant for reuse

* Keep track of recently-deleted pipelines until Monitoring stops reporting them

* Adding explanatory comment for constant
2018-04-30 12:04:39 -07:00
Bill McConaghy 117e4337c5
passing acknowledge=true with start_trial (#18655) 2018-04-30 12:59:00 -04:00
Tim Sullivan 9e4d4952b6
[Monitoring] add get_clusters_summary to shrink cluster api response (#18596)
This reduces the output from the clusters API in the data processing stage.

Mainly, it throws away a lot of unused fields in `elasticsearch.cluster_stats` and `elasticsearch.cluster_state`

cc @rasroh
2018-04-30 09:11:01 -07:00
gchaps e11c7dac17
[UI Text: Security] Edited text in User, Add user, and Edit user pages (#18618) 2018-04-30 08:58:27 -07:00
Nathan Reese 5a4263ad2d
update to eui 0.0.44 (#18606)
* update to eui 0.0.44

* keep eui dependency in x-pack

* wrap EuiBasic table column in span to avoid className prop from getting overridden

* remove brittle functional tests that are no longer needed with EUI components

* filter field list instead of chaning table size

* update x-pack snapshots
2018-04-27 11:07:15 -06:00
Søren Louv-Jansen fdc24f5b3f
[APM] Minor watcher improvements (#18602)
* [APM] Improve watcher tests

* Update tests
2018-04-26 17:44:31 +02:00
Tim Sullivan 4630548d2c
[Monitoring/React] Render ES Nodes Listing with Base Controller (#18585)
* [Monitoring/React] Render ES Nodes Listing with Base Controller

Refactors the ES Nodes Listing to use Base Controller and a React component instead of an Angular directive

* remove another obsolete file
2018-04-25 17:38:30 -07:00
Tim Sullivan 86d3786d34
[Monitoring/License] copy license LESS instead of reference it (#18591) 2018-04-25 17:29:56 -07:00
Chris Earle 015e94b5fe
[Monitoring] Recognize Write Threadpool (#18147)
This changes the Advanced Node page for Elasticsearch to recognize the
"write" threadpool, while also incorporating the deprecated "index"
threadpool and renamed "bulk" usage (renamed to "write").

This sums the three writing threadpools together and displays it as a
unified view.
2018-04-24 19:26:50 -04:00
Jenkins CI fe4609647d Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00