Commit graph

1080 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
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
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
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
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
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
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
Walter Rafelsberger
7971b15cec
[ML] Fix audit messages. (#27575) 2018-12-21 10:59:52 +01: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
CJ Cenizal
66b3e48c6c
Refine warning copy in Remote Clusters. (#27620) 2018-12-20 12:22:28 -08:00
CJ Cenizal
d50434a3bb
Remove errant slash from Index Management detail panel. (#27605) 2018-12-20 12:21:20 -08:00
Clint Andrew Hall
7f3e632b11
[i18n][prereq] Refactor Elements to TypeScript (#26134)
This was approved before I rebased... merging to avoid more confusion.
2018-12-20 11:56:46 -06:00
Tal Levy
88aa1434b5
Add ILM privileges (#27461)
This commit adds the `manage_ilm`, `read_ilm` cluster
privileges, and the `manage_ilm` index privilege.

these were introduced into ES by:
https://github.com/elastic/elasticsearch/pull/36493
2018-12-20 08:53:46 -08:00
Melissa Alvarez
5e84fe1861
Add permissin callout to joblist datafeed preview (#27545) 2018-12-20 09:35:42 -07:00
Melissa Alvarez
a730d694d6
[ML] Fix import modal flex items overflowing in IE11 (#27529)
* Fix import modal for IE11

* update tests
2018-12-20 09:29:32 -07:00
Catherine Liu
317435da0b
Fixes page manager for workpads without style property (#27556)
* Added fallback value for workpadCSS prop

* Added fallback to value for workpad css in page manager
2018-12-20 09:25:14 -07:00
Chris Roberson
48384bb4c5
[Monitoring] Resolve some logstash UI regressions (#27530)
* Resolve some logstash UI regressions

* Re-run the setup function when attributes change
2018-12-20 10:17:36 -05:00
Søren Louv-Jansen
2e44885e82
[APM] Fix occurrence typo (#27571) 2018-12-20 13:12:44 +01:00
Pete Harverson
d03df07a68
[ML] Fix single metric job wizard y axis width for fractional values (#27521) 2018-12-20 10:13:36 +00:00
tibmt
16033357c2 translate Machine Learning datavisualizer (#25527)
* translate Machine Learning datavisualizer

* change some ids, change some structures and dont translate unnesesary scripts

* update i18nrc.json

* update datavisualizer_selector.js - remove eslint-disable

* add html_ prefix to values containing html

* use i18n angular service.

translate missed labels

* Fix syntax in i18n-values

* Replace FormatedMessage to intl.formatMessage for  betaBadgeLabel

* Fix issue
2018-12-20 12:53:44 +03:00
Walter Rafelsberger
5a7ab185f9
[ML] Adds a check if the current user can access the indexpattern required to clone a job. (#27496)
Adds a check if all index patterns necessary to clone a job are available for the current user. The check will only allow cloning of a job if the user has the right permissions and can still access the indexPattern the job was created for. An indexPattern could either have been deleted since the the job was created or the current user doesn't have the required permissions to access the indexPattern. The "Clone Job" action in the jobs list action menu will be greyed out and unavailable for that job.
2018-12-20 10:34:27 +01:00
Søren Louv-Jansen
998afde6e4
[APM] Link from error to transaction (#27227) 2018-12-20 00:47:13 +01:00