diff --git a/.backportrc.json b/.backportrc.json
index c9c60ae134de4..1183ed5e2bb4d 100644
--- a/.backportrc.json
+++ b/.backportrc.json
@@ -1,5 +1,5 @@
{
"upstream": "elastic/kibana",
- "branches": [{ "name": "6.x", "checked": true }, "6.5", "6.4", "6.3", "5.6"],
+ "branches": [{ "name": "6.x", "checked": true }, "6.5", "6.4", "6.3", "6.2", "6.1", "6.0", "5.6"],
"labels": ["backport"]
}
diff --git a/.i18nrc.json b/.i18nrc.json
index 2b15e16458650..5e7447cda0d1c 100644
--- a/.i18nrc.json
+++ b/.i18nrc.json
@@ -6,10 +6,14 @@
"kbnVislibVisTypes": "src/core_plugins/kbn_vislib_vis_types",
"markdownVis": "src/core_plugins/markdown_vis",
"metricVis": "src/core_plugins/metric_vis",
+ "tableVis": "src/core_plugins/table_vis",
+ "regionMap": "src/core_plugins/region_map",
"statusPage": "src/core_plugins/status_page",
+ "tileMap": "src/core_plugins/tile_map",
"tagCloud": "src/core_plugins/tagcloud",
"xpack.idxMgmt": "x-pack/plugins/index_management",
- "xpack.watcher": "x-pack/plugins/watcher"
+ "xpack.watcher": "x-pack/plugins/watcher",
+ "xpack.security": "x-pack/plugins/security"
},
"exclude": [
"src/ui/ui_render/bootstrap/app_bootstrap.js",
diff --git a/docs/apm/using-the-apm-ui.asciidoc b/docs/apm/using-the-apm-ui.asciidoc
index 0fc8008d4cf23..012f778c3a311 100644
--- a/docs/apm/using-the-apm-ui.asciidoc
+++ b/docs/apm/using-the-apm-ui.asciidoc
@@ -65,12 +65,7 @@ Watches are managed separately in the dedicated Watcher UI available in Advanced
image::apm/images/apm-errors-watcher-assistant.png[Example view of the Watcher assistant for errors in APM UI in Kibana]
[[machine-learning-integration]]
-=== Machine Learning integration (beta)
-
-[NOTE]
-============
-Please note this feature is in beta. We kindly ask that you https://discuss.elastic.co/c/apm[provide feedback] if you experience any issues.
-============
+=== Machine Learning integration
The Machine Learning integration will initiate a new job predefined to calculate anomaly scores on transaction response times. The response time graph will show the expected bounds and annotate the graph when the anomaly score is 75 or above.
@@ -80,12 +75,7 @@ image::apm/images/apm-ml-integration.png[Example view of anomaly scores on respo
Jobs can be created per transaction type and based on the average response time. You can manage jobs in the Machine Learning jobs management page. It might take some time for results to appear on the graph.
[[query-bar]]
-=== Query bar (beta)
-
-[NOTE]
-============
-Please note this feature is in beta. We kindly ask that you https://discuss.elastic.co/c/apm[provide feedback] if you experience any issues.
-============
+=== Query bar
The query bar is a powerful data query feature. Similar to the query bar in {kibana-ref}/discover.html[Discover] it enables you to pass advanced queries on your data to filter on particular pieces of information that you're interested in. It comes with a handy autocomplete that helps find the fields and even provides suggestions to the data they include. The query bar is available on Services, Transaction and Errors views, and any input will persist as you move between them.
diff --git a/packages/kbn-es/src/install/snapshot.js b/packages/kbn-es/src/install/snapshot.js
index d61f6e58ba20d..47edd8e3db6f9 100644
--- a/packages/kbn-es/src/install/snapshot.js
+++ b/packages/kbn-es/src/install/snapshot.js
@@ -89,7 +89,7 @@ function downloadFile(url, dest, log) {
}
if (!res.ok) {
- return reject(new Error(res.statusText));
+ return reject(new Error(`Unable to download elasticsearch snapshot: ${res.statusText}`));
}
const stream = fs.createWriteStream(downloadPath);
diff --git a/src/core_plugins/kibana/public/home/components/__snapshots__/add_data.test.js.snap b/src/core_plugins/kibana/public/home/components/__snapshots__/add_data.test.js.snap
index d2002077b15d5..220d5e472c99b 100644
--- a/src/core_plugins/kibana/public/home/components/__snapshots__/add_data.test.js.snap
+++ b/src/core_plugins/kibana/public/home/components/__snapshots__/add_data.test.js.snap
@@ -832,7 +832,7 @@ exports[`mlEnabled 1`] = `
type="button"
>
diff --git a/src/core_plugins/kibana/public/home/components/add_data.js b/src/core_plugins/kibana/public/home/components/add_data.js
index 8e598e4f26c3a..a45eda343cfca 100644
--- a/src/core_plugins/kibana/public/home/components/add_data.js
+++ b/src/core_plugins/kibana/public/home/components/add_data.js
@@ -229,7 +229,7 @@ const AddDataUi = ({ apmUiEnabled, isNewKibanaInstance, intl, mlEnabled }) => {
>
diff --git a/src/core_plugins/region_map/public/choropleth_layer.js b/src/core_plugins/region_map/public/choropleth_layer.js
index 04a998f60996c..bc3a21d39d2c9 100644
--- a/src/core_plugins/region_map/public/choropleth_layer.js
+++ b/src/core_plugins/region_map/public/choropleth_layer.js
@@ -21,6 +21,7 @@ import $ from 'jquery';
import L from 'leaflet';
import _ from 'lodash';
import d3 from 'd3';
+import { i18n } from '@kbn/i18n';
import { KibanaMapLayer } from 'ui/vis/map/kibana_map_layer';
import { truncatedColorMaps } from 'ui/vislib/components/color/truncated_colormaps';
import * as topojson from 'topojson-client';
@@ -123,7 +124,10 @@ export default class ChoroplethLayer extends KibanaMapLayer {
featureCollection = topojson.feature(data, features);//conversion to geojson
} else {
//should never happen
- throw new Error('Unrecognized format ' + formatType);
+ throw new Error(i18n.translate('regionMap.choroplethLayer.unrecognizedFormatErrorMessage', {
+ defaultMessage: 'Unrecognized format {formatType}',
+ values: { formatType },
+ }));
}
this._sortedFeatures = featureCollection.features.slice();
this._sortFeatures();
@@ -143,15 +147,23 @@ export default class ChoroplethLayer extends KibanaMapLayer {
let errorMessage;
if (e.status === 404) {
- errorMessage = `Server responding with '404' when attempting to fetch ${geojsonUrl}.
- Make sure the file exists at that location.`;
+ errorMessage = i18n.translate('regionMap.choroplethLayer.downloadingVectorData404ErrorMessage', {
+ defaultMessage: 'Server responding with \'404\' when attempting to fetch {geojsonUrl}. \
+Make sure the file exists at that location.',
+ values: { geojsonUrl },
+ });
} else {
- errorMessage = `Cannot download ${geojsonUrl} file. Please ensure the
-CORS configuration of the server permits requests from the Kibana application on this host.`;
+ errorMessage = i18n.translate('regionMap.choroplethLayer.downloadingVectorDataErrorMessage', {
+ defaultMessage: 'Cannot download {geojsonUrl} file. Please ensure the \
+CORS configuration of the server permits requests from the Kibana application on this host.',
+ values: { geojsonUrl },
+ });
}
toastNotifications.addDanger({
- title: 'Error downloading vector data',
+ title: i18n.translate('regionMap.choroplethLayer.downloadingVectorDataErrorMessageTitle', {
+ defaultMessage: 'Error downloading vector data',
+ }),
text: errorMessage,
});
diff --git a/src/core_plugins/region_map/public/region_map_vis.js b/src/core_plugins/region_map/public/region_map_vis.js
index fdf94ee4cc268..5d85272b8360d 100644
--- a/src/core_plugins/region_map/public/region_map_vis.js
+++ b/src/core_plugins/region_map/public/region_map_vis.js
@@ -27,7 +27,7 @@ import { mapToLayerWithId } from './util';
import { RegionMapsVisualizationProvider } from './region_map_visualization';
import { Status } from 'ui/vis/update_status';
-VisTypesRegistryProvider.register(function RegionMapProvider(Private, regionmapsConfig, config) {
+VisTypesRegistryProvider.register(function RegionMapProvider(Private, regionmapsConfig, config, i18n) {
const VisFactory = Private(VisFactoryProvider);
const RegionMapsVisualization = Private(RegionMapsVisualizationProvider);
@@ -37,9 +37,9 @@ VisTypesRegistryProvider.register(function RegionMapProvider(Private, regionmaps
return VisFactory.createBaseVisualization({
name: 'region_map',
- title: 'Region Map',
- description: 'Show metrics on a thematic map. Use one of the provided base maps, or add your own. ' +
- 'Darker colors represent higher values.',
+ title: i18n('regionMap.mapVis.regionMapTitle', { defaultMessage: 'Region Map' }),
+ description: i18n('regionMap.mapVis.regionMapDescription', { defaultMessage: 'Show metrics on a thematic map. Use one of the \
+provided base maps, or add your own. Darker colors represent higher values.' }),
category: CATEGORY.MAP,
icon: 'visMapRegion',
visConfig: {
@@ -65,16 +65,16 @@ VisTypesRegistryProvider.register(function RegionMapProvider(Private, regionmaps
collections: {
legendPositions: [{
value: 'bottomleft',
- text: 'bottom left',
+ text: i18n('regionMap.mapVis.regionMapEditorConfig.bottomLeftText', { defaultMessage: 'bottom left' }),
}, {
value: 'bottomright',
- text: 'bottom right',
+ text: i18n('regionMap.mapVis.regionMapEditorConfig.bottomRightText', { defaultMessage: 'bottom right' }),
}, {
value: 'topleft',
- text: 'top left',
+ text: i18n('regionMap.mapVis.regionMapEditorConfig.topLeftText', { defaultMessage: 'top left' }),
}, {
value: 'topright',
- text: 'top right',
+ text: i18n('regionMap.mapVis.regionMapEditorConfig.topRightText', { defaultMessage: 'top right' }),
}],
colorSchemas: Object.keys(truncatedColorMaps),
vectorLayers: vectorLayers
@@ -83,7 +83,7 @@ VisTypesRegistryProvider.register(function RegionMapProvider(Private, regionmaps
{
group: 'metrics',
name: 'metric',
- title: 'Value',
+ title: i18n('regionMap.mapVis.regionMapEditorConfig.schemas.metricTitle', { defaultMessage: 'Value' }),
min: 1,
max: 1,
aggFilter: ['count', 'avg', 'sum', 'min', 'max', 'cardinality', 'top_hits',
@@ -96,7 +96,7 @@ VisTypesRegistryProvider.register(function RegionMapProvider(Private, regionmaps
group: 'buckets',
name: 'segment',
icon: 'fa fa-globe',
- title: 'shape field',
+ title: i18n('regionMap.mapVis.regionMapEditorConfig.schemas.segmentTitle', { defaultMessage: 'shape field' }),
min: 1,
max: 1,
aggFilter: ['terms']
diff --git a/src/core_plugins/region_map/public/region_map_vis_params.html b/src/core_plugins/region_map/public/region_map_vis_params.html
index 024041134d4b2..58be7df7a739a 100644
--- a/src/core_plugins/region_map/public/region_map_vis_params.html
+++ b/src/core_plugins/region_map/public/region_map_vis_params.html
@@ -1,15 +1,20 @@