Commit graph

27315 commits

Author SHA1 Message Date
Spencer fa543a3960
remove report_failed_tests fallback for matrix jobs (#48809) (#48846) 2019-10-22 06:31:43 -07:00
Peter Pisljar 1f84fc56ec
updates maps to use correct formatter without accessing aggConfigs (#48747) (#48886) 2019-10-22 14:50:24 +02:00
Dima Arnautov 495dacadc8
[ML] Update Anomaly Explorer and SMV on the "Refresh" button click (#48773) (#48869)
* [ML] update on Refresh button click

* [ML] reset cache on Refresh
2019-10-22 14:27:08 +02:00
Matthias Wilhelm a6a8911e0b
Kibana app migration: Migrate assets folder (#48732) (#48877)
* Remove unused assets

* Migrate assets to owner plugins

* Remove deleted file from precommit hook check
2019-10-22 13:25:25 +02:00
Dmitry Lemeshko 2d617efd18
Redesign dashboard tests (#48467) (#48838) 2019-10-22 12:23:59 +02:00
Felix Stürmer aafc9e0359
[7.x] [Logs UI] Provide index name pattern choice during ML jo… (#48848)
Backports the following commits to 7.x:
 - [Logs UI] Provide index name pattern choice during ML job setup (#48231)
2019-10-22 12:15:00 +02:00
Walter Rafelsberger a0606a1da5
[ML] Transform: Fix wizard width. (#48778) (#48871)
The Kibana management section pages default to a max-width of 1200px. The transform creation wizard had a max-width of 100% when it was part of the ML plugin. Because of the existing two-column layout, the new default width can be a bit narrow for table with a lot of columns.
This PR provides an override to replicate the previous full-page-width of the transforms creation wizard. We might revisit this for future versions to blend in more with the overall design of the Kibana management section.
2019-10-22 02:35:15 -07:00
Peter Pisljar 2c39ac3d22
input control vis removing vis.API dependencies (#48749) (#48862) 2019-10-22 10:33:52 +02:00
Walter Rafelsberger 53e0128ec9
[ML] Fix sidebar links. (#48662) (#48774)
Fixes missing links to the "What is Elasticsearch Machine Learning"-Page as well as an internal Kibana link to Transforms (Transforms were previously part of the ML main menu but are now moved to the Kibana management section so existing users might miss it otherwise).
2019-10-22 01:31:27 -07:00
Artyom Gospodarsky 8c8e8ac36b
Remove extra Field Format wrappers and move into data plugin (#47948) (#48787)
* Remove extra wrappers

* Move Field Format utils into data plugin

* Change i18n prefix

* Add a new alias to i18n

* Fix issues

* Make Numeral utils on their own

* Enhance Numeral interface

* Revert Percent changes

* Add common Numeral for Number, Bite, Percent

* Fix i18n for some utils

* Remove test duplicates

* Remove test duplicates

* Make a common import public path

* Reimport default color

* Change paths for server modules

* Change default color constant name
2019-10-22 11:31:05 +03:00
Alejandro Fernández f78467b572
Handle empty datafeedState (#48660) (#48765) 2019-10-22 09:35:24 +02:00
Dima Arnautov c2cf21594f
[ML] Fix partitioning field value update (#48655) (#48770) 2019-10-22 09:34:29 +02:00
Matt Bargar a415c2828d
Debounce filter value suggestion refresh (#48450) (#48698) 2019-10-22 00:21:17 -04:00
Nathan Reese ff8b1e98ed
[Maps] properly handle id collisions in Kibana index pattern (#48594) (#48830) 2019-10-21 19:45:06 -06:00
Felix Stürmer 8911cce67c
[7.x] [Logs + Metrics UI] Update constate and remove unused le… (#48828)
Backports the following commits to 7.x:
 - [Logs + Metrics UI] Update constate and remove unused legacy v… (#48752)
2019-10-22 01:23:22 +02:00
Nathan L Smith 3af960cd5b
[7.x] changed all 'lucene' to 'kuery' (#48789) (#48834) 2019-10-21 18:14:06 -05:00
Spencer 7919ed60da
[7.x] standardize notice-comment usage (#48677) (#48814)
* standardize notice-comment usage

* regenerate notice.txt
2019-10-21 15:55:00 -07:00
Melissa Alvarez 53181eef1b
Add right margin spacing to top nav refresh button (#48788) (#48803) 2019-10-21 17:23:03 -04:00
Tim Sullivan af952997c5
[Reporting] Replace Job Completion Notifier as NP Plugin (#47283) (#48703)
* [Reporting] Replace Job Completion Notifier as NP Plugin

* beautiful toasts

* unit test

* showNotifications returns observable

* fix kibana.json

* depends on links

* no prettier ignore

* Update content per feedback

* Remove unnecessary wrapper

* remove type annos and condense

* use an observable of the stop method

* rename the new platform plugin to match legacy

* fix i18n config

* additional plugin rename

* i18n strings prefix change

* try something with x-pack/.i18nrc.json

* remove a few more notifier phrasing from plugin definition
2019-10-21 12:25:47 -07:00
Brian Seeders 620ad37c71
Add ability to use ram disk for jenkins workspace (#47746) (#48666)
* Add ability to use ram disk for jenkins workspace

* Re-combine ciGroup agents

* Address some PR feedback / questions

* Add --preserve-root
2019-10-21 15:05:45 -04:00
Melori Arellano 063c2c6646 [DOCS] 7.4.1 Release Notes (#48676)
* [DOCS] 7.4.1 Release Notes

* [DOCS] Minor fixes
2019-10-21 11:41:05 -07:00
Spencer 569835dfad
[7.x] Update dependency backport to v4.7.3 (#48021) (#48055)
* Update dependency backport to v4.7.3 (#48021)

# Conflicts:
#	package.json
#	yarn.lock

* update yarn.lock
2019-10-21 11:28:30 -07:00
Nathan L Smith b203aa4652
[7.x] [APM] Exclude logs from error counts (#48702) (#48801)
* [APM] Exclude logs from error counts

Some agents send messages as errors that are actually logs and should not be included in error counts.

Only count items with critical, warning, or fatal levels.

Fixes #48100.
2019-10-21 13:26:44 -05:00
Nathan Reese 6aca1693db
[skip-ci][Maps] Add tooltip documenation (#48171) (#48805)
* [skip-ci][Maps] Add tooltip documenation

* mention field formatters

* gchap's updates
2019-10-21 12:10:51 -06:00
Steph Milovic 2b4a86e099
[SIEM] Network redux cleanup (#48469) (#48711) 2019-10-21 09:50:02 -07:00
Brandon Kobel 5dcdb03aac
No response compression when there is a referer (#47751) (#48768)
* Hacking it in there, this is obviously not where this belongs

* Moving implementation to a private method

* Adding unit tests, I don't like the way I had to write these

* Adding integration tests

* Test not relying on implementation details...

* No longer using .inject, thanks Mikhail!!!

* Adding comment explaining the long body

* Fixing nesting of describes for api integration tests
2019-10-21 09:41:13 -07:00
James Gowdy 6d4547a5c7
[ML] Fix detector modal combo box selection (#48741) (#48763)
* [ML] Fix detector modal combo box selection

* removing old work around
2019-10-21 17:02:52 +01:00
Spencer af178397a5
[7.x] remove pinned ES snapshot (#48656) 2019-10-21 09:02:11 -07:00
Daniil Suleiman 06d3b05e58
Add keys in NewVisHelp render (#48619) (#48757) 2019-10-21 17:45:13 +03:00
Daniil Suleiman 354973e98f
[Vis: Default editor] EUIficate Vega options tab (#47473) (#48637)
* EUIficate Vega options tab

* Update  list of dependencies

* Fix comments

* Adjust styles
2019-10-21 15:29:03 +03:00
James Gowdy d1b794f467
[ML] Filtering advanced detector's aggs and fields (#48651) (#48736)
* [ML] Filtering advanced detector's aggs and fields

* adding comments

* fix for EuiComboBox

* better words

* updating tests
2019-10-21 13:20:07 +01:00
Walter Rafelsberger b8fd96de2c
[ML] Fix analytics source index selection. (#48731) (#48738)
Fixes the empty dropdown when only one Kibana index pattern is available. Root cause of the issue: When no index is selected we passed in an selection item with an empty label. Internally EuiComboBox doesn't check if that item matches one of the available options, it just compares the length of selected and available options. So with one empty option selected and one index pattern available the dropdown would say You've selected all available options. This PR fixes it by checking if the current selection is actually part of the available index patterns. If it's an empty string for example, an empty array will be passed to the component instead of an empty with an item with an empty label.
2019-10-21 05:13:16 -07:00
Marco Vettorello 8123040e2d
Update dependency @elastic/charts to ^13.5.4 (#47939) (#48636) 2019-10-21 14:09:42 +02:00
WangQianliang 6564bb9474
[Code] diff page (#46714) (#48724)
* fix(code/frontend): enable diff page
2019-10-21 19:51:30 +08:00
Walter Rafelsberger 7a00cb9127
[ML] Transforms: Fix page layout (#48628) (#48729)
Fixes the overall page layout of the transform plugin to be in line with the rest of the Kibana Elasticsearch management section.
2019-10-21 03:49:09 -07:00
Pete Harverson d4f49d58c6
[ML] Fixes reselection of same Anomaly Explorer swimlane cell (#48626) (#48652) 2019-10-21 11:11:20 +01:00
Walter Rafelsberger e28ea6187d
[transform] Fix API endpoints. (#48648) (#48657)
Fixes deprecated API endpoints _data_frame/transforms/ with the _transform/ replacement.
2019-10-21 01:37:12 -07:00
Michail Yasonik 727c5dcd93
[7.x] main and nav landmark a11y fixes (#48381) (#48645)
* main and nav landmark a11y fixes
2019-10-21 12:59:42 +05:30
Melissa Alvarez 26fbb368c0
[ML] DF Regression: fix custom results_field and prediction_field_name not considered in eval config (#48599) (#48713)
* consider results_field and prediction_field_name in eval congif

* temp typescript fix for evaluatePanel not being used yet

* fix typescript error. clarify comment

* Disable create button if dependentVariable not set

* ensure advancedEditor json valid at every change

* update reducer test
2019-10-20 15:56:32 -04:00
patrykkopycinski 096451da15
[SIEM] Refactor IP details page (#47593) (#48718) 2019-10-19 23:50:39 +02:00
patrykkopycinski d1df1fba5e
[SIEM] Fix AnomaliesNetworkTable and AnomaliesHostTable items count (#48634) (#48716) 2019-10-19 23:50:20 +02:00
Spencer a62ad29334
[7.x] only use --progress if stdout is a TTY (#48476) (#48692) 2019-10-19 12:01:28 -07:00
Melissa Alvarez 8d73d7d9f1
[ML] Overview maxScore - fix 0 values being shown as failed loads (#48569) (#48694)
* ensure 0 maxScore is viewed correctly

* display score as 0 if value is 0

* complete Group interface for max_anomaly_score type

* use euiHealth for 0 value for maxScore
2019-10-18 21:30:44 -04:00
Rashmi Kulkarni 2ca19a2760
Management Saved object test (#48691) (#48705) 2019-10-18 17:49:17 -07:00
Frank Hassanabad 2e0f59891c
[SIEM][Detection Engine] Consolidates types and makes incremental signal schema changes (#48679) (#48701)
## Summary

Schema changes
---
* Changed `signal.severity` from `number` to `string`
* Change the `@timestamp` to be the time the signal was detected. To describe this more, when the alert begins processing the rule, it creates a time stamp from `now` and then populates each signal with that value of `now`. The next time the alert re-starts processes, it repeats the same thing.   
* Changed `signal.time_detected` to be `original_time` for any UI that wants to filter or use that.
* Added a new field to `signal` called `index` which contains the original index so that locating the originating signal is possible.
* Removed `error` as we are going to not push errors for each signal at this point. We can be clever and create "maintenance" signals that we generate with our ID's though if we want and reserve a block of rule id's if we do that.
* Updated the other ECS fields and ECS schema to be on 1.2 from [here](https://raw.githubusercontent.com/elastic/ecs/master/generated/elasticsearch/7/template.json
)
 

Code fixes
---
* Fixed more incorrect TypeScript type bugs.
* Fixed a bug where we were creating strings from arrays rather than just pushing the arrays directly in some cases.
* Removed the last any's from the detection engine folder by pushing the types down.
* Removed more touch points with the types where I could find them which should make changing the schema and endpoints faster next time.
* https://github.com/elastic/kibana/issues/47015

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~

~~- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~~

~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~

~~- [ ] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios~~

~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~

~~- [ ] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
2019-10-18 18:38:27 -06:00
Lukas Olson 1a86af2440
[7.x] Refactor, deangularize courier/search source (#48681)
* Backport 45235 to 7.x

* Fix search source tests
2019-10-18 15:49:19 -07:00
Eli Perelman b966e4dac2
Pass along request object to all HTTP interceptors (#47258) (#48697)
* Pass along request object to all HTTP interceptors

* Do not trigger response interceptors from request errors; make request readonly

* Update core API

* Fix failing test

* Add tests to ensure that interceptors accumulate request and response across calls

* Make request readonly for request error interception, simplify response interception return types

* Update docs from request and response interception API change

* Add missing InterceptedHttpResponse generated docs
2019-10-18 16:44:43 -05:00
spalger 07df4c9a9c disable flaky suite (#48048)
(cherry picked from commit ef3641123a)
2019-10-18 14:13:52 -07:00
Chris Cowan d2813cdb4d
[Infra UI] Convert terms aggregation to composite for field selection filtering (#47500) (#48664)
* Convert from large terms agg to multiple smaller composite

* Fixing bug in snapshot

* Reducing duplicate code for composite agg requests

* Adding filter for last 24 hours

* Creating a helper for the afterKey handlers
2019-10-18 13:18:22 -07:00
Spencer 4eb745faa5
[7.x] Update dependency hjson to v3.2.0 (#48023) (#48056) 2019-10-18 15:53:55 -04:00