Commit graph

17184 commits

Author SHA1 Message Date
Lisa Cawley 4828e9206e [DOCS] Adds changelog to Kibana User Guide (#18698) 2018-05-04 11:05:10 -07:00
Justin Kambic eb1a07e9fd [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:31:49 -04:00
James Gowdy c3f310a67a
[ML] Data recognizer UI improvements (#18804) (#18809)
* [ML] Data recognizer UI improvements

* rolling back accidental change
2018-05-04 15:12:16 +01:00
Shaunak Kashyap f11b52f619 Removing line that's causing an error (#18807) 2018-05-04 06:27:32 -07:00
Thomas Neirynck d4f132d716
Normalize longitudes of bounds so it falls within the acceptable [-180,180] range (#18674) (#18799) 2018-05-04 08:31:13 -04:00
James Gowdy 7046999062
[ML] Fixing data recogniser save success issue (#18803) (#18806) 2018-05-04 13:02:02 +01:00
Pete Harverson 375f5f1546
[ML] Convert Explorer Influencers List to EUI/React (#18773) (#18801)
* [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 10:32:34 +01:00
Walter Rafelsberger a77e2bfc4b
[ML] Fix Anomaly Table update trigger (#18769) (#18774)
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-04 07:00:22 +02:00
Peter Pisljar 3e3106901c
remove other bucket UI from significant terms (#17810) (#17826) 2018-05-03 21:23:03 -05:00
James Gowdy 29dd4602d1
[ML] Fixing error reporting in message bar (#18781) (#18788) 2018-05-03 22:39:51 +01:00
Tim Sullivan 7c5c610c14
[Monitoring/Test] More indices listing tests to prep for refactoring (#18758) (#18784) 2018-05-03 13:07:59 -07:00
Spencer a6c0c62121 [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

(cherry picked from commit e1a2fcbd96)
2018-05-03 12:19:12 -07:00
Chris Cowan a26ddafb19 [TSVB] Adding log scale mode to y-axis (#17761)
* [TSVB] Adding log scale mode to y-axis

* adding license for jquery.flot.log.js to NOTICE

* Adding transforms to log

* updating notices

* Fixing transform to ingore zero
2018-05-03 10:43:29 -07:00
Spencer a537fae358 [uiSettingsClient] use kbn-version header (#18746)
(cherry picked from commit 6486db7280)
2018-05-03 09:45:07 -07:00
lcawley 2dd91b2c47 [DOCS] Enables editing links for X-Pack pages 2018-05-03 08:52:38 -07:00
James Gowdy 95986bde1e
[ML] Fixing icon 404 responses in firefox (#18766) (#18770) 2018-05-03 15:35:05 +01:00
James Gowdy cb9ef05923
[ML] Converting services to be non-angular imports (#18687) (#18771)
* [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 15:34:54 +01:00
Justin Kambic f1fb846cd8 Fix typo. (#18750) 2018-05-03 10:32:30 -04:00
Brandon Kobel 9fae5d1e42
No longer setting certs and keys for proxied calls to Elasticsearch (#17804) (#18772) 2018-05-03 09:01:39 -04:00
Walter Rafelsberger 4113348c79
[ML] Refactor to not rely on broadcast which could result in listeners not picking up changes. (#18717) (#18762)
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 11:49:16 +02:00
Nathan Reese bb6157b2ed
fix conflicts (#18748) 2018-05-02 18:01:31 -06:00
lcawley 28cc3d86a0 [DOCS] Removes X-Pack release notes 2018-05-02 16:53:07 -07:00
Spencer 0296eb2816 Fix loading indicator for uiSettingsClient (#18694)
* [ui/chrome/loadingIndicator] expose VanillaJS hooks for gloabl loading indicator

* [ui/uiSettingsClient] increment/decrement loading count while request in progress

* [ui/loadingIndicator] fix HeaderPage.isGlobalLoadingIndicatorHidden()

* [ui/loadingIndicator] remove rxjs, fix tests

* [ui/loadingIndicator] improve docs

* [ui/loadingIndicator] remove needless unmounts

* [ui/loadingCount] correct typo

* [functionalTests/headerPage] awaitGlobalLoadingIndicatorHidden

* [ui/loadingCount] send subscribers the loading count on subscription

* [ui/loadingIndicator] remove error throwing, cleanup render

(cherry picked from commit d35316642d)
2018-05-02 16:38:37 -07:00
Tim Sullivan be27610951
[Monitoring/Test] More API Integration tests (#18700) (#18732) 2018-05-02 14:07:11 -07:00
spalger 53a0a93769 [x-pack/readme] remove left-over merge conflict
(cherry picked from commit 7e41dc5248)
2018-05-02 13:55:46 -07:00
James Gowdy 5d37bf5619
[ML] Increasing calculated model memory limit (#18723) (#18730)
* [ML] Increasing calculated model memory limit

* updating comment

* updating tests
2018-05-02 21:53:17 +01:00
Lisa Cawley 5e43110a2e [DOCS] Fixes broken link to built-in users (#18747) 2018-05-02 13:22:59 -07:00
Spencer 66d1d3c1ce [esArchiver] fix esArchiver.loadIfNeeded (#18621)
* [utils/jsonParseStream] ensure only callback once

* [utils/streams] add util for piping many streams in series

* [esArchiver/load] combine record streams to fix skipExisting functionality

(cherry picked from commit 21d6dd2cba)
2018-05-02 12:56:29 -07:00
Søren Louv-Jansen df564a7f96
Update .backportrc.json (#18724) (#18734) 2018-05-02 21:00:07 +02:00
Kelly Murphy c3e41894f9
[Docs] Kibana settings anchors for ECE (6.x) (#17376)
* Reference anchors for links

* Cloud phrasing

* Reviewer feedback
2018-05-02 12:23:15 -05:00
Bill McConaghy eab030b9f7
fixing issue with cancel button on revert to basic license modal (#18718) (#18727) 2018-05-02 12:57:06 -04:00
Walter Rafelsberger 895249f1d9
[ML] Adds an mml check to trigger an error when mml value is invalid. (#18678) (#18711)
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 18:53:27 +02:00
James Gowdy e19a951594
[ML] Fixing MS Edge GET request error (#18713) (#18719) 2018-05-02 17:34:14 +01:00
gchaps 309fc2cd49
[UI Text: Security] Edited text in User, Add user, and Edit user pages (#18618) (#18720) 2018-05-02 08:46:44 -07:00
Pete Harverson c651831a45
[ML] Display typical values for lat_long anomalies (#18715) (#18716) 2018-05-02 14:29:27 +01:00
James Gowdy ede1d86554
[ML] Adding ace editor for JSON (#18692) (#18714)
* [ML] Adding ace editor for JSON

* removing unnecessary require-keys setting
2018-05-02 13:40:50 +01:00
Pete Harverson 049516a1e3
[ML] Fix merge conflicts (#18710) 2018-05-02 11:10:28 +01:00
Walter Rafelsberger 7e81eb2882
[ML] Omit mml success message when mml checks are not run. (#18659) (#18708)
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 11:37:19 +02:00
Walter Rafelsberger ad326be776
[ML] Fixes sync issue where a manipulated AppState wouldn't contain the original attribute anymore. (#18653) (#18705)
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 10:10:28 +02:00
Nathan Reese 2dfd8b750b
replace KuiCard with EuiCard in kibana home (#17771) (#18695)
* replace KuiCard with EuiCard in kibana home

* fix button styling

* update snapshots caused by new EUI version from rebase

* allow flex group to wrap
2018-05-01 17:59:12 -06:00
Jonathan Budzenski 87d0bcdcc5
Bump http-proxy-agent (#17840) 2018-05-01 15:59:51 -05:00
Tim Sullivan b4c226bbb7
[Stats] Add metrics collector and stats API (#17773) (#18677)
* [Stats] Add metrics collector and stats API

* uptime_ms in the process namespace

* make uptime_in_millis always equal process.uptime_ms

* fix api integration test

* fix api integration test better

* fix false positive with last change

* change object detection, add fallbacks to return undefined
2018-05-01 08:59:53 -07:00
Jonathan Budzenski 88eed1a0aa
[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:56:14 -05:00
Shaunak Kashyap b378717c86 [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:45 -07:00
James Gowdy 65c907834c
[6.x] [ML] Convert job select service to a provider (#18665) 2018-05-01 07:07:25 +01:00
James Gowdy 95b234842d
[6.x] [ML] Removing messagebar angular service (#18661) 2018-05-01 07:07:14 +01:00
lcawley 6df4f46742 [DOCS] Removes X-Pack plugin info 2018-04-30 14:00:49 -07:00
Shaunak Kashyap 84ae548b77 [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:57 -07:00
Thomas Neirynck 617db3cbe8
Add filter bar show/hide button (#17161) (#18660) 2018-04-30 15:17:51 -04:00
Shaunak Kashyap f0e30997fd [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:05:11 -07:00