diff --git a/x-pack/plugins/monitoring/public/directives/main/index.html b/x-pack/plugins/monitoring/public/directives/main/index.html index 9ee1b9240a44..c15fe98fe370 100644 --- a/x-pack/plugins/monitoring/public/directives/main/index.html +++ b/x-pack/plugins/monitoring/public/directives/main/index.html @@ -64,7 +64,7 @@ i18n-default-message="Jobs" > { tabIconLabel: attributes.tabIconLabel, pipelineId: attributes.pipelineId, pipelineHash: attributes.pipelineHash, - pipelineVersions: get(scope, 'pageData.versions') + pipelineVersions: get(scope, 'pageData.versions'), + isCcrEnabled: attributes.isCcrEnabled }, clusterName: get(scope, 'cluster.cluster_name') }; diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.html b/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.html index 97c76e2c3ad7..84013078e0ef 100644 --- a/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.html +++ b/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.html @@ -1,6 +1,7 @@
diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.js b/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.js index 67ddb7eb06ba..35885f6c4211 100644 --- a/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.js +++ b/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.js @@ -47,6 +47,8 @@ uiRoutes.when('/elasticsearch/indices', { $injector }); + this.isCcrEnabled = $scope.cluster.isCcrEnabled; + // for binding const toggleShowSystemIndices = isChecked => { // flip the boolean diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.html b/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.html index 4879ca6acae2..95a483a59f20 100644 --- a/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.html +++ b/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.html @@ -1,6 +1,7 @@
diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.js b/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.js index 3a37b0fc3826..a9a32c043ef4 100644 --- a/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.js +++ b/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.js @@ -44,6 +44,8 @@ uiRoutes.when('/elasticsearch/nodes', { $injector }); + this.isCcrEnabled = $scope.cluster.isCcrEnabled; + $scope.$watch(() => this.data, data => { this.renderReact(data); }); diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/overview/controller.js b/x-pack/plugins/monitoring/public/views/elasticsearch/overview/controller.js index 01ef8c131974..c2b1a460dcc4 100644 --- a/x-pack/plugins/monitoring/public/views/elasticsearch/overview/controller.js +++ b/x-pack/plugins/monitoring/public/views/elasticsearch/overview/controller.js @@ -32,6 +32,7 @@ export class ElasticsearchOverviewController extends MonitoringViewBaseControlle $injector }); + this.isCcrEnabled = $scope.cluster.isCcrEnabled; this.showShardActivityHistory = false; this.toggleShardActivityHistory = () => { this.showShardActivityHistory = !this.showShardActivityHistory; diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/overview/index.html b/x-pack/plugins/monitoring/public/views/elasticsearch/overview/index.html index 20676680fbe5..127c48add5e8 100644 --- a/x-pack/plugins/monitoring/public/views/elasticsearch/overview/index.html +++ b/x-pack/plugins/monitoring/public/views/elasticsearch/overview/index.html @@ -1,6 +1,7 @@
diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__test__/__snapshots__/get_clusters_summary.test.js.snap b/x-pack/plugins/monitoring/server/lib/cluster/__test__/__snapshots__/get_clusters_summary.test.js.snap index dcfe460dbc43..d26dc3878495 100644 --- a/x-pack/plugins/monitoring/server/lib/cluster/__test__/__snapshots__/get_clusters_summary.test.js.snap +++ b/x-pack/plugins/monitoring/server/lib/cluster/__test__/__snapshots__/get_clusters_summary.test.js.snap @@ -74,6 +74,7 @@ Array [ "status": "green", }, }, + "isCcrEnabled": undefined, "isPrimary": true, "isSupported": true, "kibana": Object { @@ -176,6 +177,7 @@ Array [ "status": "green", }, }, + "isCcrEnabled": undefined, "isPrimary": false, "isSupported": true, "kibana": Object { @@ -283,6 +285,7 @@ Array [ "status": "green", }, }, + "isCcrEnabled": undefined, "isPrimary": false, "isSupported": true, "kibana": Object { @@ -385,6 +388,7 @@ Array [ "status": "green", }, }, + "isCcrEnabled": undefined, "isPrimary": false, "isSupported": true, "kibana": Object { diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.js b/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.js index 08d2c463afc1..2f4541264a48 100644 --- a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.js +++ b/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.js @@ -20,6 +20,7 @@ import { getClustersSummary } from './get_clusters_summary'; import { CLUSTER_ALERTS_SEARCH_SIZE, STANDALONE_CLUSTER_CLUSTER_UUID } from '../../../common/constants'; import { getApmsForClusters } from '../apm/get_apms_for_clusters'; import { i18n } from '@kbn/i18n'; +import { checkCcrEnabled } from '../elasticsearch/ccr'; import { standaloneClusterDefinition, hasStandaloneClusters } from '../standalone_clusters'; /** @@ -149,7 +150,10 @@ export async function getClustersFromRequest(req, indexPatterns, { clusterUuid, set(clusters[clusterIndex], 'apm', apm.stats); }); + // check ccr configuration + const isCcrEnabled = await checkCcrEnabled(req, esIndexPattern); + const config = req.server.config(); const kibanaUuid = config.get('server.uuid'); - return getClustersSummary(clusters, kibanaUuid); + return getClustersSummary(clusters, kibanaUuid, isCcrEnabled); } diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.js b/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.js index e150e6caf0b3..4f293aaabefb 100644 --- a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.js +++ b/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.js @@ -7,7 +7,7 @@ import { pick, omit, get } from 'lodash'; import { calculateOverallStatus } from '../calculate_overall_status'; -export function getClustersSummary(clusters, kibanaUuid) { +export function getClustersSummary(clusters, kibanaUuid, isCcrEnabled) { return clusters.map(cluster => { const { isSupported, @@ -78,6 +78,7 @@ export function getClustersSummary(clusters, kibanaUuid) { status, kibana && kibana.status || null ]), + isCcrEnabled }; }); } diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.js b/x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.js new file mode 100644 index 000000000000..3bef2398b892 --- /dev/null +++ b/x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.js @@ -0,0 +1,51 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License; + * you may not use this file except in compliance with the Elastic License. + */ + +import { get } from 'lodash'; +import moment from 'moment'; +import { checkParam } from '../error_missing_required'; +import { ElasticsearchMetric } from '../metrics'; +import { createQuery } from '../create_query'; + +export function handleResponse(response) { + const isEnabled = get(response, 'hits.hits[0]._source.stack_stats.xpack.ccr.enabled'); + const isAvailable = get(response, 'hits.hits[0]._source.stack_stats.xpack.ccr.available'); + return isEnabled && isAvailable; +} + +export async function checkCcrEnabled(req, esIndexPattern) { + checkParam(esIndexPattern, 'esIndexPattern in getNodes'); + + const start = moment.utc(req.payload.timeRange.min).valueOf(); + const end = moment.utc(req.payload.timeRange.max).valueOf(); + + const clusterUuid = req.params.clusterUuid; + const metricFields = ElasticsearchMetric.getMetricFields(); + + const params = { + index: esIndexPattern, + size: 1, + terminate_after: 1, + ignoreUnavailable: true, + body: { + query: createQuery({ + type: 'cluster_stats', + start, + end, + clusterUuid, + metric: metricFields + }), + sort: [ { timestamp: { order: 'desc' } } ] + }, + filterPath: [ + 'hits.hits._source.stack_stats.xpack.ccr', + ] + }; + + const { callWithRequest } = req.server.plugins.elasticsearch.getCluster('monitoring'); + const response = await callWithRequest(req, 'search', params); + return handleResponse(response); +} diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.js b/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.js index 22ad4f6e330c..5d0e654dec4b 100644 --- a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.js +++ b/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.js @@ -48,7 +48,7 @@ export function esIndicesRoute(server) { return { clusterStatus: getClusterStatus(clusterStats, shardStats), - indices + indices, }; } catch(err) { throw handleError(err, req); diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.js b/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.js index 217cc3d2262c..75f12cca9270 100644 --- a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.js +++ b/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.js @@ -43,7 +43,7 @@ export function esNodesRoute(server) { const clusterStatus = getClusterStatus(clusterStats, shardStats); const nodes = await getNodes(req, esIndexPattern, clusterStats, shardStats); - return { clusterStatus, nodes, }; + return { clusterStatus, nodes }; } catch(err) { throw handleError(err, req); } diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js b/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js index 068c36f5064e..2b9a8005dc39 100644 --- a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js +++ b/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js @@ -50,7 +50,7 @@ export function esOverviewRoute(server) { return { clusterStatus: getClusterStatus(clusterStats, shardStats), metrics, - shardActivity + shardActivity, }; } catch (err) { throw handleError(err, req); diff --git a/x-pack/test/api_integration/apis/monitoring/cluster/fixtures/multicluster.json b/x-pack/test/api_integration/apis/monitoring/cluster/fixtures/multicluster.json index 3bc2b22ba854..082fac28821e 100644 --- a/x-pack/test/api_integration/apis/monitoring/cluster/fixtures/multicluster.json +++ b/x-pack/test/api_integration/apis/monitoring/cluster/fixtures/multicluster.json @@ -110,6 +110,7 @@ "message": "Cluster [clustertwo] license type [basic] does not support Cluster Alerts" } }, + "isCcrEnabled": true, "isPrimary": false, "status": "green" }, @@ -225,6 +226,7 @@ "medium": 1, "high": 0 }, + "isCcrEnabled": true, "isPrimary": false, "status": "yellow" }, @@ -338,6 +340,7 @@ "enabled": true } }, + "isCcrEnabled": true, "isPrimary": false, "status": "green" } diff --git a/x-pack/test/api_integration/apis/monitoring/cluster/fixtures/overview.json b/x-pack/test/api_integration/apis/monitoring/cluster/fixtures/overview.json index 9dd889b331c8..129e1fa06b50 100644 --- a/x-pack/test/api_integration/apis/monitoring/cluster/fixtures/overview.json +++ b/x-pack/test/api_integration/apis/monitoring/cluster/fixtures/overview.json @@ -121,6 +121,7 @@ "timestamp": "2017-08-23T21:28:25.639Z" } ], + "isCcrEnabled": true, "isPrimary": true, "status": "green" } diff --git a/x-pack/test/api_integration/apis/monitoring/standalone_cluster/cluster.js b/x-pack/test/api_integration/apis/monitoring/standalone_cluster/cluster.js index a61dd461b1d9..ed753e8dea9a 100644 --- a/x-pack/test/api_integration/apis/monitoring/standalone_cluster/cluster.js +++ b/x-pack/test/api_integration/apis/monitoring/standalone_cluster/cluster.js @@ -14,8 +14,8 @@ export default function ({ getService }) { describe('cluster', () => { const archive = 'monitoring/standalone_cluster'; const timeRange = { - min: '2019-01-15T19:00:49.104Z', - max: '2019-01-15T19:59:49.104Z' + min: '2019-02-04T16:52:11.741Z', + max: '2019-02-04T17:52:11.741Z' }; before('load archive', () => { diff --git a/x-pack/test/api_integration/apis/monitoring/standalone_cluster/clusters.js b/x-pack/test/api_integration/apis/monitoring/standalone_cluster/clusters.js index 87d6763b7a6a..7489708d408a 100644 --- a/x-pack/test/api_integration/apis/monitoring/standalone_cluster/clusters.js +++ b/x-pack/test/api_integration/apis/monitoring/standalone_cluster/clusters.js @@ -14,8 +14,8 @@ export default function ({ getService }) { describe('clusters', () => { const archive = 'monitoring/standalone_cluster'; const timeRange = { - min: '2019-01-15T19:00:49.104Z', - max: '2019-01-15T19:59:49.104Z' + min: '2019-02-04T16:52:11.741Z', + max: '2019-02-04T17:52:11.741Z' }; before('load archive', () => { @@ -32,7 +32,6 @@ export default function ({ getService }) { .set('kbn-xsrf', 'xxx') .send({ timeRange }) .expect(200); - expect(body).to.eql(clustersFixture); }); }); diff --git a/x-pack/test/api_integration/apis/monitoring/standalone_cluster/fixtures/cluster.json b/x-pack/test/api_integration/apis/monitoring/standalone_cluster/fixtures/cluster.json index 6353e762d3c7..d500e1922a99 100644 --- a/x-pack/test/api_integration/apis/monitoring/standalone_cluster/fixtures/cluster.json +++ b/x-pack/test/api_integration/apis/monitoring/standalone_cluster/fixtures/cluster.json @@ -1 +1 @@ -[{"isSupported":true,"cluster_uuid":"__standalone_cluster__","license":{},"elasticsearch":{"cluster_stats":{"indices":{},"nodes":{"count":{},"jvm":{}}}},"logstash":{},"kibana":{"status":null,"requests_total":0,"concurrent_connections":0,"response_time_max":0,"memory_size":0,"memory_limit":0,"count":0},"beats":{"totalEvents":6963,"bytesSent":6283358,"beats":{"total":1,"types":[{"type":"Packetbeat","count":1}]}},"apm":{"totalEvents":0,"memRss":0,"memTotal":0,"apms":{"total":0}},"alerts":{"message":"Cluster Alerts are not displayed because the [production] cluster's license could not be determined."},"isPrimary":false}] +[{"isSupported":true,"cluster_uuid":"__standalone_cluster__","license":{},"elasticsearch":{"cluster_stats":{"indices":{},"nodes":{"count":{},"jvm":{}}}},"logstash":{},"kibana":{"status":null,"requests_total":0,"concurrent_connections":0,"response_time_max":0,"memory_size":0,"memory_limit":0,"count":0},"beats":{"totalEvents":348,"bytesSent":319913,"beats":{"total":1,"types":[{"type":"Packetbeat","count":1}]}},"apm":{"totalEvents":0,"memRss":0,"memTotal":0,"apms":{"total":0}},"alerts":{"message":"Cluster Alerts are not displayed because the [production] cluster's license could not be determined."},"isPrimary":false}] diff --git a/x-pack/test/api_integration/apis/monitoring/standalone_cluster/fixtures/clusters.json b/x-pack/test/api_integration/apis/monitoring/standalone_cluster/fixtures/clusters.json index 7ca35bad1040..68cfe51fbcb9 100644 --- a/x-pack/test/api_integration/apis/monitoring/standalone_cluster/fixtures/clusters.json +++ b/x-pack/test/api_integration/apis/monitoring/standalone_cluster/fixtures/clusters.json @@ -1 +1,181 @@ -[{"cluster_uuid":"BsqrVriJSu21Q-MkOr6vTA","cluster_name":"monitoring","version":"7.0.0","license":{"status":"active","type":"basic"},"elasticsearch":{"cluster_stats":{"indices":{"count":5,"docs":{"count":7814,"deleted":169},"shards":{"total":7,"primaries":7,"replication":0,"index":{"shards":{"min":1,"max":3,"avg":1.4},"primaries":{"min":1,"max":3,"avg":1.4},"replication":{"min":0,"max":0,"avg":0}}},"store":{"size_in_bytes":9230231}},"nodes":{"fs":{"total_in_bytes":499963174912,"free_in_bytes":83429146624,"available_in_bytes":70893522944},"count":{"total":1},"jvm":{"max_uptime_in_millis":190074,"mem":{"heap_used_in_bytes":114044640,"heap_max_in_bytes":1038876672}}},"status":"yellow"}},"logstash":{"node_count":0,"events_in_total":0,"events_out_total":0,"avg_memory":0,"avg_memory_used":0,"max_uptime":0,"pipeline_count":0,"queue_types":{"memory":0,"persisted":0},"versions":[]},"kibana":{"status":"green","requests_total":3,"concurrent_connections":2,"response_time_max":58,"memory_size":255426560,"memory_limit":8564343808,"count":1},"beats":{"totalEvents":0,"bytesSent":0,"beats":{"total":0,"types":[]}},"apm":{"totalEvents":0,"memRss":0,"memTotal":0,"apms":{"total":0}},"alerts":{"alertsMeta":{"enabled":true},"clusterMeta":{"enabled":false,"message":"Cluster [monitoring] license type [basic] does not support Cluster Alerts"}},"isPrimary":true,"isSupported": true,"status":"yellow"},{"isSupported":true,"cluster_uuid":"__standalone_cluster__","license":{},"elasticsearch":{"cluster_stats":{"indices":{},"nodes":{"count":{},"jvm":{}}}},"logstash":{"node_count":0,"events_in_total":0,"events_out_total":0,"avg_memory":0,"avg_memory_used":0,"max_uptime":0,"pipeline_count":0,"queue_types":{"memory":0,"persisted":0},"versions":[]},"kibana":{"status":null,"requests_total":0,"concurrent_connections":0,"response_time_max":0,"memory_size":0,"memory_limit":0,"count":0},"beats":{"totalEvents":6963,"bytesSent":6283358,"beats":{"total":1,"types":[{"type":"Packetbeat","count":1}]}},"apm":{"totalEvents":0,"memRss":0,"memTotal":0,"apms":{"total":0}},"alerts":{"alertsMeta":{"enabled":true},"clusterMeta":{"enabled":false,"message":"Cluster [] license type [undefined] does not support Cluster Alerts"}},"isPrimary":false}] +[{ + "isSupported": true, + "cluster_uuid": "lfhHkgqfTy2Vy3SvlPSvXg", + "cluster_name": "monitoring", + "version": "7.0.0", + "license": { + "status": "active", + "type": "basic" + }, + "elasticsearch": { + "cluster_stats": { + "indices": { + "count": 5, + "docs": { + "count": 522, + "deleted": 122 + }, + "shards": { + "total": 7, + "primaries": 7, + "replication": 0, + "index": { + "shards": { + "min": 1, + "max": 3, + "avg": 1.4 + }, + "primaries": { + "min": 1, + "max": 3, + "avg": 1.4 + }, + "replication": { + "min": 0, + "max": 0, + "avg": 0 + } + } + }, + "store": { + "size_in_bytes": 1245010 + } + }, + "nodes": { + "fs": { + "total_in_bytes": 499963174912, + "free_in_bytes": 107874111488, + "available_in_bytes": 101780008960 + }, + "count": { + "total": 1 + }, + "jvm": { + "max_uptime_in_millis": 190457, + "mem": { + "heap_used_in_bytes": 341382816, + "heap_max_in_bytes": 1038876672 + } + } + }, + "status": "yellow" + } + }, + "logstash": { + "node_count": 0, + "events_in_total": 0, + "events_out_total": 0, + "avg_memory": 0, + "avg_memory_used": 0, + "max_uptime": 0, + "pipeline_count": 0, + "queue_types": { + "memory": 0, + "persisted": 0 + }, + "versions": [] + }, + "kibana": { + "status": "green", + "requests_total": 42, + "concurrent_connections": 0, + "response_time_max": 864, + "memory_size": 127283200, + "memory_limit": 8564343808, + "count": 1 + }, + "beats": { + "totalEvents": 0, + "bytesSent": 0, + "beats": { + "total": 0, + "types": [] + } + }, + "apm": { + "totalEvents": 0, + "memRss": 0, + "memTotal": 0, + "apms": { + "total": 0 + } + }, + "alerts": { + "alertsMeta": { + "enabled": true + }, + "clusterMeta": { + "enabled": false, + "message": "Cluster [monitoring] license type [basic] does not support Cluster Alerts" + } + }, + "isPrimary": true, + "status": "yellow", + "isCcrEnabled": false +}, { + "isSupported": true, + "cluster_uuid": "__standalone_cluster__", + "license": {}, + "elasticsearch": { + "cluster_stats": { + "indices": {}, + "nodes": { + "count": {}, + "jvm": {} + } + } + }, + "logstash": { + "node_count": 0, + "events_in_total": 0, + "events_out_total": 0, + "avg_memory": 0, + "avg_memory_used": 0, + "max_uptime": 0, + "pipeline_count": 0, + "queue_types": { + "memory": 0, + "persisted": 0 + }, + "versions": [] + }, + "kibana": { + "status": null, + "requests_total": 0, + "concurrent_connections": 0, + "response_time_max": 0, + "memory_size": 0, + "memory_limit": 0, + "count": 0 + }, + "beats": { + "totalEvents": 348, + "bytesSent": 319913, + "beats": { + "total": 1, + "types": [{ + "type": "Packetbeat", + "count": 1 + }] + } + }, + "apm": { + "totalEvents": 0, + "memRss": 0, + "memTotal": 0, + "apms": { + "total": 0 + } + }, + "alerts": { + "alertsMeta": { + "enabled": true + }, + "clusterMeta": { + "enabled": false, + "message": "Cluster [] license type [undefined] does not support Cluster Alerts" + } + }, + "isPrimary": false, + "isCcrEnabled": false +}] diff --git a/x-pack/test/api_integration/apis/xpack_main/telemetry/fixtures/multicluster.json b/x-pack/test/api_integration/apis/xpack_main/telemetry/fixtures/multicluster.json index 6d9942292458..2e6a75ee7597 100644 --- a/x-pack/test/api_integration/apis/xpack_main/telemetry/fixtures/multicluster.json +++ b/x-pack/test/api_integration/apis/xpack_main/telemetry/fixtures/multicluster.json @@ -1,960 +1 @@ -[ - { - "cluster_name": "clustertwo", - "cluster_stats": { - "indices": { - "completion": { - "size_in_bytes": 0 - }, - "count": 1, - "docs": { - "count": 8, - "deleted": 0 - }, - "fielddata": { - "evictions": 0, - "memory_size_in_bytes": 0 - }, - "query_cache": { - "cache_count": 0, - "cache_size": 0, - "evictions": 0, - "hit_count": 0, - "memory_size_in_bytes": 0, - "miss_count": 0, - "total_count": 0 - }, - "segments": { - "count": 8, - "doc_values_memory_in_bytes": 680, - "file_sizes": {}, - "fixed_bit_set_memory_in_bytes": 0, - "index_writer_memory_in_bytes": 0, - "max_unsafe_auto_id_timestamp": -1, - "memory_in_bytes": 13852, - "norms_memory_in_bytes": 256, - "points_memory_in_bytes": 8, - "stored_fields_memory_in_bytes": 2496, - "term_vectors_memory_in_bytes": 0, - "terms_memory_in_bytes": 10412, - "version_map_memory_in_bytes": 0 - }, - "shards": { - "index": { - "primaries": { - "avg": 1, - "max": 1, - "min": 1 - }, - "replication": { - "avg": 0, - "max": 0, - "min": 0 - }, - "shards": { - "avg": 1, - "max": 1, - "min": 1 - } - }, - "primaries": 1, - "replication": 0, - "total": 1 - }, - "store": { - "size_in_bytes": 34095 - } - }, - "nodes": { - "count": { - "coordinating_only": 0, - "data": 1, - "ingest": 1, - "master": 1, - "total": 1 - }, - "fs": { - "available_in_bytes": 200403197952, - "free_in_bytes": 200665341952, - "total_in_bytes": 499065712640 - }, - "jvm": { - "max_uptime_in_millis": 701043, - "mem": { - "heap_max_in_bytes": 628555776, - "heap_used_in_bytes": 204299464 - }, - "threads": 40, - "versions": [ - { - "count": 1, - "version": "1.8.0_121", - "vm_name": "Java HotSpot(TM) 64-Bit Server VM", - "vm_vendor": "Oracle Corporation", - "vm_version": "25.121-b13" - } - ] - }, - "network_types": { - "http_types": { - "security4": 1 - }, - "transport_types": { - "security4": 1 - } - }, - "os": { - "allocated_processors": 1, - "available_processors": 4, - "mem": { - "free_in_bytes": 183799808, - "free_percent": 1, - "total_in_bytes": 17179869184, - "used_in_bytes": 16996069376, - "used_percent": 99 - }, - "names": [ - { - "count": 1, - "name": "Mac OS X" - } - ] - }, - "plugins": [ - { - "classname": "org.elasticsearch.xpack.XPackPlugin", - "description": "Elasticsearch Expanded Pack Plugin", - "has_native_controller": true, - "name": "x-pack", - "version": "7.0.0-alpha1" - } - ], - "process": { - "cpu": { - "percent": 0 - }, - "open_file_descriptors": { - "avg": 163, - "max": 163, - "min": 163 - } - }, - "versions": [ - "7.0.0-alpha1" - ] - }, - "status": "green", - "timestamp": 1502835059952 - }, - "cluster_uuid": "6d-9tDFTRe-qT5GoBytdlQ", - "license": { - "expiry_date": "2030-08-29T23:59:59.999Z", - "expiry_date_in_millis": 1914278399999, - "issue_date": "2014-09-29T00:00:00.000Z", - "status": "active", - "type": "basic" - }, - "stack_stats": { - "xpack": { - "graph": { - "available": false, - "enabled": true - }, - "logstash": { - "available": false, - "enabled": true - }, - "ml": { - "available": false, - "datafeeds": { - "_all": { - "count": 0 - } - }, - "enabled": true, - "jobs": { - "_all": { - "count": 0, - "detectors": { - "avg": 0, - "max": 0, - "min": 0, - "total": 0 - }, - "model_size": { - "avg": 0, - "max": 0, - "min": 0, - "total": 0 - } - } - } - }, - "monitoring": { - "available": true, - "enabled": true, - "enabled_exporters": { - "http": 1 - } - }, - "security": { - "anonymous": { - "enabled": false - }, - "audit": { - "enabled": false, - "outputs": [ - "logfile" - ] - }, - "available": false, - "enabled": true, - "ipfilter": { - "http": false, - "transport": false - }, - "realms": { - "active_directory": { - "available": false, - "enabled": false - }, - "file": { - "available": false, - "enabled": false - }, - "ldap": { - "available": false, - "enabled": false - }, - "native": { - "available": false, - "enabled": false - }, - "pki": { - "available": false, - "enabled": false - } - }, - "role_mapping": { - "native": { - "enabled": 0, - "size": 0 - } - }, - "roles": { - "file": { - "dls": false, - "fls": false, - "size": 0 - }, - "native": { - "dls": false, - "fls": false, - "size": 1 - } - }, - "ssl": { - "http": { - "enabled": false - } - } - }, - "watcher": { - "available": false, - "enabled": true, - "execution": { - "actions": { - "_all": { - "total": 0, - "total_time_in_ms": 0 - } - } - } - } - } - }, - "timestamp": "2017-08-15T22:10:59.952Z", - "version": "7.0.0-alpha1" - }, - { - "cluster_name": "monitoring-one", - "cluster_stats": { - "indices": { - "completion": { - "size_in_bytes": 0 - }, - "count": 8, - "docs": { - "count": 3997, - "deleted": 69 - }, - "fielddata": { - "evictions": 0, - "memory_size_in_bytes": 2104 - }, - "query_cache": { - "cache_count": 0, - "cache_size": 0, - "evictions": 0, - "hit_count": 0, - "memory_size_in_bytes": 0, - "miss_count": 0, - "total_count": 0 - }, - "segments": { - "count": 36, - "doc_values_memory_in_bytes": 91352, - "file_sizes": {}, - "fixed_bit_set_memory_in_bytes": 992, - "index_writer_memory_in_bytes": 205347, - "max_unsafe_auto_id_timestamp": -1, - "memory_in_bytes": 278961, - "norms_memory_in_bytes": 6784, - "points_memory_in_bytes": 3250, - "stored_fields_memory_in_bytes": 11544, - "term_vectors_memory_in_bytes": 0, - "terms_memory_in_bytes": 166031, - "version_map_memory_in_bytes": 26362 - }, - "shards": { - "index": { - "primaries": { - "avg": 1, - "max": 1, - "min": 1 - }, - "replication": { - "avg": 0, - "max": 0, - "min": 0 - }, - "shards": { - "avg": 1, - "max": 1, - "min": 1 - } - }, - "primaries": 8, - "replication": 0, - "total": 8 - }, - "store": { - "size_in_bytes": 2647163 - } - }, - "nodes": { - "count": { - "coordinating_only": 0, - "data": 1, - "ingest": 1, - "master": 1, - "total": 1 - }, - "fs": { - "available_in_bytes": 200403648512, - "free_in_bytes": 200665792512, - "total_in_bytes": 499065712640 - }, - "jvm": { - "max_uptime_in_millis": 761002, - "mem": { - "heap_max_in_bytes": 628555776, - "heap_used_in_bytes": 133041176 - }, - "threads": 42, - "versions": [ - { - "count": 1, - "version": "1.8.0_121", - "vm_name": "Java HotSpot(TM) 64-Bit Server VM", - "vm_vendor": "Oracle Corporation", - "vm_version": "25.121-b13" - } - ] - }, - "network_types": { - "http_types": { - "security4": 1 - }, - "transport_types": { - "security4": 1 - } - }, - "os": { - "allocated_processors": 1, - "available_processors": 4, - "mem": { - "free_in_bytes": 86732800, - "free_percent": 1, - "total_in_bytes": 17179869184, - "used_in_bytes": 17093136384, - "used_percent": 99 - }, - "names": [ - { - "count": 1, - "name": "Mac OS X" - } - ] - }, - "plugins": [ - { - "classname": "org.elasticsearch.xpack.XPackPlugin", - "description": "Elasticsearch Expanded Pack Plugin", - "has_native_controller": true, - "name": "x-pack", - "version": "7.0.0-alpha1" - } - ], - "process": { - "cpu": { - "percent": 2 - }, - "open_file_descriptors": { - "avg": 178, - "max": 178, - "min": 178 - } - }, - "versions": [ - "7.0.0-alpha1" - ] - }, - "status": "yellow", - "timestamp": 1502835054610 - }, - "cluster_uuid": "lOF8kofiS_2DX58o9mXJ1Q", - "license": { - "expiry_date": "2017-09-14T21:58:28.997Z", - "expiry_date_in_millis": 1505426308997, - "issue_date": "2017-08-15T21:58:28.997Z", - "status": "active", - "type": "trial" - }, - "stack_stats": { - "xpack": { - "graph": { - "available": true, - "enabled": true - }, - "logstash": { - "available": true, - "enabled": true - }, - "ml": { - "available": true, - "datafeeds": { - "_all": { - "count": 0 - } - }, - "enabled": true, - "jobs": { - "_all": { - "count": 0, - "detectors": { - "avg": 0, - "max": 0, - "min": 0, - "total": 0 - }, - "model_size": { - "avg": 0, - "max": 0, - "min": 0, - "total": 0 - } - } - } - }, - "monitoring": { - "available": true, - "enabled": true, - "enabled_exporters": { - "local": 1 - } - }, - "security": { - "anonymous": { - "enabled": false - }, - "audit": { - "enabled": false, - "outputs": [ - "logfile" - ] - }, - "available": true, - "enabled": true, - "ipfilter": { - "http": false, - "transport": false - }, - "realms": { - "active_directory": { - "available": true, - "enabled": false - }, - "file": { - "available": true, - "enabled": true, - "name": [ - "default_file" - ], - "order": [ - 2147483647 - ], - "size": [ - 0 - ] - }, - "ldap": { - "available": true, - "enabled": false - }, - "native": { - "available": true, - "enabled": true, - "name": [ - "default_native" - ], - "order": [ - 2147483647 - ], - "size": [ - 2 - ] - }, - "pki": { - "available": true, - "enabled": false - } - }, - "role_mapping": { - "native": { - "enabled": 0, - "size": 0 - } - }, - "roles": { - "file": { - "dls": false, - "fls": false, - "size": 0 - }, - "native": { - "dls": false, - "fls": false, - "size": 1 - } - }, - "ssl": { - "http": { - "enabled": false - } - } - }, - "watcher": { - "available": true, - "enabled": true, - "execution": { - "actions": { - "_all": { - "total": 110, - "total_time_in_ms": 2245 - }, - "email": { - "total": 14, - "total_time_in_ms": 3 - }, - "index": { - "total": 14, - "total_time_in_ms": 158 - } - } - } - } - } - }, - "timestamp": "2017-08-15T22:10:54.610Z", - "version": "7.0.0-alpha1" - }, - { - "cluster_name": "clusterone", - "cluster_stats": { - "indices": { - "completion": { - "size_in_bytes": 0 - }, - "count": 5, - "docs": { - "count": 150, - "deleted": 0 - }, - "fielddata": { - "evictions": 0, - "memory_size_in_bytes": 0 - }, - "query_cache": { - "cache_count": 0, - "cache_size": 0, - "evictions": 0, - "hit_count": 0, - "memory_size_in_bytes": 0, - "miss_count": 0, - "total_count": 0 - }, - "segments": { - "count": 76, - "doc_values_memory_in_bytes": 88064, - "file_sizes": {}, - "fixed_bit_set_memory_in_bytes": 0, - "index_writer_memory_in_bytes": 7006184, - "max_unsafe_auto_id_timestamp": 1502834982386, - "memory_in_bytes": 1907922, - "norms_memory_in_bytes": 197184, - "points_memory_in_bytes": 3818, - "stored_fields_memory_in_bytes": 23744, - "term_vectors_memory_in_bytes": 0, - "terms_memory_in_bytes": 1595112, - "version_map_memory_in_bytes": 260 - }, - "shards": { - "index": { - "primaries": { - "avg": 2.6, - "max": 5, - "min": 1 - }, - "replication": { - "avg": 1, - "max": 1, - "min": 1 - }, - "shards": { - "avg": 5.2, - "max": 10, - "min": 2 - } - }, - "primaries": 13, - "replication": 1, - "total": 26 - }, - "store": { - "size_in_bytes": 4838464 - } - }, - "nodes": { - "count": { - "coordinating_only": 0, - "data": 2, - "ingest": 2, - "master": 2, - "total": 2 - }, - "fs": { - "available_in_bytes": 200404209664, - "free_in_bytes": 200666353664, - "total_in_bytes": 499065712640 - }, - "jvm": { - "max_uptime_in_millis": 741786, - "mem": { - "heap_max_in_bytes": 1257111552, - "heap_used_in_bytes": 465621856 - }, - "threads": 92, - "versions": [ - { - "count": 2, - "version": "1.8.0_121", - "vm_name": "Java HotSpot(TM) 64-Bit Server VM", - "vm_vendor": "Oracle Corporation", - "vm_version": "25.121-b13" - } - ] - }, - "network_types": { - "http_types": { - "security4": 2 - }, - "transport_types": { - "security4": 2 - } - }, - "os": { - "allocated_processors": 2, - "available_processors": 8, - "mem": { - "free_in_bytes": 332099584, - "free_percent": 1, - "total_in_bytes": 34359738368, - "used_in_bytes": 34027638784, - "used_percent": 99 - }, - "names": [ - { - "count": 2, - "name": "Mac OS X" - } - ] - }, - "plugins": [ - { - "classname": "org.elasticsearch.xpack.XPackPlugin", - "description": "Elasticsearch Expanded Pack Plugin", - "has_native_controller": true, - "name": "x-pack", - "version": "7.0.0-alpha1" - } - ], - "process": { - "cpu": { - "percent": 2 - }, - "open_file_descriptors": { - "avg": 227, - "max": 237, - "min": 218 - } - }, - "versions": [ - "7.0.0-alpha1" - ] - }, - "status": "green", - "timestamp": 1502835052641 - }, - "cluster_uuid": "TkHOX_-1TzWwbROwQJU5IA", - "license": { - "expiry_date": "2017-09-14T21:58:47.135Z", - "expiry_date_in_millis": 1505426327135, - "issue_date": "2017-08-15T21:58:47.135Z", - "status": "active", - "type": "trial" - }, - "stack_stats": { - "kibana": { - "count": 1, - "dashboard": { - "total": 0 - }, - "index_pattern": { - "total": 0 - }, - "graph_workspace": { - "total": 0 - }, - "timelion_sheet": { - "total": 0 - }, - "indices": 1, - "os": { - "distros": [], - "distroReleases": [], - "platforms": [], - "platformReleases": [] - }, - "search": { - "total": 0 - }, - "versions": [ - { - "count": 1, - "version": "7.0.0-alpha1" - } - ], - "visualization": { - "total": 0 - }, - "plugins": {} - }, - "logstash": { - "count": 1, - "os": { - "distros": [], - "distroReleases": [], - "platforms": [], - "platformReleases": [] - }, - "versions": [ - { - "count": 1, - "version": "7.0.0-alpha1" - } - ] - }, - "xpack": { - "graph": { - "available": true, - "enabled": true, - "graph_workspace": { - "total": 0 - } - }, - "logstash": { - "available": true, - "enabled": true - }, - "ml": { - "available": true, - "datafeeds": { - "_all": { - "count": 0 - } - }, - "enabled": true, - "jobs": { - "_all": { - "count": 3, - "detectors": { - "avg": 1, - "max": 1, - "min": 1, - "total": 3 - }, - "model_size": { - "avg": 0, - "max": 0, - "min": 0, - "total": 0 - } - }, - "closed": { - "count": 2, - "detectors": { - "avg": 1, - "max": 1, - "min": 1, - "total": 2 - }, - "model_size": { - "avg": 0, - "max": 0, - "min": 0, - "total": 0 - } - }, - "opened": { - "count": 1, - "detectors": { - "avg": 1, - "max": 1, - "min": 1, - "total": 1 - }, - "model_size": { - "avg": 0, - "max": 0, - "min": 0, - "total": 0 - } - } - } - }, - "monitoring": { - "available": true, - "enabled": true, - "enabled_exporters": { - "http": 1 - } - }, - "security": { - "anonymous": { - "enabled": false - }, - "audit": { - "enabled": false, - "outputs": [ - "logfile" - ] - }, - "available": true, - "enabled": true, - "ipfilter": { - "http": false, - "transport": false - }, - "realms": { - "active_directory": { - "available": true, - "enabled": false - }, - "file": { - "available": true, - "enabled": true, - "name": [ - "default_file" - ], - "order": [ - 2147483647 - ], - "size": [ - 0 - ] - }, - "ldap": { - "available": true, - "enabled": false - }, - "native": { - "available": true, - "enabled": true, - "name": [ - "default_native" - ], - "order": [ - 2147483647 - ], - "size": [ - 1 - ] - }, - "pki": { - "available": true, - "enabled": false - } - }, - "role_mapping": { - "native": { - "enabled": 0, - "size": 0 - } - }, - "roles": { - "file": { - "dls": false, - "fls": false, - "size": 0 - }, - "native": { - "dls": false, - "fls": false, - "size": 1 - } - }, - "ssl": { - "http": { - "enabled": false - } - } - }, - "watcher": { - "available": true, - "enabled": true, - "execution": { - "actions": { - "_all": { - "total": 0, - "total_time_in_ms": 0 - } - } - } - } - } - }, - "timestamp": "2017-08-15T22:10:52.642Z", - "version": "7.0.0-alpha1" - } -] +[{"cluster_uuid":"6d-9tDFTRe-qT5GoBytdlQ","timestamp":"2017-08-15T22:10:59.952Z","cluster_name":"clustertwo","version":"7.0.0-alpha1","license":{"status":"active","type":"basic","issue_date":"2014-09-29T00:00:00.000Z","expiry_date":"2030-08-29T23:59:59.999Z","expiry_date_in_millis":1914278399999},"cluster_stats":{"timestamp":1502835059952,"status":"green","indices":{"count":1,"shards":{"total":1,"primaries":1,"replication":0,"index":{"shards":{"min":1,"max":1,"avg":1},"primaries":{"min":1,"max":1,"avg":1},"replication":{"min":0,"max":0,"avg":0}}},"docs":{"count":8,"deleted":0},"store":{"size_in_bytes":34095},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":8,"memory_in_bytes":13852,"terms_memory_in_bytes":10412,"stored_fields_memory_in_bytes":2496,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":256,"points_memory_in_bytes":8,"doc_values_memory_in_bytes":680,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}}},"nodes":{"count":{"total":1,"data":1,"coordinating_only":0,"master":1,"ingest":1},"versions":["7.0.0-alpha1"],"os":{"available_processors":4,"allocated_processors":1,"names":[{"name":"Mac OS X","count":1}],"mem":{"total_in_bytes":17179869184,"free_in_bytes":183799808,"used_in_bytes":16996069376,"free_percent":1,"used_percent":99}},"process":{"cpu":{"percent":0},"open_file_descriptors":{"min":163,"max":163,"avg":163}},"jvm":{"max_uptime_in_millis":701043,"versions":[{"vm_version":"25.121-b13","count":1,"vm_vendor":"Oracle Corporation","version":"1.8.0_121","vm_name":"Java HotSpot(TM) 64-Bit Server VM"}],"mem":{"heap_used_in_bytes":204299464,"heap_max_in_bytes":628555776},"threads":40},"fs":{"total_in_bytes":499065712640,"free_in_bytes":200665341952,"available_in_bytes":200403197952},"plugins":[{"classname":"org.elasticsearch.xpack.XPackPlugin","name":"x-pack","description":"Elasticsearch Expanded Pack Plugin","version":"7.0.0-alpha1","has_native_controller":true}],"network_types":{"transport_types":{"security4":1},"http_types":{"security4":1}}}},"stack_stats":{"xpack":{"security":{"available":false,"enabled":true,"realms":{"file":{"available":false,"enabled":false},"ldap":{"available":false,"enabled":false},"native":{"available":false,"enabled":false},"active_directory":{"available":false,"enabled":false},"pki":{"available":false,"enabled":false}},"roles":{"native":{"size":1,"dls":false,"fls":false},"file":{"size":0,"dls":false,"fls":false}},"role_mapping":{"native":{"size":0,"enabled":0}},"ssl":{"http":{"enabled":false}},"audit":{"outputs":["logfile"],"enabled":false},"ipfilter":{"http":false,"transport":false},"anonymous":{"enabled":false}},"monitoring":{"available":true,"enabled":true,"enabled_exporters":{"http":1}},"watcher":{"available":false,"enabled":true,"execution":{"actions":{"_all":{"total":0,"total_time_in_ms":0}}}},"graph":{"available":false,"enabled":true},"ml":{"available":false,"enabled":true,"jobs":{"_all":{"count":0,"detectors":{"total":0,"min":0,"avg":0,"max":0},"model_size":{"total":0,"min":0,"avg":0,"max":0}}},"datafeeds":{"_all":{"count":0}}},"logstash":{"available":false,"enabled":true},"ccr":{"auto_follow_patterns_count":0,"available":true,"follower_indices_count":0,"enabled":true}}}},{"cluster_uuid":"lOF8kofiS_2DX58o9mXJ1Q","timestamp":"2017-08-15T22:10:54.610Z","cluster_name":"monitoring-one","version":"7.0.0-alpha1","license":{"status":"active","type":"trial","issue_date":"2017-08-15T21:58:28.997Z","expiry_date":"2017-09-14T21:58:28.997Z","expiry_date_in_millis":1505426308997},"cluster_stats":{"timestamp":1502835054610,"status":"yellow","indices":{"count":8,"shards":{"total":8,"primaries":8,"replication":0,"index":{"shards":{"min":1,"max":1,"avg":1},"primaries":{"min":1,"max":1,"avg":1},"replication":{"min":0,"max":0,"avg":0}}},"docs":{"count":3997,"deleted":69},"store":{"size_in_bytes":2647163},"fielddata":{"memory_size_in_bytes":2104,"evictions":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":36,"memory_in_bytes":278961,"terms_memory_in_bytes":166031,"stored_fields_memory_in_bytes":11544,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":6784,"points_memory_in_bytes":3250,"doc_values_memory_in_bytes":91352,"index_writer_memory_in_bytes":205347,"version_map_memory_in_bytes":26362,"fixed_bit_set_memory_in_bytes":992,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}}},"nodes":{"count":{"total":1,"data":1,"coordinating_only":0,"master":1,"ingest":1},"versions":["7.0.0-alpha1"],"os":{"available_processors":4,"allocated_processors":1,"names":[{"name":"Mac OS X","count":1}],"mem":{"total_in_bytes":17179869184,"free_in_bytes":86732800,"used_in_bytes":17093136384,"free_percent":1,"used_percent":99}},"process":{"cpu":{"percent":2},"open_file_descriptors":{"min":178,"max":178,"avg":178}},"jvm":{"max_uptime_in_millis":761002,"versions":[{"vm_version":"25.121-b13","count":1,"vm_vendor":"Oracle Corporation","version":"1.8.0_121","vm_name":"Java HotSpot(TM) 64-Bit Server VM"}],"mem":{"heap_used_in_bytes":133041176,"heap_max_in_bytes":628555776},"threads":42},"fs":{"total_in_bytes":499065712640,"free_in_bytes":200665792512,"available_in_bytes":200403648512},"plugins":[{"classname":"org.elasticsearch.xpack.XPackPlugin","name":"x-pack","description":"Elasticsearch Expanded Pack Plugin","version":"7.0.0-alpha1","has_native_controller":true}],"network_types":{"transport_types":{"security4":1},"http_types":{"security4":1}}}},"stack_stats":{"xpack":{"security":{"available":true,"enabled":true,"realms":{"file":{"name":["default_file"],"available":true,"size":[0],"enabled":true,"order":[2147483647]},"ldap":{"available":true,"enabled":false},"native":{"name":["default_native"],"available":true,"size":[2],"enabled":true,"order":[2147483647]},"active_directory":{"available":true,"enabled":false},"pki":{"available":true,"enabled":false}},"roles":{"native":{"size":1,"dls":false,"fls":false},"file":{"size":0,"dls":false,"fls":false}},"role_mapping":{"native":{"size":0,"enabled":0}},"ssl":{"http":{"enabled":false}},"audit":{"outputs":["logfile"],"enabled":false},"ipfilter":{"http":false,"transport":false},"anonymous":{"enabled":false}},"monitoring":{"available":true,"enabled":true,"enabled_exporters":{"local":1}},"watcher":{"available":true,"enabled":true,"execution":{"actions":{"index":{"total":14,"total_time_in_ms":158},"_all":{"total":110,"total_time_in_ms":2245},"email":{"total":14,"total_time_in_ms":3}}}},"graph":{"available":true,"enabled":true},"ml":{"available":true,"enabled":true,"jobs":{"_all":{"count":0,"detectors":{"total":0,"min":0,"avg":0,"max":0},"model_size":{"total":0,"min":0,"avg":0,"max":0}}},"datafeeds":{"_all":{"count":0}}},"logstash":{"available":true,"enabled":true},"ccr":{"auto_follow_patterns_count":0,"available":true,"follower_indices_count":0,"enabled":true}}}},{"cluster_uuid":"TkHOX_-1TzWwbROwQJU5IA","timestamp":"2017-08-15T22:10:52.642Z","cluster_name":"clusterone","version":"7.0.0-alpha1","license":{"status":"active","type":"trial","issue_date":"2017-08-15T21:58:47.135Z","expiry_date":"2017-09-14T21:58:47.135Z","expiry_date_in_millis":1505426327135},"cluster_stats":{"timestamp":1502835052641,"status":"green","indices":{"count":5,"shards":{"total":26,"primaries":13,"replication":1,"index":{"shards":{"min":2,"max":10,"avg":5.2},"primaries":{"min":1,"max":5,"avg":2.6},"replication":{"min":1,"max":1,"avg":1}}},"docs":{"count":150,"deleted":0},"store":{"size_in_bytes":4838464},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":76,"memory_in_bytes":1907922,"terms_memory_in_bytes":1595112,"stored_fields_memory_in_bytes":23744,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":197184,"points_memory_in_bytes":3818,"doc_values_memory_in_bytes":88064,"index_writer_memory_in_bytes":7006184,"version_map_memory_in_bytes":260,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":1502834982386,"file_sizes":{}}},"nodes":{"count":{"total":2,"data":2,"coordinating_only":0,"master":2,"ingest":2},"versions":["7.0.0-alpha1"],"os":{"available_processors":8,"allocated_processors":2,"names":[{"name":"Mac OS X","count":2}],"mem":{"total_in_bytes":34359738368,"free_in_bytes":332099584,"used_in_bytes":34027638784,"free_percent":1,"used_percent":99}},"process":{"cpu":{"percent":2},"open_file_descriptors":{"min":218,"max":237,"avg":227}},"jvm":{"max_uptime_in_millis":741786,"versions":[{"vm_version":"25.121-b13","count":2,"vm_vendor":"Oracle Corporation","version":"1.8.0_121","vm_name":"Java HotSpot(TM) 64-Bit Server VM"}],"mem":{"heap_used_in_bytes":465621856,"heap_max_in_bytes":1257111552},"threads":92},"fs":{"total_in_bytes":499065712640,"free_in_bytes":200666353664,"available_in_bytes":200404209664},"plugins":[{"classname":"org.elasticsearch.xpack.XPackPlugin","name":"x-pack","description":"Elasticsearch Expanded Pack Plugin","version":"7.0.0-alpha1","has_native_controller":true}],"network_types":{"transport_types":{"security4":2},"http_types":{"security4":2}}}},"stack_stats":{"xpack":{"security":{"available":true,"enabled":true,"realms":{"file":{"name":["default_file"],"available":true,"size":[0],"enabled":true,"order":[2147483647]},"ldap":{"available":true,"enabled":false},"native":{"name":["default_native"],"available":true,"size":[1],"enabled":true,"order":[2147483647]},"active_directory":{"available":true,"enabled":false},"pki":{"available":true,"enabled":false}},"roles":{"native":{"size":1,"dls":false,"fls":false},"file":{"size":0,"dls":false,"fls":false}},"role_mapping":{"native":{"size":0,"enabled":0}},"ssl":{"http":{"enabled":false}},"audit":{"outputs":["logfile"],"enabled":false},"ipfilter":{"http":false,"transport":false},"anonymous":{"enabled":false}},"monitoring":{"available":true,"enabled":true,"enabled_exporters":{"http":1}},"watcher":{"available":true,"enabled":true,"execution":{"actions":{"_all":{"total":0,"total_time_in_ms":0}}}},"graph":{"available":true,"enabled":true,"graph_workspace":{"total":0}},"ml":{"available":true,"enabled":true,"jobs":{"_all":{"count":3,"detectors":{"total":3,"min":1,"avg":1,"max":1},"model_size":{"total":0,"min":0,"avg":0,"max":0}},"opened":{"count":1,"detectors":{"total":1,"min":1,"avg":1,"max":1},"model_size":{"total":0,"min":0,"avg":0,"max":0}},"closed":{"count":2,"detectors":{"total":2,"min":1,"avg":1,"max":1},"model_size":{"total":0,"min":0,"avg":0,"max":0}}},"datafeeds":{"_all":{"count":0}}},"logstash":{"available":true,"enabled":true},"ccr":{"auto_follow_patterns_count":0,"available":true,"follower_indices_count":0,"enabled":true}},"kibana":{"count":1,"versions":[{"version":"7.0.0-alpha1","count":1}],"os":{"platforms":[],"platformReleases":[],"distros":[],"distroReleases":[]},"dashboard":{"total":0},"visualization":{"total":0},"search":{"total":0},"index_pattern":{"total":0},"graph_workspace":{"total":0},"timelion_sheet":{"total":0},"indices":1,"plugins":{}},"logstash":{"count":1,"versions":[{"version":"7.0.0-alpha1","count":1}],"os":{"platforms":[],"platformReleases":[],"distros":[],"distroReleases":[]}}}}] diff --git a/x-pack/test/functional/es_archives/monitoring/multicluster/data.json.gz b/x-pack/test/functional/es_archives/monitoring/multicluster/data.json.gz index ac55cf355156..995d93da01e6 100644 Binary files a/x-pack/test/functional/es_archives/monitoring/multicluster/data.json.gz and b/x-pack/test/functional/es_archives/monitoring/multicluster/data.json.gz differ diff --git a/x-pack/test/functional/es_archives/monitoring/multicluster/mappings.json b/x-pack/test/functional/es_archives/monitoring/multicluster/mappings.json deleted file mode 100644 index 2160a69f8922..000000000000 --- a/x-pack/test/functional/es_archives/monitoring/multicluster/mappings.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "type": "index", - "value": { - "index": ".monitoring-logstash-6-2017.08.15", - "settings": { - "index": { - "codec": "best_compression", - "number_of_shards": "1", - "format": "6", - "number_of_replicas": "1" - } - } - } -} - -{ - "type": "index", - "value": { - "index": ".monitoring-alerts-6", - "settings": { - "index": { - "codec": "best_compression", - "number_of_shards": "1", - "format": "6", - "number_of_replicas": "1" - } - } - } -} - -{ - "type": "index", - "value": { - "index": ".monitoring-es-6-2017.08.15", - "settings": { - "index": { - "codec": "best_compression", - "number_of_shards": "1", - "format": "6", - "number_of_replicas": "1" - } - } - } -} - -{ - "type": "index", - "value": { - "index": ".monitoring-kibana-6-2017.08.15", - "settings": { - "index": { - "codec": "best_compression", - "number_of_shards": "1", - "format": "6", - "number_of_replicas": "1" - } - } - } -} \ No newline at end of file diff --git a/x-pack/test/functional/es_archives/monitoring/singlecluster-green-gold/data.json.gz b/x-pack/test/functional/es_archives/monitoring/singlecluster-green-gold/data.json.gz index 8183f7b49042..ccb7e56dd7aa 100644 Binary files a/x-pack/test/functional/es_archives/monitoring/singlecluster-green-gold/data.json.gz and b/x-pack/test/functional/es_archives/monitoring/singlecluster-green-gold/data.json.gz differ diff --git a/x-pack/test/functional/es_archives/monitoring/standalone_cluster/data.json.gz b/x-pack/test/functional/es_archives/monitoring/standalone_cluster/data.json.gz index a86782861ca7..535208d27e44 100644 Binary files a/x-pack/test/functional/es_archives/monitoring/standalone_cluster/data.json.gz and b/x-pack/test/functional/es_archives/monitoring/standalone_cluster/data.json.gz differ diff --git a/x-pack/test/functional/es_archives/monitoring/standalone_cluster/mappings.json b/x-pack/test/functional/es_archives/monitoring/standalone_cluster/mappings.json deleted file mode 100644 index 9cad624e3d9a..000000000000 --- a/x-pack/test/functional/es_archives/monitoring/standalone_cluster/mappings.json +++ /dev/null @@ -1,2039 +0,0 @@ -{ - "type": "index", - "value": { - "index": ".monitoring-beats-6-2019.01.15", - "settings": { - "index": { - "codec": "best_compression", - "number_of_shards": "1", - "auto_expand_replicas": "0-1", - "format": "6", - "number_of_replicas": "0" - } - }, - "mappings": { - "doc": { - "dynamic": "false", - "properties": { - "beats_state": { - "properties": { - "beat": { - "properties": { - "host": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "type": { - "type": "keyword" - }, - "uuid": { - "type": "keyword" - }, - "version": { - "type": "keyword" - } - } - }, - "state": { - "properties": { - "beat": { - "properties": { - "name": { - "type": "keyword" - } - } - }, - "host": { - "properties": { - "architecture": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "os": { - "properties": { - "build": { - "type": "keyword" - }, - "family": { - "type": "keyword" - }, - "platform": { - "type": "keyword" - }, - "version": { - "type": "keyword" - } - } - } - } - }, - "input": { - "properties": { - "count": { - "type": "long" - }, - "names": { - "type": "keyword" - } - } - }, - "module": { - "properties": { - "count": { - "type": "long" - }, - "names": { - "type": "keyword" - } - } - }, - "output": { - "properties": { - "name": { - "type": "keyword" - } - } - }, - "service": { - "properties": { - "id": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "version": { - "type": "keyword" - } - } - } - } - }, - "timestamp": { - "type": "date", - "format": "date_time" - } - } - }, - "beats_stats": { - "properties": { - "beat": { - "properties": { - "host": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "type": { - "type": "keyword" - }, - "uuid": { - "type": "keyword" - }, - "version": { - "type": "keyword" - } - } - }, - "metrics": { - "properties": { - "apm-server": { - "properties": { - "decoder": { - "properties": { - "deflate": { - "properties": { - "content-length": { - "type": "long" - }, - "count": { - "type": "long" - } - } - }, - "gzip": { - "properties": { - "content-length": { - "type": "long" - }, - "count": { - "type": "long" - } - } - }, - "missing-content-length": { - "properties": { - "count": { - "type": "long" - } - } - }, - "reader": { - "properties": { - "count": { - "type": "long" - }, - "size": { - "type": "long" - } - } - }, - "uncompressed": { - "properties": { - "content-length": { - "type": "long" - }, - "count": { - "type": "long" - } - } - } - } - }, - "processor": { - "properties": { - "error": { - "properties": { - "decoding": { - "properties": { - "count": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - }, - "errors": { - "type": "long" - }, - "frames": { - "type": "long" - }, - "stacktraces": { - "type": "long" - }, - "transformations": { - "type": "long" - }, - "validation": { - "properties": { - "count": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - } - } - }, - "metric": { - "properties": { - "decoding": { - "properties": { - "count": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - }, - "transformations": { - "type": "long" - }, - "validation": { - "properties": { - "count": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - } - } - }, - "sourcemap": { - "properties": { - "counter": { - "type": "long" - }, - "decoding": { - "properties": { - "count": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - }, - "validation": { - "properties": { - "count": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - } - } - }, - "span": { - "properties": { - "transformations": { - "type": "long" - } - } - }, - "transaction": { - "properties": { - "decoding": { - "properties": { - "count": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - }, - "frames": { - "type": "long" - }, - "spans": { - "type": "long" - }, - "stacktraces": { - "type": "long" - }, - "transactions": { - "type": "long" - }, - "transformations": { - "type": "long" - }, - "validation": { - "properties": { - "count": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - } - } - } - } - }, - "server": { - "properties": { - "concurrent": { - "properties": { - "wait": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "request": { - "properties": { - "count": { - "type": "long" - } - } - }, - "response": { - "properties": { - "count": { - "type": "long" - }, - "errors": { - "properties": { - "closed": { - "type": "long" - }, - "concurrency": { - "type": "long" - }, - "count": { - "type": "long" - }, - "decode": { - "type": "long" - }, - "forbidden": { - "type": "long" - }, - "internal": { - "type": "long" - }, - "method": { - "type": "long" - }, - "queue": { - "type": "long" - }, - "ratelimit": { - "type": "long" - }, - "toolarge": { - "type": "long" - }, - "unauthorized": { - "type": "long" - }, - "validate": { - "type": "long" - } - } - }, - "valid": { - "properties": { - "accepted": { - "type": "long" - }, - "count": { - "type": "long" - }, - "ok": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "beat": { - "properties": { - "cpu": { - "properties": { - "system": { - "properties": { - "ticks": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "total": { - "properties": { - "ticks": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "value": { - "type": "long" - } - } - }, - "user": { - "properties": { - "ticks": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "handles": { - "properties": { - "limit": { - "properties": { - "hard": { - "type": "long" - }, - "soft": { - "type": "long" - } - } - }, - "open": { - "type": "long" - } - } - }, - "info": { - "properties": { - "ephemeral_id": { - "type": "keyword" - }, - "uptime": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "memstats": { - "properties": { - "gc_next": { - "type": "long" - }, - "memory_alloc": { - "type": "long" - }, - "memory_total": { - "type": "long" - }, - "rss": { - "type": "long" - } - } - } - } - }, - "libbeat": { - "properties": { - "config": { - "properties": { - "module": { - "properties": { - "running": { - "type": "long" - }, - "starts": { - "type": "long" - }, - "stops": { - "type": "long" - } - } - }, - "reloads": { - "type": "long" - } - } - }, - "output": { - "properties": { - "events": { - "properties": { - "acked": { - "type": "long" - }, - "active": { - "type": "long" - }, - "batches": { - "type": "long" - }, - "dropped": { - "type": "long" - }, - "duplicates": { - "type": "long" - }, - "failed": { - "type": "long" - }, - "toomany": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "read": { - "properties": { - "bytes": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - }, - "type": { - "type": "keyword" - }, - "write": { - "properties": { - "bytes": { - "type": "long" - }, - "errors": { - "type": "long" - } - } - } - } - }, - "pipeline": { - "properties": { - "clients": { - "type": "long" - }, - "events": { - "properties": { - "active": { - "type": "long" - }, - "dropped": { - "type": "long" - }, - "failed": { - "type": "long" - }, - "filtered": { - "type": "long" - }, - "published": { - "type": "long" - }, - "retry": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "acked": { - "type": "long" - } - } - } - } - } - } - }, - "system": { - "properties": { - "load": { - "properties": { - "1": { - "type": "double" - }, - "5": { - "type": "double" - }, - "15": { - "type": "double" - }, - "norm": { - "properties": { - "1": { - "type": "double" - }, - "5": { - "type": "double" - }, - "15": { - "type": "double" - } - } - } - } - } - } - } - } - }, - "tags": { - "type": "keyword" - }, - "timestamp": { - "type": "date", - "format": "date_time" - } - } - }, - "cluster_uuid": { - "type": "keyword" - }, - "interval_ms": { - "type": "long" - }, - "source_node": { - "properties": { - "host": { - "type": "keyword" - }, - "ip": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "transport_address": { - "type": "keyword" - }, - "uuid": { - "type": "keyword" - } - } - }, - "timestamp": { - "type": "date", - "format": "date_time" - }, - "type": { - "type": "keyword" - } - } - } - }, - "aliases": {} - } -} - -{ - "type": "index", - "value": { - "index": ".monitoring-kibana-6-2019.01.15", - "settings": { - "index": { - "codec": "best_compression", - "number_of_shards": "1", - "auto_expand_replicas": "0-1", - "format": "6", - "number_of_replicas": "0" - } - }, - "mappings": { - "doc": { - "dynamic": "false", - "properties": { - "cluster_uuid": { - "type": "keyword" - }, - "interval_ms": { - "type": "long" - }, - "kibana_stats": { - "properties": { - "cloud": { - "properties": { - "id": { - "type": "keyword" - }, - "metadata": { - "type": "object" - }, - "name": { - "type": "keyword" - }, - "region": { - "type": "keyword" - }, - "vm_type": { - "type": "keyword" - }, - "zone": { - "type": "keyword" - } - } - }, - "concurrent_connections": { - "type": "long" - }, - "kibana": { - "properties": { - "host": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "snapshot": { - "type": "boolean" - }, - "status": { - "type": "keyword" - }, - "statuses": { - "properties": { - "name": { - "type": "keyword" - }, - "state": { - "type": "keyword" - } - } - }, - "transport_address": { - "type": "keyword" - }, - "uuid": { - "type": "keyword" - }, - "version": { - "type": "keyword" - } - } - }, - "os": { - "properties": { - "load": { - "properties": { - "15m": { - "type": "half_float" - }, - "1m": { - "type": "half_float" - }, - "5m": { - "type": "half_float" - } - } - }, - "memory": { - "properties": { - "free_in_bytes": { - "type": "float" - }, - "total_in_bytes": { - "type": "float" - }, - "used_in_bytes": { - "type": "float" - } - } - }, - "uptime_in_millis": { - "type": "long" - } - } - }, - "process": { - "properties": { - "event_loop_delay": { - "type": "float" - }, - "memory": { - "properties": { - "heap": { - "properties": { - "size_limit": { - "type": "float" - }, - "total_in_bytes": { - "type": "float" - }, - "used_in_bytes": { - "type": "float" - } - } - }, - "resident_set_size_in_bytes": { - "type": "float" - } - } - }, - "uptime_in_millis": { - "type": "long" - } - } - }, - "requests": { - "properties": { - "disconnects": { - "type": "long" - }, - "status_codes": { - "type": "object" - }, - "total": { - "type": "long" - } - } - }, - "response_times": { - "properties": { - "average": { - "type": "float" - }, - "max": { - "type": "float" - } - } - }, - "sockets": { - "properties": { - "http": { - "properties": { - "total": { - "type": "long" - } - } - }, - "https": { - "properties": { - "total": { - "type": "long" - } - } - } - } - }, - "timestamp": { - "type": "date" - } - } - }, - "source_node": { - "properties": { - "host": { - "type": "keyword" - }, - "ip": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "timestamp": { - "type": "date", - "format": "date_time" - }, - "transport_address": { - "type": "keyword" - }, - "uuid": { - "type": "keyword" - } - } - }, - "timestamp": { - "type": "date", - "format": "date_time" - }, - "type": { - "type": "keyword" - } - } - } - }, - "aliases": {} - } -} - -{ - "type": "index", - "value": { - "index": ".monitoring-es-6-2019.01.15", - "settings": { - "index": { - "codec": "best_compression", - "number_of_shards": "1", - "auto_expand_replicas": "0-1", - "format": "6", - "number_of_replicas": "0" - } - }, - "mappings": { - "doc": { - "dynamic": "false", - "date_detection": false, - "properties": { - "ccr_auto_follow_stats": { - "properties": { - "auto_followed_clusters": { - "type": "nested", - "properties": { - "cluster_name": { - "type": "keyword" - }, - "last_seen_metadata_version": { - "type": "long" - }, - "time_since_last_check_millis": { - "type": "long" - } - } - }, - "number_of_failed_follow_indices": { - "type": "long" - }, - "number_of_failed_remote_cluster_state_requests": { - "type": "long" - }, - "number_of_successful_follow_indices": { - "type": "long" - }, - "recent_auto_follow_errors": { - "type": "nested", - "properties": { - "auto_follow_exception": { - "properties": { - "reason": { - "type": "text" - }, - "type": { - "type": "keyword" - } - } - }, - "leader_index": { - "type": "keyword" - }, - "timestamp": { - "type": "long" - } - } - } - } - }, - "ccr_stats": { - "properties": { - "bytes_read": { - "type": "long" - }, - "failed_read_requests": { - "type": "long" - }, - "failed_write_requests": { - "type": "long" - }, - "follower_global_checkpoint": { - "type": "long" - }, - "follower_index": { - "type": "keyword" - }, - "follower_mapping_version": { - "type": "long" - }, - "follower_max_seq_no": { - "type": "long" - }, - "follower_settings_version": { - "type": "long" - }, - "last_requested_seq_no": { - "type": "long" - }, - "leader_global_checkpoint": { - "type": "long" - }, - "leader_index": { - "type": "keyword" - }, - "leader_max_seq_no": { - "type": "long" - }, - "operations_read": { - "type": "long" - }, - "operations_written": { - "type": "long" - }, - "outstanding_read_requests": { - "type": "long" - }, - "outstanding_write_requests": { - "type": "long" - }, - "read_exceptions": { - "type": "nested", - "properties": { - "exception": { - "properties": { - "reason": { - "type": "text" - }, - "type": { - "type": "keyword" - } - } - }, - "from_seq_no": { - "type": "long" - }, - "retries": { - "type": "integer" - } - } - }, - "remote_cluster": { - "type": "keyword" - }, - "shard_id": { - "type": "integer" - }, - "successful_read_requests": { - "type": "long" - }, - "successful_write_requests": { - "type": "long" - }, - "time_since_last_read_millis": { - "type": "long" - }, - "total_read_remote_exec_time_millis": { - "type": "long" - }, - "total_read_time_millis": { - "type": "long" - }, - "total_write_time_millis": { - "type": "long" - }, - "write_buffer_operation_count": { - "type": "long" - }, - "write_buffer_size_in_bytes": { - "type": "long" - } - } - }, - "cluster_state": { - "properties": { - "master_node": { - "type": "keyword" - }, - "nodes": { - "type": "object" - }, - "nodes_hash": { - "type": "integer" - }, - "shards": { - "type": "object" - }, - "state_uuid": { - "type": "keyword" - }, - "status": { - "type": "keyword" - }, - "version": { - "type": "long" - } - } - }, - "cluster_stats": { - "properties": { - "indices": { - "type": "object" - }, - "nodes": { - "type": "object" - } - } - }, - "cluster_uuid": { - "type": "keyword" - }, - "index_recovery": { - "type": "object" - }, - "index_stats": { - "properties": { - "index": { - "type": "keyword" - }, - "primaries": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long" - } - } - }, - "fielddata": { - "properties": { - "evictions": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "type": "long" - }, - "index_total": { - "type": "long" - }, - "throttle_time_in_millis": { - "type": "long" - } - } - }, - "merges": { - "properties": { - "total_size_in_bytes": { - "type": "long" - } - } - }, - "query_cache": { - "properties": { - "evictions": { - "type": "long" - }, - "hit_count": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - }, - "miss_count": { - "type": "long" - } - } - }, - "refresh": { - "properties": { - "total_time_in_millis": { - "type": "long" - } - } - }, - "request_cache": { - "properties": { - "evictions": { - "type": "long" - }, - "hit_count": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - }, - "miss_count": { - "type": "long" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "type": "long" - }, - "query_total": { - "type": "long" - } - } - }, - "segments": { - "properties": { - "count": { - "type": "integer" - }, - "doc_values_memory_in_bytes": { - "type": "long" - }, - "fixed_bit_set_memory_in_bytes": { - "type": "long" - }, - "index_writer_memory_in_bytes": { - "type": "long" - }, - "memory_in_bytes": { - "type": "long" - }, - "norms_memory_in_bytes": { - "type": "long" - }, - "points_memory_in_bytes": { - "type": "long" - }, - "stored_fields_memory_in_bytes": { - "type": "long" - }, - "term_vectors_memory_in_bytes": { - "type": "long" - }, - "terms_memory_in_bytes": { - "type": "long" - }, - "version_map_memory_in_bytes": { - "type": "long" - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long" - } - } - } - } - }, - "total": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long" - } - } - }, - "fielddata": { - "properties": { - "evictions": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "type": "long" - }, - "index_total": { - "type": "long" - }, - "throttle_time_in_millis": { - "type": "long" - } - } - }, - "merges": { - "properties": { - "total_size_in_bytes": { - "type": "long" - } - } - }, - "query_cache": { - "properties": { - "evictions": { - "type": "long" - }, - "hit_count": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - }, - "miss_count": { - "type": "long" - } - } - }, - "refresh": { - "properties": { - "total_time_in_millis": { - "type": "long" - } - } - }, - "request_cache": { - "properties": { - "evictions": { - "type": "long" - }, - "hit_count": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - }, - "miss_count": { - "type": "long" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "type": "long" - }, - "query_total": { - "type": "long" - } - } - }, - "segments": { - "properties": { - "count": { - "type": "integer" - }, - "doc_values_memory_in_bytes": { - "type": "long" - }, - "fixed_bit_set_memory_in_bytes": { - "type": "long" - }, - "index_writer_memory_in_bytes": { - "type": "long" - }, - "memory_in_bytes": { - "type": "long" - }, - "norms_memory_in_bytes": { - "type": "long" - }, - "points_memory_in_bytes": { - "type": "long" - }, - "stored_fields_memory_in_bytes": { - "type": "long" - }, - "term_vectors_memory_in_bytes": { - "type": "long" - }, - "terms_memory_in_bytes": { - "type": "long" - }, - "version_map_memory_in_bytes": { - "type": "long" - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long" - } - } - } - } - } - } - }, - "indices_stats": { - "properties": { - "_all": { - "properties": { - "primaries": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "type": "long" - }, - "index_total": { - "type": "long" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "type": "long" - }, - "query_total": { - "type": "long" - } - } - } - } - }, - "total": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "type": "long" - }, - "index_total": { - "type": "long" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "type": "long" - }, - "query_total": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "interval_ms": { - "type": "long" - }, - "job_stats": { - "properties": { - "data_counts": { - "properties": { - "bucket_count": { - "type": "long" - }, - "earliest_record_timestamp": { - "type": "date" - }, - "empty_bucket_count": { - "type": "long" - }, - "input_bytes": { - "type": "long" - }, - "latest_record_timestamp": { - "type": "date" - }, - "processed_record_count": { - "type": "long" - }, - "sparse_bucket_count": { - "type": "long" - } - } - }, - "job_id": { - "type": "keyword" - }, - "model_size_stats": { - "properties": { - "bucket_allocation_failures_count": { - "type": "long" - }, - "model_bytes": { - "type": "long" - } - } - }, - "node": { - "properties": { - "id": { - "type": "keyword" - } - } - }, - "state": { - "type": "keyword" - } - } - }, - "node_stats": { - "properties": { - "fs": { - "properties": { - "data": { - "properties": { - "spins": { - "type": "boolean" - } - } - }, - "io_stats": { - "properties": { - "total": { - "properties": { - "operations": { - "type": "long" - }, - "read_kilobytes": { - "type": "long" - }, - "read_operations": { - "type": "long" - }, - "write_kilobytes": { - "type": "long" - }, - "write_operations": { - "type": "long" - } - } - } - } - }, - "total": { - "properties": { - "available_in_bytes": { - "type": "long" - }, - "free_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - } - } - } - } - }, - "indices": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long" - } - } - }, - "fielddata": { - "properties": { - "evictions": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "type": "long" - }, - "index_total": { - "type": "long" - }, - "throttle_time_in_millis": { - "type": "long" - } - } - }, - "query_cache": { - "properties": { - "evictions": { - "type": "long" - }, - "hit_count": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - }, - "miss_count": { - "type": "long" - } - } - }, - "request_cache": { - "properties": { - "evictions": { - "type": "long" - }, - "hit_count": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - }, - "miss_count": { - "type": "long" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "type": "long" - }, - "query_total": { - "type": "long" - } - } - }, - "segments": { - "properties": { - "count": { - "type": "integer" - }, - "doc_values_memory_in_bytes": { - "type": "long" - }, - "fixed_bit_set_memory_in_bytes": { - "type": "long" - }, - "index_writer_memory_in_bytes": { - "type": "long" - }, - "memory_in_bytes": { - "type": "long" - }, - "norms_memory_in_bytes": { - "type": "long" - }, - "points_memory_in_bytes": { - "type": "long" - }, - "stored_fields_memory_in_bytes": { - "type": "long" - }, - "term_vectors_memory_in_bytes": { - "type": "long" - }, - "terms_memory_in_bytes": { - "type": "long" - }, - "version_map_memory_in_bytes": { - "type": "long" - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long" - } - } - } - } - }, - "jvm": { - "properties": { - "gc": { - "properties": { - "collectors": { - "properties": { - "old": { - "properties": { - "collection_count": { - "type": "long" - }, - "collection_time_in_millis": { - "type": "long" - } - } - }, - "young": { - "properties": { - "collection_count": { - "type": "long" - }, - "collection_time_in_millis": { - "type": "long" - } - } - } - } - } - } - }, - "mem": { - "properties": { - "heap_max_in_bytes": { - "type": "long" - }, - "heap_used_in_bytes": { - "type": "long" - }, - "heap_used_percent": { - "type": "half_float" - } - } - } - } - }, - "mlockall": { - "type": "boolean" - }, - "node_id": { - "type": "keyword" - }, - "node_master": { - "type": "boolean" - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs_quota_micros": { - "type": "long" - }, - "control_group": { - "type": "keyword" - }, - "stat": { - "properties": { - "number_of_elapsed_periods": { - "type": "long" - }, - "number_of_times_throttled": { - "type": "long" - }, - "time_throttled_nanos": { - "type": "long" - } - } - } - } - }, - "cpuacct": { - "properties": { - "control_group": { - "type": "keyword" - }, - "usage_nanos": { - "type": "long" - } - } - }, - "memory": { - "properties": { - "control_group": { - "type": "keyword" - }, - "limit_in_bytes": { - "type": "keyword" - }, - "usage_in_bytes": { - "type": "keyword" - } - } - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "15m": { - "type": "half_float" - }, - "1m": { - "type": "half_float" - }, - "5m": { - "type": "half_float" - } - } - } - } - } - } - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "type": "half_float" - } - } - }, - "max_file_descriptors": { - "type": "long" - }, - "open_file_descriptors": { - "type": "long" - } - } - }, - "thread_pool": { - "properties": { - "bulk": { - "properties": { - "queue": { - "type": "integer" - }, - "rejected": { - "type": "long" - }, - "threads": { - "type": "integer" - } - } - }, - "generic": { - "properties": { - "queue": { - "type": "integer" - }, - "rejected": { - "type": "long" - }, - "threads": { - "type": "integer" - } - } - }, - "get": { - "properties": { - "queue": { - "type": "integer" - }, - "rejected": { - "type": "long" - }, - "threads": { - "type": "integer" - } - } - }, - "index": { - "properties": { - "queue": { - "type": "integer" - }, - "rejected": { - "type": "long" - }, - "threads": { - "type": "integer" - } - } - }, - "management": { - "properties": { - "queue": { - "type": "integer" - }, - "rejected": { - "type": "long" - }, - "threads": { - "type": "integer" - } - } - }, - "search": { - "properties": { - "queue": { - "type": "integer" - }, - "rejected": { - "type": "long" - }, - "threads": { - "type": "integer" - } - } - }, - "watcher": { - "properties": { - "queue": { - "type": "integer" - }, - "rejected": { - "type": "long" - }, - "threads": { - "type": "integer" - } - } - }, - "write": { - "properties": { - "queue": { - "type": "integer" - }, - "rejected": { - "type": "long" - } - } - } - } - } - } - }, - "shard": { - "properties": { - "index": { - "type": "keyword" - }, - "node": { - "type": "keyword" - }, - "primary": { - "type": "boolean" - }, - "relocating_node": { - "type": "keyword" - }, - "shard": { - "type": "long" - }, - "state": { - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "host": { - "type": "keyword" - }, - "ip": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "timestamp": { - "type": "date", - "format": "date_time" - }, - "transport_address": { - "type": "keyword" - }, - "uuid": { - "type": "keyword" - } - } - }, - "state_uuid": { - "type": "keyword" - }, - "timestamp": { - "type": "date", - "format": "date_time" - }, - "type": { - "type": "keyword" - } - } - } - }, - "aliases": {} - } -}