Commit graph

21858 commits

Author SHA1 Message Date
Shaunak Kashyap
eace67bbf6
Removing old index patterns that are not expected in 7.0.0 onwards (#27915)
A monitoring cluster running Elasticsearch 7.0.0+ should never see `.monitoring-*-2-*` indices being created by the production cluster writing to it. So the Kibana Monitoring UI doesn't need to search against these indices any more.
2019-01-02 13:56:17 -08:00
Søren Louv-Jansen
617ecdd73e
[APM] Remove automatic camelcasing of API responses (#27879) 2019-01-02 22:04:16 +01:00
James Gowdy
6c47361e56
[ML] Fixing missing new ML job link in file datavisualizer (#27889) 2019-01-02 17:48:15 +00:00
Nathan Reese
b9b43cce9c
[Maps] support elasticsearch documents containing array of geometry values (#27846)
* [Maps] support elasticsearch documents containing array of geometry values

* clean up

* use reduce instead of map and flatten

* replace map and flatten with reduce in geoShapeToGeometry
2019-01-02 09:39:06 -07:00
Aaron Caldwell
db0a4a3238
If dynamic vector value is null, set color to transparent (#27821) 2019-01-02 08:34:22 -07:00
Matthew Kime
00e0c7e3e5 NOTICE (#27875) 2019-01-02 12:46:09 +01:00
Dimitris Athanasiou
b2f44622fe
[ML] Remove use of types in datafeeds (#27572)
This commit removes the use of types in datafeeds
and a few more places where it was possible.

Relates #26968
2019-01-02 09:34:38 +02:00
Nathan Reese
280fa97500
[Maps] trigger digest cycle on kbnUrl.change (#27812)
* [Maps] trigger digest cycle on kbnUrl.change

* remove extra space
2019-01-01 18:03:03 -07:00
Nathan Reese
1a8ae1505b
[Maps] refactor replaceLayerList to use addLayer and removeLayer (#27823) 2019-01-01 18:00:20 -07:00
Nathan Reese
fd8c36e372
fix console documenation (#27862) 2018-12-31 11:29:42 -07:00
Catherine Liu
30ab2e307e
Added checks to mousemove handler to not commit all mouse movements (#27818) 2018-12-28 13:55:27 -07:00
Spencer
3d96469ab1 [interpreter/loadPlugins] avoid deleting globals added by plugins (#27171)
Plugins loaded by the `@kbn/interpreter` can sometimes setup global values while loading, like the regeneratorRuntime for instance, but the current plugin loading code is deleting every global that was added during plugin load. This changes the logic to only cleanup the `canvas` global after loading the canvas plugins.

resolves https://github.com/elastic/kibana/issues/27162
2018-12-28 13:54:29 -07:00
Chris Earle
bbe6f2b414
Remove Unnecessary Delay (#25897)
This adds logic so that the code will wait until any previous
attempt to send telemetry causes follow-up attempts to wait until
it has completed sending (in the unlikely event that it takes
longer than a minute, we don't want to waste time / resources).
2018-12-28 14:39:17 -05:00
Søren Louv-Jansen
b034e9ceaf
Revert changes to Monitoring accidentally introduced in #27591 (#27830) 2018-12-28 12:21:09 +01:00
Søren Louv-Jansen
e520f121c5
[APM] StickyProperties should render components as values (#27814) 2018-12-28 12:20:31 +01:00
Sébastien Loix
93e4f12dbc
[CCR] Tell user when multiple auto-follow patterns try to replicate the same data (#27783)
* Fix small tipo

* [CCR] Add API to fetch ccr stats

* Add deserialization for recentAutoFollowErrors & autoFollowedClusters

* Add UI to display recent auto-follow pattern errors
2018-12-28 07:50:37 +01:00
Matt Apperson
58154bd24e
[BeatsCM] Errors should not be thrown on 404. result should be an empty state (#27809) 2018-12-27 16:26:01 -05:00
Robert Monfera
0113e5a713
[Grouping] improvements (#27581)
* chore: remove asynchronous element selection

* chore: remove duplication between duplicateElement and rawDuplicateElement

* chore: renamed rawDuplicateElement to insertNodes (pure rename, not yet set based)

* perf: bulk node insertion

* chore: removed unnecessary element id duplications

* fix: supply empty array if preexisting workbook had none
2018-12-27 19:56:48 +01:00
Søren Louv-Jansen
5a67e7e5ee
[APM] Remove DT beta label (#27808) 2018-12-27 18:12:51 +01:00
Sébastien Loix
96f25db3f9
[CCR] Put back integration test for remote cluster (#27778) 2018-12-27 09:25:57 +01:00
dave.snider@gmail.com
2a1d5ec351
fix display of maps list (#27796)
* fix display of maps list

* smap
2018-12-26 18:39:43 -08:00
Thomas Neirynck
a3b4f685c3
[Maps] use EMS v6.6 (#27560)
Maps plugin should use correct EMS version.
2018-12-26 17:29:31 -05:00
Nathan Reese
20ff1f64ca
EUI 6.0.1 (#27787)
* EUI 6.0.1

* update snapshots
2018-12-26 14:30:27 -07:00
Catherine Liu
1fd4de0b3b
Adds custom font size to list of font sizes options (#27785) 2018-12-26 14:04:58 -07:00
Robert Monfera
580cfccad8
fix: ignore obsolete selection of resize handlers when deleting after a resize (#27767) 2018-12-26 22:01:46 +01:00
Nathan Reese
72680f2fa0
[Maps] update layers on kibana global refresh interval (#27721)
* update layers on kibana global refresh interval

* store refresh in UI state

* clearer function names for refresh timer

* rename a bunch of things

* fix store_actions jest test

* add functional test to verify refresh config is loaded from saved object state

* add functional tests verifing layers re-fetch data on refresh timer
2018-12-26 10:14:43 -07:00
Gil Raphaelli
9f6bd394a8
[apm] update index pattern (#27699) 2018-12-22 08:31:10 -05:00
Leanid Shutau
f37e974263 Implement a build tool for locale files integration (#19826)
Implement a build tool for locale files verification
2018-12-22 13:06:40 +03:00
pavel06081991
5ed19ad2a2
translate settings filter lists (#27030)
translate settings filter lists
2018-12-22 11:23:33 +03:00
Aaron Caldwell
facad810ad
Remove KY dataset (#27708)
Resolves #27586. Removes the KY Dataset!
2018-12-21 13:31:15 -07:00
Matt Bargar
e5fa6e1f1c
Updates every app that was wrapping query in an array unnecessarily (#27636) 2018-12-21 12:36:34 -05:00
Larry Gregory
22ba11eb52
Prevents dynamic import/require statements (#27515)
## Summary

This PR enables the `import/no-dynamic-require` eslint rule, which requires that all require/import statements be statically defined.

This mitigates certain attack vectors, such as those which enabled [`ESA-2018-18`](https://www.elastic.co/community/security)/[`CVE-2018-17246`](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17246)
2018-12-21 11:15:20 -05:00
Nathan Reese
e62db25d62
[Maps] Allow saving gis-map saved objects that cross dateline (#27615)
* [Maps] allow saving map that crosses dateline

* remove camel case variable names for map extent - causing linting error
2018-12-21 09:08:29 -07:00
Chris Roberson
81511dd8ff
[Monitoring] Do not use the normalized derivative value (#27416)
* Use the non normalized value

* Update keys used in tests
2018-12-21 10:57:35 -05:00
Melissa Alvarez
9a31e00921
filedataviz newMlJob link only shown with permissions (#27612) 2018-12-21 08:57:19 -07:00
Leanid Shutau
3a223c15c5
[Tools] Report all i18n_check errors at once (#27394)
* [Tools] Report all i18n_check errors at once

* Fix error reporting in duplicates and namespaces checking

* Resolve comments

* Resolve comments
2018-12-21 18:31:45 +03:00
Walter Rafelsberger
a2ab3ba756
[ML] Only set the estimated model memory limit if certain conditions apply. (#27670)
When cloning a job, the multi metric wizard would re-estimate the model memory limit and overwrite a possible customized limit. This PR fixes it by only setting the estimated limit when certain conditions apply: It only gets set to the estimation if the current limit is either the default value or the value of the previous estimation. That's our best guess if the value hasn't been customized. The check doesn't get it if the user intentionally for whatever reason (re)set the value to either the default or pervious estimate.
2018-12-21 16:29:38 +01:00
James Gowdy
0923a469f1
[ML] Displaying JSON parsing errors when importing (#27577) 2018-12-21 14:54:01 +00:00
Aaron Caldwell
074a42749b
Confirm GIS app enabled and wait until license info enabled before passing license info through to maps app (#27607) 2018-12-21 07:22:25 -07:00
Søren Louv-Jansen
c7bd296ac4
[APM] Add missing trace_id to transaction histogram (#27591)
* [APM] Add missing trace_id to transaction histogram

* Handle 404 properly

* Fix `unhandled` issue

* Fix tests
2018-12-21 14:21:07 +01:00
Mike Côté
c72dd3f2d9
Fix es_archiver rebuild_all action to support nested directories (#27592)
* Fix es_archiver rebuild_all action to support nested directories

* Merge two functions into one
2018-12-21 08:11:39 -05:00
Mike Côté
10a01389a1
Convert stream util tests to jest (#27499)
* Convert concat_stream_providers to jest

* Convert concat_stream to jest

* Convert intersperse_stream to jest

* Convert json_parse_stream and json_stringify_stream to jest

* Convert list_stream to jest

* Convert map_stream to jest

* Convert promise_from_streams to jest

* Convert reduce_stream to jest

* Convert replace_stream to jest

* Convert split_stream to jest

* Use jest built in error handling
2018-12-21 08:06:30 -05:00
Marco Vettorello
98f3ac332d
Fix missing escape field name in history list directive. (#27112) 2018-12-21 11:17:15 +01:00
Walter Rafelsberger
7971b15cec
[ML] Fix audit messages. (#27575) 2018-12-21 10:59:52 +01:00
Leanid Shutau
973fad3b0a
[I18n] Add include option to i18n_check for 3rd party plugins (#26963)
* [I18n] Add include/exclude options to i18n_check tool for 3rd-party plugins

* Implement a better solution

* Update .i18nrc.json template

* Resolve comment

* Add conditional ejs expressions for i18n in plugin generator

* Hide package.json from Jest

* Complete template translation

* Resolve comments
2018-12-21 12:55:45 +03:00
Maryia Lapata
76ae4e6923
Update examples (#27657) 2018-12-21 12:39:42 +03:00
Walter Rafelsberger
8fb34fc752
[ML] Fixes watch creation for advanced job wizard. (#27594)
Fixes a regression where the advanced job creation wizard wouldn't trigger the watch creation flyout in the jobs list.

The advanced job creation wizard is still based on angularjs and triggered broadcast events to trigger the watch creation, but with the new React based jobs list the listeners for those events were gone.

This PR fixes it by passing on the jobs list wrapping angular scope to be able to subscribe to the events from the React based JobsListView component.

Passing on angular's scope down to React components should be considered a workaround so we don't have to refactor all affected code to use another event system. Once the advanced job wizard gets ported to React too this should be revisited.
2018-12-21 10:18:20 +01:00
Pete Harverson
9b4a5a07d8
[ML] Handle removal of backend ml.enabled node attribute (#27604) 2018-12-21 09:13:30 +00:00
Spencer
b807b09f04
[uiExports/styleSheetPaths] avoid string concatenation for paths (#27471) 2018-12-20 14:58:13 -08:00
Spencer
8f8c19d32d
[esArchiver/unload/kibana] delete all object but the default space (#27412)
* [esArchiver/unload/kibana] delete all object but the default space

* [esArchiver/unload/kibanaIndex] run delete_by_query through .kibana alias
2018-12-20 14:56:29 -08:00