diff --git a/x-pack/test/api_integration/apis/monitoring/elasticsearch/index.js b/x-pack/test/api_integration/apis/monitoring/elasticsearch/index.js index ad864979a15fe..b47cf59b42651 100644 --- a/x-pack/test/api_integration/apis/monitoring/elasticsearch/index.js +++ b/x-pack/test/api_integration/apis/monitoring/elasticsearch/index.js @@ -8,20 +8,12 @@ export default function ({ loadTestFile }) { describe('Elasticsearch', () => { loadTestFile(require.resolve('./overview')); - loadTestFile(require.resolve('./overview_mb')); loadTestFile(require.resolve('./nodes')); - loadTestFile(require.resolve('./nodes_mb')); loadTestFile(require.resolve('./node_detail')); - loadTestFile(require.resolve('./node_detail_mb')); loadTestFile(require.resolve('./node_detail_advanced')); - loadTestFile(require.resolve('./node_detail_advanced_mb')); loadTestFile(require.resolve('./indices')); - loadTestFile(require.resolve('./indices_mb')); loadTestFile(require.resolve('./index_detail')); - loadTestFile(require.resolve('./index_detail_mb')); loadTestFile(require.resolve('./ccr')); - loadTestFile(require.resolve('./ccr_mb')); loadTestFile(require.resolve('./ccr_shard')); - loadTestFile(require.resolve('./ccr_shard_mb')); }); } diff --git a/x-pack/test/api_integration/apis/monitoring/elasticsearch/indices_mb.js b/x-pack/test/api_integration/apis/monitoring/elasticsearch/indices_mb.js deleted file mode 100644 index 4c21921560537..0000000000000 --- a/x-pack/test/api_integration/apis/monitoring/elasticsearch/indices_mb.js +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import expect from '@kbn/expect'; -import relocatingShardsFixture from './fixtures/indices_shards_relocating.json'; -import relocationShardsAllFixture from './fixtures/indices_shards_relocating_all.json'; -import indicesRedClusterFixture from './fixtures/indices_red_cluster.json'; -import indicesRedClusterAllFixture from './fixtures/indices_red_cluster_all.json'; -import { getLifecycleMethods } from '../data_stream'; - -export default function ({ getService }) { - const supertest = getService('supertest'); - const { setup, tearDown } = getLifecycleMethods(getService); - - // Failing: See https://github.com/elastic/kibana/issues/146068 - // Failing: See https://github.com/elastic/kibana/issues/146067 - describe.skip('indices - metricbeat and package', () => { - ['mb', 'package'].forEach((source) => { - describe(`indices ${source}`, () => { - describe('shard-relocation', () => { - const archive = `x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation_${source}`; - const timeRange = { - min: '2017-10-05T20:31:48.000Z', - max: '2017-10-05T20:35:12.000Z', - }; - - before('load archive', () => { - return setup(archive); - }); - - after('unload archive', () => { - return tearDown(archive); - }); - - it('should summarize the non-system indices with stats', async () => { - const { body } = await supertest - .post( - '/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/indices?show_system_indices=false' - ) - .set('kbn-xsrf', 'xxx') - .send({ timeRange }) - .expect(200); - expect(body).to.eql(relocatingShardsFixture); - }); - - it('should summarize all indices with stats', async () => { - const { body } = await supertest - .post( - '/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/indices?show_system_indices=true' - ) - .set('kbn-xsrf', 'xxx') - .send({ timeRange }) - .expect(200); - - expect(body).to.eql(relocationShardsAllFixture); - }); - }); - - describe('health-red', () => { - const archive = `x-pack/test/functional/es_archives/monitoring/singlecluster_red_platinum_${source}`; - const timeRange = { - min: '2017-10-06T19:53:06.000Z', - max: '2017-10-06T20:15:30.000Z', - }; - - before('load clusters archive', () => { - return setup(archive); - }); - - after('unload clusters archive', () => { - return tearDown(archive); - }); - - it('should summarize the non-system indices with stats', async () => { - const { body } = await supertest - .post( - '/api/monitoring/v1/clusters/1LYuyvCCQFS3FAO_h65PQw/elasticsearch/indices?show_system_indices=false' - ) - .set('kbn-xsrf', 'xxx') - .send({ timeRange }) - .expect(200); - expect(body).to.eql(indicesRedClusterFixture); - }); - - it('should summarize all indices with stats', async () => { - const { body } = await supertest - .post( - '/api/monitoring/v1/clusters/1LYuyvCCQFS3FAO_h65PQw/elasticsearch/indices?show_system_indices=true' - ) - .set('kbn-xsrf', 'xxx') - .send({ timeRange }) - .expect(200); - - expect(body).to.eql(indicesRedClusterAllFixture); - }); - }); - }); - }); - }); -} diff --git a/x-pack/test/functional/es_archives/monitoring/ccr_mb/data.json.gz b/x-pack/test/functional/es_archives/monitoring/ccr_mb/data.json.gz deleted file mode 100644 index 5ed1235098869..0000000000000 Binary files a/x-pack/test/functional/es_archives/monitoring/ccr_mb/data.json.gz and /dev/null differ diff --git a/x-pack/test/functional/es_archives/monitoring/ccr_package/data.json.gz b/x-pack/test/functional/es_archives/monitoring/ccr_package/data.json.gz deleted file mode 100644 index 4088178b904ad..0000000000000 Binary files a/x-pack/test/functional/es_archives/monitoring/ccr_package/data.json.gz and /dev/null differ diff --git a/x-pack/test/functional/es_archives/monitoring/ccr_package/mappings.json b/x-pack/test/functional/es_archives/monitoring/ccr_package/mappings.json deleted file mode 100644 index 22af8dee3978a..0000000000000 --- a/x-pack/test/functional/es_archives/monitoring/ccr_package/mappings.json +++ /dev/null @@ -1,7713 +0,0 @@ -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.cluster_stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.cluster_stats-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.cluster_stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_state": { - "properties": { - "master_node": { - "path": "elasticsearch.cluster.stats.state.master_node", - "type": "alias" - }, - "nodes_hash": { - "path": "elasticsearch.cluster.stats.state.nodes_hash", - "type": "alias" - }, - "state_uuid": { - "path": "elasticsearch.cluster.stats.state.state_uuid", - "type": "alias" - }, - "status": { - "path": "elasticsearch.cluster.stats.status", - "type": "alias" - }, - "version": { - "path": "elasticsearch.cluster.stats.state.version", - "type": "alias" - } - } - }, - "cluster_stats": { - "properties": { - "indices": { - "properties": { - "count": { - "path": "elasticsearch.cluster.stats.indices.total", - "type": "alias" - }, - "shards": { - "properties": { - "total": { - "path": "elasticsearch.cluster.stats.indices.shards.count", - "type": "alias" - } - } - } - } - }, - "nodes": { - "properties": { - "count": { - "properties": { - "total": { - "path": "elasticsearch.cluster.stats.nodes.count", - "type": "alias" - } - } - }, - "jvm": { - "properties": { - "max_uptime_in_millis": { - "path": "elasticsearch.cluster.stats.nodes.jvm.max_uptime.ms", - "type": "alias" - }, - "mem": { - "properties": { - "heap_max_in_bytes": { - "path": "elasticsearch.cluster.stats.nodes.jvm.memory.heap.max.bytes", - "type": "alias" - }, - "heap_used_in_bytes": { - "path": "elasticsearch.cluster.stats.nodes.jvm.memory.heap.used.bytes", - "type": "alias" - } - } - } - } - } - } - } - } - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "stats": { - "properties": { - "indices": { - "properties": { - "docs": { - "properties": { - "total": { - "type": "long" - } - } - }, - "fielddata": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "shards": { - "properties": { - "count": { - "type": "long" - }, - "primaries": { - "type": "long" - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "total": { - "type": "long" - } - } - }, - "license": { - "properties": { - "cluster_needs_tls": { - "type": "boolean" - }, - "expiry_date": { - "type": "date" - }, - "expiry_date_in_millis": { - "type": "long" - }, - "issue_date": { - "type": "date" - }, - "issue_date_in_millis": { - "type": "long" - }, - "issued_to": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "max_nodes": { - "type": "long" - }, - "start_date_in_millis": { - "type": "long" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "nodes": { - "properties": { - "count": { - "type": "long" - }, - "data": { - "type": "long" - }, - "fs": { - "properties": { - "available": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "jvm": { - "properties": { - "max_uptime": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "memory": { - "properties": { - "heap": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "master": { - "type": "long" - }, - "stats": { - "properties": { - "data": { - "type": "long" - } - } - }, - "versions": { - "type": "text" - } - } - }, - "stack": { - "properties": { - "apm": { - "properties": { - "found": { - "type": "boolean" - } - } - }, - "xpack": { - "properties": { - "ccr": { - "properties": { - "available": { - "type": "boolean" - }, - "enabled": { - "type": "boolean" - } - } - } - } - } - } - }, - "state": { - "properties": { - "master_node": { - "ignore_above": 1024, - "type": "keyword" - }, - "nodes": { - "type": "flattened" - }, - "nodes_hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "license": { - "properties": { - "status": { - "path": "elasticsearch.cluster.stats.license.status", - "type": "alias" - }, - "type": { - "path": "elasticsearch.cluster.stats.license.type", - "type": "alias" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "stack_stats": { - "properties": { - "apm": { - "properties": { - "found": { - "path": "elasticsearch.cluster.stats.stack.apm.found", - "type": "alias" - } - } - }, - "xpack": { - "properties": { - "ccr": { - "properties": { - "available": { - "path": "elasticsearch.cluster.stats.stack.xpack.ccr.available", - "type": "alias" - }, - "enabled": { - "path": "elasticsearch.cluster.stats.stack.xpack.ccr.enabled", - "type": "alias" - } - } - } - } - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.cluster.stats.version", - "elasticsearch.cluster.stats.state.nodes_hash", - "elasticsearch.cluster.stats.state.master_node", - "elasticsearch.cluster.stats.state.version", - "elasticsearch.cluster.stats.state.state_uuid", - "elasticsearch.cluster.stats.status", - "elasticsearch.cluster.stats.nodes.versions", - "elasticsearch.cluster.stats.license.issued_to", - "elasticsearch.cluster.stats.license.issuer", - "elasticsearch.cluster.stats.license.status", - "elasticsearch.cluster.stats.license.type", - "elasticsearch.cluster.stats.license.uid", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.version", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.enrich-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.enrich-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.enrich", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "enrich": { - "properties": { - "executed_searches": { - "properties": { - "total": { - "type": "long" - } - } - }, - "executing_policy": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "task": { - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "cancellable": { - "type": "boolean" - }, - "id": { - "type": "long" - }, - "parent_task_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "task": { - "ignore_above": 1024, - "type": "keyword" - }, - "time": { - "properties": { - "running": { - "properties": { - "nano": { - "type": "long" - } - } - }, - "start": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "queue": { - "properties": { - "size": { - "type": "long" - } - } - }, - "remote_requests": { - "properties": { - "current": { - "type": "long" - }, - "total": { - "type": "long" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.enrich.executing_policy.name", - "elasticsearch.enrich.executing_policy.task.task", - "elasticsearch.enrich.executing_policy.task.action", - "elasticsearch.enrich.executing_policy.task.parent_task_id", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.index-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.index-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.index", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "index": { - "properties": { - "created": { - "type": "long" - }, - "hidden": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "primaries": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "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": { - "hit_count": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - }, - "miss_count": { - "type": "long" - } - } - }, - "refresh": { - "properties": { - "external_total_time_in_millis": { - "type": "long" - }, - "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": "long" - }, - "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" - } - } - } - } - }, - "shards": { - "properties": { - "primaries": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "properties": { - "bulk": { - "properties": { - "avg_size_in_bytes": { - "type": "long" - }, - "avg_time_in_millis": { - "type": "long" - }, - "total_operations": { - "type": "long" - }, - "total_size_in_bytes": { - "type": "long" - }, - "total_time_in_millis": { - "type": "long" - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "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": { - "external_total_time_in_millis": { - "type": "long" - }, - "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": "long" - }, - "doc_values_memory_in_bytes": { - "type": "long" - }, - "fixed_bit_set_memory_in_bytes": { - "type": "long" - }, - "index_writer_memory_in_bytes": { - "type": "long" - }, - "memory": { - "properties": { - "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": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "size_in_bytes": { - "type": "long" - } - } - } - } - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "index_stats": { - "properties": { - "index": { - "path": "elasticsearch.index.name", - "type": "alias" - }, - "primaries": { - "properties": { - "docs": { - "properties": { - "count": { - "path": "elasticsearch.index.primaries.docs.count", - "type": "alias" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.index.primaries.indexing.index_time_in_millis", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.index.primaries.indexing.index_total", - "type": "alias" - }, - "throttle_time_in_millis": { - "path": "elasticsearch.index.primaries.indexing.throttle_time_in_millis", - "type": "alias" - } - } - }, - "merges": { - "properties": { - "total_size_in_bytes": { - "path": "elasticsearch.index.primaries.merges.total_size_in_bytes", - "type": "alias" - } - } - }, - "refresh": { - "properties": { - "total_time_in_millis": { - "path": "elasticsearch.index.primaries.refresh.total_time_in_millis", - "type": "alias" - } - } - }, - "segments": { - "properties": { - "count": { - "path": "elasticsearch.index.primaries.segments.count", - "type": "alias" - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "path": "elasticsearch.index.primaries.store.size_in_bytes", - "type": "alias" - } - } - } - } - }, - "total": { - "properties": { - "fielddata": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.index.total.fielddata.memory_size_in_bytes", - "type": "alias" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.index.total.indexing.index_time_in_millis", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.index.total.indexing.index_total", - "type": "alias" - }, - "throttle_time_in_millis": { - "path": "elasticsearch.index.total.indexing.throttle_time_in_millis", - "type": "alias" - } - } - }, - "merges": { - "properties": { - "total_size_in_bytes": { - "path": "elasticsearch.index.total.merges.total_size_in_bytes", - "type": "alias" - } - } - }, - "query_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.index.total.query_cache.memory_size_in_bytes", - "type": "alias" - } - } - }, - "refresh": { - "properties": { - "total_time_in_millis": { - "path": "elasticsearch.index.total.refresh.total_time_in_millis", - "type": "alias" - } - } - }, - "request_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.index.total.request_cache.memory_size_in_bytes", - "type": "alias" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "path": "elasticsearch.index.total.search.query_time_in_millis", - "type": "alias" - }, - "query_total": { - "path": "elasticsearch.index.total.search.query_total", - "type": "alias" - } - } - }, - "segments": { - "properties": { - "count": { - "path": "elasticsearch.index.total.segments.count", - "type": "alias" - }, - "doc_values_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.doc_values_memory_in_bytes", - "type": "alias" - }, - "fixed_bit_set_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.fixed_bit_set_memory_in_bytes", - "type": "alias" - }, - "index_writer_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.index_writer_memory_in_bytes", - "type": "alias" - }, - "memory_in_bytes": { - "path": "elasticsearch.index.total.segments.memory_in_bytes", - "type": "alias" - }, - "norms_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.norms_memory_in_bytes", - "type": "alias" - }, - "points_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.points_memory_in_bytes", - "type": "alias" - }, - "stored_fields_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.stored_fields_memory_in_bytes", - "type": "alias" - }, - "term_vectors_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.term_vectors_memory_in_bytes", - "type": "alias" - }, - "terms_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.terms_memory_in_bytes", - "type": "alias" - }, - "version_map_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.version_map_memory_in_bytes", - "type": "alias" - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "path": "elasticsearch.index.total.store.size_in_bytes", - "type": "alias" - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.index.uuid", - "elasticsearch.index.status", - "elasticsearch.index.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.index_recovery-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.index_recovery-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.index_recovery", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "index": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "recovery": { - "properties": { - "id": { - "type": "long" - }, - "index": { - "properties": { - "files": { - "properties": { - "percent": { - "ignore_above": 1024, - "type": "keyword" - }, - "recovered": { - "type": "long" - }, - "reused": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "size": { - "properties": { - "recovered_in_bytes": { - "type": "long" - }, - "reused_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "primary": { - "type": "boolean" - }, - "source": { - "properties": { - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport_address": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "stage": { - "ignore_above": 1024, - "type": "keyword" - }, - "start_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "stop_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "target": { - "properties": { - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport_address": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "total_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "translog": { - "properties": { - "percent": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "type": "long" - }, - "total_on_start": { - "type": "long" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "verify_index": { - "properties": { - "check_index_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "total_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "index_recovery": { - "properties": { - "shards": { - "properties": { - "start_time_in_millis": { - "path": "elasticsearch.index.recovery.start_time.ms", - "type": "alias" - }, - "stop_time_in_millis": { - "path": "elasticsearch.index.recovery.stop_time.ms", - "type": "alias" - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.index.name", - "elasticsearch.index.recovery.index.files.percent", - "elasticsearch.index.recovery.name", - "elasticsearch.index.recovery.type", - "elasticsearch.index.recovery.stage", - "elasticsearch.index.recovery.translog.percent", - "elasticsearch.index.recovery.target.transport_address", - "elasticsearch.index.recovery.target.id", - "elasticsearch.index.recovery.target.host", - "elasticsearch.index.recovery.target.name", - "elasticsearch.index.recovery.source.transport_address", - "elasticsearch.index.recovery.source.id", - "elasticsearch.index.recovery.source.host", - "elasticsearch.index.recovery.source.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.index_summary-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.index_summary-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.index_summary", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "index": { - "properties": { - "summary": { - "properties": { - "primaries": { - "properties": { - "bulk": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - }, - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "time": { - "properties": { - "avg": { - "properties": { - "bytes": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - }, - "count": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "search": { - "properties": { - "query": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "segments": { - "properties": { - "count": { - "type": "long" - }, - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "total": { - "properties": { - "bulk": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - }, - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "time": { - "properties": { - "avg": { - "properties": { - "bytes": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "is_throttled": { - "type": "boolean" - }, - "throttle_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "search": { - "properties": { - "query": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "segments": { - "properties": { - "count": { - "type": "long" - }, - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "indices_stats": { - "properties": { - "_all": { - "properties": { - "primaries": { - "properties": { - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.index.summary.primaries.indexing.index.time.ms", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.index.summary.primaries.indexing.index.count", - "type": "alias" - } - } - } - } - }, - "total": { - "properties": { - "indexing": { - "properties": { - "index_total": { - "path": "elasticsearch.index.summary.total.indexing.index.count", - "type": "alias" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "path": "elasticsearch.index.summary.total.search.query.time.ms", - "type": "alias" - }, - "query_total": { - "path": "elasticsearch.index.summary.total.search.query.count", - "type": "alias" - } - } - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.node-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.node-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.node", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "jvm": { - "properties": { - "memory": { - "properties": { - "heap": { - "properties": { - "init": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "nonheap": { - "properties": { - "init": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "process": { - "properties": { - "mlockall": { - "type": "boolean" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.node.version", - "elasticsearch.node.jvm.version", - "elasticsearch.node.id", - "elasticsearch.node.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.node_stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.node_stats-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.node_stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "stats": { - "properties": { - "fs": { - "properties": { - "io_stats": { - "properties": { - "total": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - }, - "read": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "write": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "summary": { - "properties": { - "available": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "free": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "total": { - "properties": { - "available_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - } - } - } - } - }, - "indexing_pressure": { - "properties": { - "memory": { - "properties": { - "current": { - "properties": { - "all": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "combined_coordinating_and_primary": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "coordinating": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "primary": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "replica": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "limit_in_bytes": { - "type": "long" - }, - "total": { - "properties": { - "all": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "combined_coordinating_and_primary": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "coordinating": { - "properties": { - "bytes": { - "type": "long" - }, - "rejections": { - "type": "long" - } - } - }, - "primary": { - "properties": { - "bytes": { - "type": "long" - }, - "rejections": { - "type": "long" - } - } - }, - "replica": { - "properties": { - "bytes": { - "type": "long" - }, - "rejections": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "indices": { - "properties": { - "bulk": { - "properties": { - "avg_size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "avg_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "operations": { - "properties": { - "total": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "total_size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "type": "long" - } - } - }, - "fielddata": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "indexing": { - "properties": { - "index_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "index_total": { - "properties": { - "count": { - "type": "long" - } - } - }, - "throttle_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "query_cache": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "request_cache": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "search": { - "properties": { - "query_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "query_total": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "segments": { - "properties": { - "count": { - "type": "long" - }, - "doc_values": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "fixed_bit_set": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "index_writer": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "norms": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "points": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "stored_fields": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "term_vectors": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "terms": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "version_map": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "ingest": { - "properties": { - "total": { - "properties": { - "count": { - "type": "long" - }, - "current": { - "type": "long" - }, - "failed": { - "type": "long" - }, - "time_in_millis": { - "type": "long" - } - } - } - } - }, - "jvm": { - "properties": { - "gc": { - "properties": { - "collectors": { - "properties": { - "old": { - "properties": { - "collection": { - "properties": { - "count": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - } - } - }, - "young": { - "properties": { - "collection": { - "properties": { - "count": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "mem": { - "properties": { - "heap": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - }, - "pct": { - "type": "double" - } - } - } - } - }, - "pools": { - "properties": { - "old": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak_max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "survivor": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak_max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "young": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak_max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - } - } - } - } - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs": { - "properties": { - "quota": { - "properties": { - "us": { - "type": "long" - } - } - } - } - }, - "stat": { - "properties": { - "elapsed_periods": { - "properties": { - "count": { - "type": "long" - } - } - }, - "time_throttled": { - "properties": { - "ns": { - "type": "long" - } - } - }, - "times_throttled": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - }, - "cpuacct": { - "properties": { - "usage": { - "properties": { - "ns": { - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "control_group": { - "ignore_above": 1024, - "type": "keyword" - }, - "limit": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "usage": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "cpu": { - "properties": { - "load_avg": { - "properties": { - "1m": { - "type": "half_float" - } - } - } - } - } - } - }, - "process": { - "properties": { - "cpu": { - "properties": { - "pct": { - "type": "double" - } - } - } - } - }, - "thread_pool": { - "properties": { - "bulk": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "get": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "index": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "search": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "write": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - } - } - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "node_stats": { - "properties": { - "fs": { - "properties": { - "io_stats": { - "properties": { - "total": { - "properties": { - "operations": { - "path": "elasticsearch.node.stats.fs.io_stats.total.operations.count", - "type": "alias" - }, - "read_operations": { - "path": "elasticsearch.node.stats.fs.io_stats.total.read.operations.count", - "type": "alias" - }, - "write_operations": { - "path": "elasticsearch.node.stats.fs.io_stats.total.write.operations.count", - "type": "alias" - } - } - } - } - }, - "summary": { - "properties": { - "available": { - "properties": { - "bytes": { - "path": "elasticsearch.node.stats.fs.summary.available.bytes", - "type": "alias" - } - } - }, - "total": { - "properties": { - "bytes": { - "path": "elasticsearch.node.stats.fs.summary.total.bytes", - "type": "alias" - } - } - } - } - }, - "total": { - "properties": { - "available_in_bytes": { - "path": "elasticsearch.node.stats.fs.summary.available.bytes", - "type": "alias" - }, - "total_in_bytes": { - "path": "elasticsearch.node.stats.fs.summary.total.bytes", - "type": "alias" - } - } - } - } - }, - "indices": { - "properties": { - "docs": { - "properties": { - "count": { - "path": "elasticsearch.node.stats.indices.docs.count", - "type": "alias" - } - } - }, - "fielddata": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.node.stats.indices.fielddata.memory.bytes", - "type": "alias" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.node.stats.indices.indexing.index_time.ms", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.node.stats.indices.indexing.index_total.count", - "type": "alias" - }, - "throttle_time_in_millis": { - "path": "elasticsearch.node.stats.indices.indexing.throttle_time.ms", - "type": "alias" - } - } - }, - "query_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.node.stats.indices.query_cache.memory.bytes", - "type": "alias" - } - } - }, - "request_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.node.stats.indices.request_cache.memory.bytes", - "type": "alias" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "path": "elasticsearch.node.stats.indices.search.query_time.ms", - "type": "alias" - }, - "query_total": { - "path": "elasticsearch.node.stats.indices.search.query_total.count", - "type": "alias" - } - } - }, - "segments": { - "properties": { - "count": { - "path": "elasticsearch.node.stats.indices.segments.count", - "type": "alias" - }, - "doc_values_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.doc_values.memory.bytes", - "type": "alias" - }, - "fixed_bit_set_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.fixed_bit_set.memory.bytes", - "type": "alias" - }, - "index_writer_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.index_writer.memory.bytes", - "type": "alias" - }, - "memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.memory.bytes", - "type": "alias" - }, - "norms_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.norms.memory.bytes", - "type": "alias" - }, - "points_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.points.memory.bytes", - "type": "alias" - }, - "stored_fields_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.stored_fields.memory.bytes", - "type": "alias" - }, - "term_vectors_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.term_vectors.memory.bytes", - "type": "alias" - }, - "terms_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.terms.memory.bytes", - "type": "alias" - }, - "version_map_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.version_map.memory.bytes", - "type": "alias" - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "path": "elasticsearch.node.stats.indices.store.size.bytes", - "type": "alias" - } - } - }, - "size_in_bytes": { - "path": "elasticsearch.node.stats.indices.store.size.bytes", - "type": "alias" - } - } - } - } - }, - "jvm": { - "properties": { - "gc": { - "properties": { - "collectors": { - "properties": { - "old": { - "properties": { - "collection_count": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.old.collection.count", - "type": "alias" - }, - "collection_time_in_millis": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.old.collection.ms", - "type": "alias" - } - } - }, - "young": { - "properties": { - "collection_count": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.young.collection.count", - "type": "alias" - }, - "collection_time_in_millis": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.young.collection.ms", - "type": "alias" - } - } - } - } - } - } - }, - "mem": { - "properties": { - "heap_max_in_bytes": { - "path": "elasticsearch.node.stats.jvm.mem.heap.max.bytes", - "type": "alias" - }, - "heap_used_in_bytes": { - "path": "elasticsearch.node.stats.jvm.mem.heap.used.bytes", - "type": "alias" - }, - "heap_used_percent": { - "path": "elasticsearch.node.stats.jvm.mem.heap.used.pct", - "type": "alias" - } - } - } - } - }, - "node_id": { - "path": "elasticsearch.node.id", - "type": "alias" - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs_quota_micros": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.cfs.quota.us", - "type": "alias" - }, - "stat": { - "properties": { - "number_of_elapsed_periods": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.stat.elapsed_periods.count", - "type": "alias" - }, - "number_of_times_throttled": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.stat.times_throttled.count", - "type": "alias" - }, - "time_throttled_nanos": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.stat.time_throttled.ns", - "type": "alias" - } - } - } - } - }, - "cpuacct": { - "properties": { - "usage_nanos": { - "path": "elasticsearch.node.stats.os.cgroup.cpuacct.usage.ns", - "type": "alias" - } - } - }, - "memory": { - "properties": { - "control_group": { - "path": "elasticsearch.node.stats.os.cgroup.memory.control_group", - "type": "alias" - }, - "limit_in_bytes": { - "path": "elasticsearch.node.stats.os.cgroup.memory.limit.bytes", - "type": "alias" - }, - "usage_in_bytes": { - "path": "elasticsearch.node.stats.os.cgroup.memory.usage.bytes", - "type": "alias" - } - } - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "1m": { - "path": "elasticsearch.node.stats.os.cpu.load_avg.1m", - "type": "alias" - } - } - } - } - } - } - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "path": "elasticsearch.node.stats.process.cpu.pct", - "type": "alias" - } - } - } - } - }, - "thread_pool": { - "properties": { - "bulk": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.bulk.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.bulk.rejected.count", - "type": "alias" - } - } - }, - "get": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.get.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.get.rejected.count", - "type": "alias" - } - } - }, - "index": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.index.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.index.rejected.count", - "type": "alias" - } - } - }, - "search": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.search.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.search.rejected.count", - "type": "alias" - } - } - }, - "write": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.write.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.write.rejected.count", - "type": "alias" - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.node.stats.os.cgroup.memory.control_group", - "elasticsearch.node.stats.os.cgroup.memory.limit.bytes", - "elasticsearch.node.stats.os.cgroup.memory.usage.bytes", - "elasticsearch.node.id", - "elasticsearch.node.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.shard-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.shard-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.shard", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "stats": { - "properties": { - "state": { - "properties": { - "state_uuid": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "index": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "shard": { - "properties": { - "number": { - "type": "long" - }, - "primary": { - "type": "boolean" - }, - "relocating_node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "shard": { - "properties": { - "index": { - "path": "elasticsearch.index.name", - "type": "alias" - }, - "node": { - "path": "elasticsearch.node.id", - "type": "alias" - }, - "primary": { - "path": "elasticsearch.shard.primary", - "type": "alias" - }, - "shard": { - "path": "elasticsearch.shard.number", - "type": "alias" - }, - "state": { - "path": "elasticsearch.shard.state", - "type": "alias" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.shard.state", - "elasticsearch.shard.relocating_node.name", - "elasticsearch.shard.relocating_node.id", - "elasticsearch.shard.source_node.name", - "elasticsearch.shard.source_node.uuid", - "elasticsearch.index.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.cluster.stats.state.state_uuid", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.cluster_actions-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.cluster_actions-*" - ], - "name": "metrics-kibana.stack_monitoring.cluster_actions", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "cluster_actions": { - "properties": { - "overdue": { - "properties": { - "count": { - "type": "long" - }, - "delay": { - "properties": { - "p50": { - "type": "float" - }, - "p99": { - "type": "float" - } - } - } - } - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.cluster_rules-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.cluster_rules-*" - ], - "name": "metrics-kibana.stack_monitoring.cluster_rules", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "cluster_rules": { - "properties": { - "overdue": { - "properties": { - "count": { - "type": "long" - }, - "delay": { - "properties": { - "p50": { - "type": "float" - }, - "p99": { - "type": "float" - } - } - } - } - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.node_actions-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.node_actions-*" - ], - "name": "metrics-kibana.stack_monitoring.node_actions", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node_actions": { - "properties": { - "executions": { - "type": "long" - }, - "failures": { - "type": "long" - }, - "timeouts": { - "type": "long" - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.node_rules-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.node_rules-*" - ], - "name": "metrics-kibana.stack_monitoring.node_rules", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node_rules": { - "properties": { - "executions": { - "type": "long" - }, - "failures": { - "type": "long" - }, - "timeouts": { - "type": "long" - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.stats-*" - ], - "name": "metrics-kibana.stack_monitoring.stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "stats": { - "properties": { - "concurrent_connections": { - "type": "long" - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "index": { - "ignore_above": 1024, - "type": "keyword" - }, - "kibana": { - "properties": { - "status": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "distro": { - "ignore_above": 1024, - "type": "keyword" - }, - "distroRelease": { - "ignore_above": 1024, - "type": "keyword" - }, - "load": { - "properties": { - "15m": { - "type": "half_float" - }, - "1m": { - "type": "half_float" - }, - "5m": { - "type": "half_float" - } - } - }, - "memory": { - "properties": { - "free_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - }, - "used_in_bytes": { - "type": "long" - } - } - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "platformRelease": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "process": { - "properties": { - "event_loop_delay": { - "properties": { - "ms": { - "scaling_factor": 1000, - "type": "scaled_float" - } - } - }, - "memory": { - "properties": { - "heap": { - "properties": { - "size_limit": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "uptime": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "resident_set_size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "uptime": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "request": { - "properties": { - "disconnects": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "response_time": { - "properties": { - "avg": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "max": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "snapshot": { - "type": "boolean" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport_address": { - "ignore_above": 1024, - "type": "keyword" - }, - "usage": { - "properties": { - "index": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "kibana_stats": { - "properties": { - "concurrent_connections": { - "path": "kibana.stats.concurrent_connections", - "type": "alias" - }, - "kibana": { - "properties": { - "response_time": { - "properties": { - "max": { - "path": "kibana.stats.response_time.max.ms", - "type": "alias" - } - } - }, - "status": { - "path": "kibana.stats.status", - "type": "alias" - }, - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "os": { - "properties": { - "load": { - "properties": { - "15m": { - "path": "kibana.stats.os.load.15m", - "type": "alias" - }, - "1m": { - "path": "kibana.stats.os.load.1m", - "type": "alias" - }, - "5m": { - "path": "kibana.stats.os.load.5m", - "type": "alias" - } - } - }, - "memory": { - "properties": { - "free_in_bytes": { - "path": "kibana.stats.os.memory.free_in_bytes", - "type": "alias" - } - } - } - } - }, - "process": { - "properties": { - "event_loop_delay": { - "path": "kibana.stats.process.event_loop_delay.ms", - "type": "alias" - }, - "memory": { - "properties": { - "heap": { - "properties": { - "size_limit": { - "path": "kibana.stats.process.memory.heap.size_limit.bytes", - "type": "alias" - } - } - }, - "resident_set_size_in_bytes": { - "path": "kibana.stats.process.memory.resident_set_size.bytes", - "type": "alias" - } - } - }, - "uptime_in_millis": { - "path": "kibana.stats.process.uptime.ms", - "type": "alias" - } - } - }, - "requests": { - "properties": { - "disconnects": { - "path": "kibana.stats.request.disconnects", - "type": "alias" - }, - "total": { - "path": "kibana.stats.request.total", - "type": "alias" - } - } - }, - "response_times": { - "properties": { - "average": { - "path": "kibana.stats.response_time.avg.ms", - "type": "alias" - }, - "max": { - "path": "kibana.stats.response_time.max.ms", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id", - "kibana.stats.kibana.status", - "kibana.stats.usage.index", - "kibana.stats.name", - "kibana.stats.index", - "kibana.stats.host.name", - "kibana.stats.status", - "kibana.stats.transport_address", - "kibana.stats.os.distro", - "kibana.stats.os.distroRelease", - "kibana.stats.os.platform", - "kibana.stats.os.platformRelease" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.status-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.status-*" - ], - "name": "metrics-kibana.stack_monitoring.status", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - } - } - }, - "kibana": { - "properties": { - "status": { - "properties": { - "metrics": { - "properties": { - "concurrent_connections": { - "type": "long" - }, - "requests": { - "properties": { - "disconnects": { - "type": "long" - }, - "total": { - "type": "long" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "properties": { - "overall": { - "properties": { - "state": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.name", - "service.version", - "service.type", - "service.address", - "ecs.version", - "error.message", - "kibana.status.name", - "kibana.status.status.overall.state" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-logstash.stack_monitoring.node-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-logstash.stack_monitoring.node-*" - ], - "name": "metrics-logstash.stack_monitoring.node", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "logstash.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "logstash": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "jvm": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "properties": { - "pipeline": { - "properties": { - "batch_size": { - "type": "long" - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "representation": { - "properties": { - "graph": { - "properties": { - "edges": { - "type": "object" - }, - "vertices": { - "type": "object" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "workers": { - "type": "long" - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "logstash_state": { - "properties": { - "pipeline": { - "properties": { - "hash": { - "path": "logstash.node.state.pipeline.hash", - "type": "alias" - }, - "id": { - "path": "logstash.node.state.pipeline.id", - "type": "alias" - } - } - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.hostname", - "service.id", - "service.type", - "service.version", - "service.address", - "service.name", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "logstash.cluster.id", - "logstash.elasticsearch.cluster.id", - "logstash.node.jvm.version", - "logstash.node.host", - "logstash.node.version", - "logstash.node.id", - "logstash.node.state.pipeline.id", - "logstash.node.state.pipeline.hash", - "logstash.node.state.pipeline.ephemeral_id", - "logstash.node.state.pipeline.representation.hash", - "logstash.node.state.pipeline.representation.type", - "logstash.node.state.pipeline.representation.version" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-logstash.stack_monitoring.node_stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-logstash.stack_monitoring.node_stats-*" - ], - "name": "metrics-logstash.stack_monitoring.node_stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "logstash.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "logstash": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "state": { - "properties": { - "pipeline": { - "properties": { - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "stats": { - "properties": { - "events": { - "properties": { - "duration_in_millis": { - "type": "long" - }, - "filtered": { - "type": "long" - }, - "in": { - "type": "long" - }, - "out": { - "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": "long" - } - } - }, - "uptime_in_millis": { - "type": "long" - } - } - }, - "logstash": { - "properties": { - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "http_address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "pipeline": { - "properties": { - "batch_size": { - "type": "long" - }, - "workers": { - "type": "long" - } - } - }, - "snapshot": { - "type": "boolean" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs_quota_micros": { - "type": "long" - }, - "control_group": { - "type": "text" - }, - "stat": { - "type": "object" - } - } - }, - "cpuacct": { - "type": "object" - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "15m": { - "type": "half_float" - }, - "1m": { - "type": "half_float" - }, - "5m": { - "type": "half_float" - } - } - }, - "percent": { - "type": "double" - } - } - } - } - }, - "pipelines": { - "properties": { - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "events": { - "properties": { - "duration_in_millis": { - "type": "long" - }, - "filtered": { - "type": "long" - }, - "in": { - "type": "long" - }, - "out": { - "type": "long" - }, - "queue_push_duration_in_millis": { - "type": "long" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "queue": { - "properties": { - "events_count": { - "type": "long" - }, - "max_queue_size_in_bytes": { - "type": "long" - }, - "queue_size_in_bytes": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "reloads": { - "properties": { - "failures": { - "type": "long" - }, - "successes": { - "type": "long" - } - } - }, - "vertices": { - "properties": { - "duration_in_millis": { - "type": "long" - }, - "events_in": { - "type": "long" - }, - "events_out": { - "type": "long" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "long_counters": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "value": { - "type": "long" - } - }, - "type": "nested" - }, - "pipeline_ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "queue_push_duration_in_millis": { - "type": "long" - } - }, - "type": "nested" - } - }, - "type": "nested" - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "type": "double" - } - } - }, - "max_file_descriptors": { - "type": "long" - }, - "open_file_descriptors": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "events_count": { - "type": "long" - } - } - }, - "reloads": { - "properties": { - "failures": { - "type": "long" - }, - "successes": { - "type": "long" - } - } - }, - "timestamp": { - "type": "date" - } - } - } - } - } - } - }, - "logstash_stats": { - "properties": { - "events": { - "properties": { - "duration_in_millis": { - "path": "logstash.node.stats.events.duration_in_millis", - "type": "alias" - }, - "in": { - "path": "logstash.node.stats.events.in", - "type": "alias" - }, - "out": { - "path": "logstash.node.stats.events.out", - "type": "alias" - } - } - }, - "jvm": { - "properties": { - "mem": { - "properties": { - "heap_max_in_bytes": { - "path": "logstash.node.stats.jvm.mem.heap_max_in_bytes", - "type": "alias" - }, - "heap_used_in_bytes": { - "path": "logstash.node.stats.jvm.mem.heap_used_in_bytes", - "type": "alias" - } - } - }, - "uptime_in_millis": { - "path": "logstash.node.stats.jvm.uptime_in_millis", - "type": "alias" - } - } - }, - "logstash": { - "properties": { - "uuid": { - "path": "logstash.node.stats.logstash.uuid", - "type": "alias" - }, - "version": { - "path": "logstash.node.stats.logstash.version", - "type": "alias" - } - } - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpuacct": { - "type": "object" - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "15m": { - "path": "logstash.node.stats.os.cpu.load_average.15m", - "type": "alias" - }, - "1m": { - "path": "logstash.node.stats.os.cpu.load_average.1m", - "type": "alias" - }, - "5m": { - "path": "logstash.node.stats.os.cpu.load_average.5m", - "type": "alias" - } - } - }, - "stat": { - "type": "object" - } - } - } - } - }, - "pipelines": { - "type": "nested" - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "path": "logstash.node.stats.process.cpu.percent", - "type": "alias" - } - } - } - } - }, - "queue": { - "properties": { - "events_count": { - "path": "logstash.node.stats.queue.events_count", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.hostname", - "service.id", - "service.type", - "service.version", - "service.address", - "service.name", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "logstash.elasticsearch.cluster.id", - "logstash.node.state.pipeline.id", - "logstash.node.state.pipeline.hash", - "logstash.node.stats.logstash.uuid", - "logstash.node.stats.logstash.version", - "logstash.node.stats.logstash.ephemeral_id", - "logstash.node.stats.logstash.host", - "logstash.node.stats.logstash.http_address", - "logstash.node.stats.logstash.name", - "logstash.node.stats.logstash.status", - "logstash.node.stats.os.cgroup.cpuacct.control_group", - "logstash.node.stats.os.cgroup.cpu.control_group", - "logstash.node.stats.pipelines.id", - "logstash.node.stats.pipelines.hash", - "logstash.node.stats.pipelines.ephemeral_id", - "logstash.node.stats.pipelines.queue.type", - "logstash.node.stats.pipelines.vertices.id", - "logstash.node.stats.pipelines.vertices.long_counters.name", - "logstash.node.stats.pipelines.vertices.pipeline_ephemeral_id", - "logstash.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.ccr-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.ccr-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.ccr", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "ccr_auto_follow_stats": { - "properties": { - "follower": { - "properties": { - "failed_read_requests": { - "path": "elasticsearch.ccr.requests.failed.read.count", - "type": "alias" - } - } - }, - "number_of_failed_follow_indices": { - "path": "elasticsearch.ccr.auto_follow.failed.follow_indices.count", - "type": "alias" - }, - "number_of_failed_remote_cluster_state_requests": { - "path": "elasticsearch.ccr.auto_follow.failed.remote_cluster_state_requests.count", - "type": "alias" - }, - "number_of_successful_follow_indices": { - "path": "elasticsearch.ccr.auto_follow.success.follow_indices.count", - "type": "alias" - } - } - }, - "ccr_stats": { - "properties": { - "bytes_read": { - "path": "elasticsearch.ccr.bytes_read", - "type": "alias" - }, - "failed_read_requests": { - "path": "elasticsearch.ccr.requests.failed.read.count", - "type": "alias" - }, - "failed_write_requests": { - "path": "elasticsearch.ccr.requests.failed.write.count", - "type": "alias" - }, - "follower_aliases_version": { - "path": "elasticsearch.ccr.follower.aliases_version", - "type": "alias" - }, - "follower_global_checkpoint": { - "path": "elasticsearch.ccr.follower.global_checkpoint", - "type": "alias" - }, - "follower_index": { - "path": "elasticsearch.ccr.follower.index", - "type": "alias" - }, - "follower_mapping_version": { - "path": "elasticsearch.ccr.follower.mapping_version", - "type": "alias" - }, - "follower_max_seq_no": { - "path": "elasticsearch.ccr.follower.max_seq_no", - "type": "alias" - }, - "follower_settings_version": { - "path": "elasticsearch.ccr.follower.settings_version", - "type": "alias" - }, - "last_requested_seq_no": { - "path": "elasticsearch.ccr.last_requested_seq_no", - "type": "alias" - }, - "leader_global_checkpoint": { - "path": "elasticsearch.ccr.leader.global_checkpoint", - "type": "alias" - }, - "leader_index": { - "path": "elasticsearch.ccr.leader.index", - "type": "alias" - }, - "leader_max_seq_no": { - "path": "elasticsearch.ccr.leader.max_seq_no", - "type": "alias" - }, - "operations_read": { - "path": "elasticsearch.ccr.follower.operations.read.count", - "type": "alias" - }, - "operations_written": { - "path": "elasticsearch.ccr.follower.operations_written", - "type": "alias" - }, - "outstanding_read_requests": { - "path": "elasticsearch.ccr.requests.outstanding.read.count", - "type": "alias" - }, - "outstanding_write_requests": { - "path": "elasticsearch.ccr.requests.outstanding.write.count", - "type": "alias" - }, - "remote_cluster": { - "path": "elasticsearch.ccr.remote_cluster", - "type": "alias" - }, - "shard_id": { - "path": "elasticsearch.ccr.follower.shard.number", - "type": "alias" - }, - "successful_read_requests": { - "path": "elasticsearch.ccr.requests.successful.read.count", - "type": "alias" - }, - "successful_write_requests": { - "path": "elasticsearch.ccr.requests.successful.write.count", - "type": "alias" - }, - "total_read_remote_exec_time_millis": { - "path": "elasticsearch.ccr.total_time.read.remote_exec.ms", - "type": "alias" - }, - "total_read_time_millis": { - "path": "elasticsearch.ccr.total_time.read.ms", - "type": "alias" - }, - "total_write_time_millis": { - "path": "elasticsearch.ccr.total_time.write.ms", - "type": "alias" - }, - "write_buffer_operation_count": { - "path": "elasticsearch.ccr.write_buffer.operation.count", - "type": "alias" - }, - "write_buffer_size_in_bytes": { - "path": "elasticsearch.ccr.write_buffer.size.bytes", - "type": "alias" - } - } - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "ccr": { - "properties": { - "auto_follow": { - "properties": { - "failed": { - "properties": { - "follow_indices": { - "properties": { - "count": { - "type": "long" - } - } - }, - "remote_cluster_state_requests": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "success": { - "properties": { - "follow_indices": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - }, - "bytes_read": { - "type": "long" - }, - "follower": { - "properties": { - "aliases_version": { - "type": "long" - }, - "global_checkpoint": { - "type": "long" - }, - "index": { - "ignore_above": 1024, - "type": "keyword" - }, - "mapping_version": { - "type": "long" - }, - "max_seq_no": { - "type": "long" - }, - "operations": { - "properties": { - "read": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "operations_written": { - "type": "long" - }, - "settings_version": { - "type": "long" - }, - "shard": { - "properties": { - "number": { - "type": "long" - } - } - }, - "time_since_last_read": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "last_requested_seq_no": { - "type": "long" - }, - "leader": { - "properties": { - "global_checkpoint": { - "type": "long" - }, - "index": { - "ignore_above": 1024, - "type": "keyword" - }, - "max_seq_no": { - "type": "long" - } - } - }, - "read_exceptions": { - "type": "nested" - }, - "remote_cluster": { - "ignore_above": 1024, - "type": "keyword" - }, - "requests": { - "properties": { - "failed": { - "properties": { - "read": { - "properties": { - "count": { - "type": "long" - } - } - }, - "write": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "outstanding": { - "properties": { - "read": { - "properties": { - "count": { - "type": "long" - } - } - }, - "write": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "successful": { - "properties": { - "read": { - "properties": { - "count": { - "type": "long" - } - } - }, - "write": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - }, - "shard_id": { - "type": "long" - }, - "total_time": { - "properties": { - "read": { - "properties": { - "ms": { - "type": "long" - }, - "remote_exec": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "write": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "write_buffer": { - "properties": { - "operation": { - "properties": { - "count": { - "type": "long" - } - } - }, - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.ccr.remote_cluster", - "elasticsearch.ccr.leader.index", - "elasticsearch.ccr.follower.index", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} diff --git a/x-pack/test/functional/es_archives/monitoring/singlecluster_green_platinum_mb/data.json.gz b/x-pack/test/functional/es_archives/monitoring/singlecluster_green_platinum_mb/data.json.gz deleted file mode 100644 index afcf34d7c906e..0000000000000 Binary files a/x-pack/test/functional/es_archives/monitoring/singlecluster_green_platinum_mb/data.json.gz and /dev/null differ diff --git a/x-pack/test/functional/es_archives/monitoring/singlecluster_green_platinum_package/data.json.gz b/x-pack/test/functional/es_archives/monitoring/singlecluster_green_platinum_package/data.json.gz deleted file mode 100644 index e6edf706a6fc7..0000000000000 Binary files a/x-pack/test/functional/es_archives/monitoring/singlecluster_green_platinum_package/data.json.gz and /dev/null differ diff --git a/x-pack/test/functional/es_archives/monitoring/singlecluster_green_platinum_package/mappings.json b/x-pack/test/functional/es_archives/monitoring/singlecluster_green_platinum_package/mappings.json deleted file mode 100644 index 5684702273ac7..0000000000000 --- a/x-pack/test/functional/es_archives/monitoring/singlecluster_green_platinum_package/mappings.json +++ /dev/null @@ -1,7138 +0,0 @@ -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.cluster_stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.cluster_stats-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.cluster_stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_state": { - "properties": { - "master_node": { - "path": "elasticsearch.cluster.stats.state.master_node", - "type": "alias" - }, - "nodes_hash": { - "path": "elasticsearch.cluster.stats.state.nodes_hash", - "type": "alias" - }, - "state_uuid": { - "path": "elasticsearch.cluster.stats.state.state_uuid", - "type": "alias" - }, - "status": { - "path": "elasticsearch.cluster.stats.status", - "type": "alias" - }, - "version": { - "path": "elasticsearch.cluster.stats.state.version", - "type": "alias" - } - } - }, - "cluster_stats": { - "properties": { - "indices": { - "properties": { - "count": { - "path": "elasticsearch.cluster.stats.indices.total", - "type": "alias" - }, - "shards": { - "properties": { - "total": { - "path": "elasticsearch.cluster.stats.indices.shards.count", - "type": "alias" - } - } - } - } - }, - "nodes": { - "properties": { - "count": { - "properties": { - "total": { - "path": "elasticsearch.cluster.stats.nodes.count", - "type": "alias" - } - } - }, - "jvm": { - "properties": { - "max_uptime_in_millis": { - "path": "elasticsearch.cluster.stats.nodes.jvm.max_uptime.ms", - "type": "alias" - }, - "mem": { - "properties": { - "heap_max_in_bytes": { - "path": "elasticsearch.cluster.stats.nodes.jvm.memory.heap.max.bytes", - "type": "alias" - }, - "heap_used_in_bytes": { - "path": "elasticsearch.cluster.stats.nodes.jvm.memory.heap.used.bytes", - "type": "alias" - } - } - } - } - } - } - } - } - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "stats": { - "properties": { - "indices": { - "properties": { - "docs": { - "properties": { - "total": { - "type": "long" - } - } - }, - "fielddata": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "shards": { - "properties": { - "count": { - "type": "long" - }, - "primaries": { - "type": "long" - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "total": { - "type": "long" - } - } - }, - "license": { - "properties": { - "cluster_needs_tls": { - "type": "boolean" - }, - "expiry_date": { - "type": "date" - }, - "expiry_date_in_millis": { - "type": "long" - }, - "issue_date": { - "type": "date" - }, - "issue_date_in_millis": { - "type": "long" - }, - "issued_to": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "max_nodes": { - "type": "long" - }, - "start_date_in_millis": { - "type": "long" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "nodes": { - "properties": { - "count": { - "type": "long" - }, - "data": { - "type": "long" - }, - "fs": { - "properties": { - "available": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "jvm": { - "properties": { - "max_uptime": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "memory": { - "properties": { - "heap": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "master": { - "type": "long" - }, - "stats": { - "properties": { - "data": { - "type": "long" - } - } - }, - "versions": { - "type": "text" - } - } - }, - "stack": { - "properties": { - "apm": { - "properties": { - "found": { - "type": "boolean" - } - } - }, - "xpack": { - "properties": { - "ccr": { - "properties": { - "available": { - "type": "boolean" - }, - "enabled": { - "type": "boolean" - } - } - } - } - } - } - }, - "state": { - "properties": { - "master_node": { - "ignore_above": 1024, - "type": "keyword" - }, - "nodes": { - "type": "flattened" - }, - "nodes_hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "license": { - "properties": { - "status": { - "path": "elasticsearch.cluster.stats.license.status", - "type": "alias" - }, - "type": { - "path": "elasticsearch.cluster.stats.license.type", - "type": "alias" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "stack_stats": { - "properties": { - "apm": { - "properties": { - "found": { - "path": "elasticsearch.cluster.stats.stack.apm.found", - "type": "alias" - } - } - }, - "xpack": { - "properties": { - "ccr": { - "properties": { - "available": { - "path": "elasticsearch.cluster.stats.stack.xpack.ccr.available", - "type": "alias" - }, - "enabled": { - "path": "elasticsearch.cluster.stats.stack.xpack.ccr.enabled", - "type": "alias" - } - } - } - } - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.cluster.stats.version", - "elasticsearch.cluster.stats.state.nodes_hash", - "elasticsearch.cluster.stats.state.master_node", - "elasticsearch.cluster.stats.state.version", - "elasticsearch.cluster.stats.state.state_uuid", - "elasticsearch.cluster.stats.status", - "elasticsearch.cluster.stats.nodes.versions", - "elasticsearch.cluster.stats.license.issued_to", - "elasticsearch.cluster.stats.license.issuer", - "elasticsearch.cluster.stats.license.status", - "elasticsearch.cluster.stats.license.type", - "elasticsearch.cluster.stats.license.uid", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.version", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.enrich-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.enrich-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.enrich", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "enrich": { - "properties": { - "executed_searches": { - "properties": { - "total": { - "type": "long" - } - } - }, - "executing_policy": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "task": { - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "cancellable": { - "type": "boolean" - }, - "id": { - "type": "long" - }, - "parent_task_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "task": { - "ignore_above": 1024, - "type": "keyword" - }, - "time": { - "properties": { - "running": { - "properties": { - "nano": { - "type": "long" - } - } - }, - "start": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "queue": { - "properties": { - "size": { - "type": "long" - } - } - }, - "remote_requests": { - "properties": { - "current": { - "type": "long" - }, - "total": { - "type": "long" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.enrich.executing_policy.name", - "elasticsearch.enrich.executing_policy.task.task", - "elasticsearch.enrich.executing_policy.task.action", - "elasticsearch.enrich.executing_policy.task.parent_task_id", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.index-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.index-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.index", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "index": { - "properties": { - "created": { - "type": "long" - }, - "hidden": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "primaries": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "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": { - "hit_count": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - }, - "miss_count": { - "type": "long" - } - } - }, - "refresh": { - "properties": { - "external_total_time_in_millis": { - "type": "long" - }, - "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": "long" - }, - "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" - } - } - } - } - }, - "shards": { - "properties": { - "primaries": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "properties": { - "bulk": { - "properties": { - "avg_size_in_bytes": { - "type": "long" - }, - "avg_time_in_millis": { - "type": "long" - }, - "total_operations": { - "type": "long" - }, - "total_size_in_bytes": { - "type": "long" - }, - "total_time_in_millis": { - "type": "long" - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "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": { - "external_total_time_in_millis": { - "type": "long" - }, - "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": "long" - }, - "doc_values_memory_in_bytes": { - "type": "long" - }, - "fixed_bit_set_memory_in_bytes": { - "type": "long" - }, - "index_writer_memory_in_bytes": { - "type": "long" - }, - "memory": { - "properties": { - "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": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "size_in_bytes": { - "type": "long" - } - } - } - } - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "index_stats": { - "properties": { - "index": { - "path": "elasticsearch.index.name", - "type": "alias" - }, - "primaries": { - "properties": { - "docs": { - "properties": { - "count": { - "path": "elasticsearch.index.primaries.docs.count", - "type": "alias" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.index.primaries.indexing.index_time_in_millis", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.index.primaries.indexing.index_total", - "type": "alias" - }, - "throttle_time_in_millis": { - "path": "elasticsearch.index.primaries.indexing.throttle_time_in_millis", - "type": "alias" - } - } - }, - "merges": { - "properties": { - "total_size_in_bytes": { - "path": "elasticsearch.index.primaries.merges.total_size_in_bytes", - "type": "alias" - } - } - }, - "refresh": { - "properties": { - "total_time_in_millis": { - "path": "elasticsearch.index.primaries.refresh.total_time_in_millis", - "type": "alias" - } - } - }, - "segments": { - "properties": { - "count": { - "path": "elasticsearch.index.primaries.segments.count", - "type": "alias" - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "path": "elasticsearch.index.primaries.store.size_in_bytes", - "type": "alias" - } - } - } - } - }, - "total": { - "properties": { - "fielddata": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.index.total.fielddata.memory_size_in_bytes", - "type": "alias" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.index.total.indexing.index_time_in_millis", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.index.total.indexing.index_total", - "type": "alias" - }, - "throttle_time_in_millis": { - "path": "elasticsearch.index.total.indexing.throttle_time_in_millis", - "type": "alias" - } - } - }, - "merges": { - "properties": { - "total_size_in_bytes": { - "path": "elasticsearch.index.total.merges.total_size_in_bytes", - "type": "alias" - } - } - }, - "query_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.index.total.query_cache.memory_size_in_bytes", - "type": "alias" - } - } - }, - "refresh": { - "properties": { - "total_time_in_millis": { - "path": "elasticsearch.index.total.refresh.total_time_in_millis", - "type": "alias" - } - } - }, - "request_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.index.total.request_cache.memory_size_in_bytes", - "type": "alias" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "path": "elasticsearch.index.total.search.query_time_in_millis", - "type": "alias" - }, - "query_total": { - "path": "elasticsearch.index.total.search.query_total", - "type": "alias" - } - } - }, - "segments": { - "properties": { - "count": { - "path": "elasticsearch.index.total.segments.count", - "type": "alias" - }, - "doc_values_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.doc_values_memory_in_bytes", - "type": "alias" - }, - "fixed_bit_set_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.fixed_bit_set_memory_in_bytes", - "type": "alias" - }, - "index_writer_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.index_writer_memory_in_bytes", - "type": "alias" - }, - "memory_in_bytes": { - "path": "elasticsearch.index.total.segments.memory_in_bytes", - "type": "alias" - }, - "norms_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.norms_memory_in_bytes", - "type": "alias" - }, - "points_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.points_memory_in_bytes", - "type": "alias" - }, - "stored_fields_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.stored_fields_memory_in_bytes", - "type": "alias" - }, - "term_vectors_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.term_vectors_memory_in_bytes", - "type": "alias" - }, - "terms_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.terms_memory_in_bytes", - "type": "alias" - }, - "version_map_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.version_map_memory_in_bytes", - "type": "alias" - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "path": "elasticsearch.index.total.store.size_in_bytes", - "type": "alias" - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.index.uuid", - "elasticsearch.index.status", - "elasticsearch.index.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.index_recovery-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.index_recovery-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.index_recovery", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "index": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "recovery": { - "properties": { - "id": { - "type": "long" - }, - "index": { - "properties": { - "files": { - "properties": { - "percent": { - "ignore_above": 1024, - "type": "keyword" - }, - "recovered": { - "type": "long" - }, - "reused": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "size": { - "properties": { - "recovered_in_bytes": { - "type": "long" - }, - "reused_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "primary": { - "type": "boolean" - }, - "source": { - "properties": { - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport_address": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "stage": { - "ignore_above": 1024, - "type": "keyword" - }, - "start_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "stop_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "target": { - "properties": { - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport_address": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "total_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "translog": { - "properties": { - "percent": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "type": "long" - }, - "total_on_start": { - "type": "long" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "verify_index": { - "properties": { - "check_index_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "total_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "index_recovery": { - "properties": { - "shards": { - "properties": { - "start_time_in_millis": { - "path": "elasticsearch.index.recovery.start_time.ms", - "type": "alias" - }, - "stop_time_in_millis": { - "path": "elasticsearch.index.recovery.stop_time.ms", - "type": "alias" - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.index.name", - "elasticsearch.index.recovery.index.files.percent", - "elasticsearch.index.recovery.name", - "elasticsearch.index.recovery.type", - "elasticsearch.index.recovery.stage", - "elasticsearch.index.recovery.translog.percent", - "elasticsearch.index.recovery.target.transport_address", - "elasticsearch.index.recovery.target.id", - "elasticsearch.index.recovery.target.host", - "elasticsearch.index.recovery.target.name", - "elasticsearch.index.recovery.source.transport_address", - "elasticsearch.index.recovery.source.id", - "elasticsearch.index.recovery.source.host", - "elasticsearch.index.recovery.source.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.index_summary-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.index_summary-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.index_summary", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "index": { - "properties": { - "summary": { - "properties": { - "primaries": { - "properties": { - "bulk": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - }, - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "time": { - "properties": { - "avg": { - "properties": { - "bytes": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - }, - "count": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "search": { - "properties": { - "query": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "segments": { - "properties": { - "count": { - "type": "long" - }, - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "total": { - "properties": { - "bulk": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - }, - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "time": { - "properties": { - "avg": { - "properties": { - "bytes": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "is_throttled": { - "type": "boolean" - }, - "throttle_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "search": { - "properties": { - "query": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "segments": { - "properties": { - "count": { - "type": "long" - }, - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "indices_stats": { - "properties": { - "_all": { - "properties": { - "primaries": { - "properties": { - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.index.summary.primaries.indexing.index.time.ms", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.index.summary.primaries.indexing.index.count", - "type": "alias" - } - } - } - } - }, - "total": { - "properties": { - "indexing": { - "properties": { - "index_total": { - "path": "elasticsearch.index.summary.total.indexing.index.count", - "type": "alias" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "path": "elasticsearch.index.summary.total.search.query.time.ms", - "type": "alias" - }, - "query_total": { - "path": "elasticsearch.index.summary.total.search.query.count", - "type": "alias" - } - } - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.node-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.node-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.node", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "jvm": { - "properties": { - "memory": { - "properties": { - "heap": { - "properties": { - "init": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "nonheap": { - "properties": { - "init": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "process": { - "properties": { - "mlockall": { - "type": "boolean" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.node.version", - "elasticsearch.node.jvm.version", - "elasticsearch.node.id", - "elasticsearch.node.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.node_stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.node_stats-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.node_stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "stats": { - "properties": { - "fs": { - "properties": { - "io_stats": { - "properties": { - "total": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - }, - "read": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "write": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "summary": { - "properties": { - "available": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "free": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "total": { - "properties": { - "available_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - } - } - } - } - }, - "indexing_pressure": { - "properties": { - "memory": { - "properties": { - "current": { - "properties": { - "all": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "combined_coordinating_and_primary": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "coordinating": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "primary": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "replica": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "limit_in_bytes": { - "type": "long" - }, - "total": { - "properties": { - "all": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "combined_coordinating_and_primary": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "coordinating": { - "properties": { - "bytes": { - "type": "long" - }, - "rejections": { - "type": "long" - } - } - }, - "primary": { - "properties": { - "bytes": { - "type": "long" - }, - "rejections": { - "type": "long" - } - } - }, - "replica": { - "properties": { - "bytes": { - "type": "long" - }, - "rejections": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "indices": { - "properties": { - "bulk": { - "properties": { - "avg_size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "avg_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "operations": { - "properties": { - "total": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "total_size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "type": "long" - } - } - }, - "fielddata": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "indexing": { - "properties": { - "index_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "index_total": { - "properties": { - "count": { - "type": "long" - } - } - }, - "throttle_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "query_cache": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "request_cache": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "search": { - "properties": { - "query_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "query_total": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "segments": { - "properties": { - "count": { - "type": "long" - }, - "doc_values": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "fixed_bit_set": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "index_writer": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "norms": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "points": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "stored_fields": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "term_vectors": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "terms": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "version_map": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "ingest": { - "properties": { - "total": { - "properties": { - "count": { - "type": "long" - }, - "current": { - "type": "long" - }, - "failed": { - "type": "long" - }, - "time_in_millis": { - "type": "long" - } - } - } - } - }, - "jvm": { - "properties": { - "gc": { - "properties": { - "collectors": { - "properties": { - "old": { - "properties": { - "collection": { - "properties": { - "count": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - } - } - }, - "young": { - "properties": { - "collection": { - "properties": { - "count": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "mem": { - "properties": { - "heap": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - }, - "pct": { - "type": "double" - } - } - } - } - }, - "pools": { - "properties": { - "old": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak_max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "survivor": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak_max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "young": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak_max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - } - } - } - } - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs": { - "properties": { - "quota": { - "properties": { - "us": { - "type": "long" - } - } - } - } - }, - "stat": { - "properties": { - "elapsed_periods": { - "properties": { - "count": { - "type": "long" - } - } - }, - "time_throttled": { - "properties": { - "ns": { - "type": "long" - } - } - }, - "times_throttled": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - }, - "cpuacct": { - "properties": { - "usage": { - "properties": { - "ns": { - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "control_group": { - "ignore_above": 1024, - "type": "keyword" - }, - "limit": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "usage": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "cpu": { - "properties": { - "load_avg": { - "properties": { - "1m": { - "type": "half_float" - } - } - } - } - } - } - }, - "process": { - "properties": { - "cpu": { - "properties": { - "pct": { - "type": "double" - } - } - } - } - }, - "thread_pool": { - "properties": { - "bulk": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "get": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "index": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "search": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "write": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - } - } - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "node_stats": { - "properties": { - "fs": { - "properties": { - "io_stats": { - "properties": { - "total": { - "properties": { - "operations": { - "path": "elasticsearch.node.stats.fs.io_stats.total.operations.count", - "type": "alias" - }, - "read_operations": { - "path": "elasticsearch.node.stats.fs.io_stats.total.read.operations.count", - "type": "alias" - }, - "write_operations": { - "path": "elasticsearch.node.stats.fs.io_stats.total.write.operations.count", - "type": "alias" - } - } - } - } - }, - "summary": { - "properties": { - "available": { - "properties": { - "bytes": { - "path": "elasticsearch.node.stats.fs.summary.available.bytes", - "type": "alias" - } - } - }, - "total": { - "properties": { - "bytes": { - "path": "elasticsearch.node.stats.fs.summary.total.bytes", - "type": "alias" - } - } - } - } - }, - "total": { - "properties": { - "available_in_bytes": { - "path": "elasticsearch.node.stats.fs.summary.available.bytes", - "type": "alias" - }, - "total_in_bytes": { - "path": "elasticsearch.node.stats.fs.summary.total.bytes", - "type": "alias" - } - } - } - } - }, - "indices": { - "properties": { - "docs": { - "properties": { - "count": { - "path": "elasticsearch.node.stats.indices.docs.count", - "type": "alias" - } - } - }, - "fielddata": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.node.stats.indices.fielddata.memory.bytes", - "type": "alias" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.node.stats.indices.indexing.index_time.ms", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.node.stats.indices.indexing.index_total.count", - "type": "alias" - }, - "throttle_time_in_millis": { - "path": "elasticsearch.node.stats.indices.indexing.throttle_time.ms", - "type": "alias" - } - } - }, - "query_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.node.stats.indices.query_cache.memory.bytes", - "type": "alias" - } - } - }, - "request_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.node.stats.indices.request_cache.memory.bytes", - "type": "alias" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "path": "elasticsearch.node.stats.indices.search.query_time.ms", - "type": "alias" - }, - "query_total": { - "path": "elasticsearch.node.stats.indices.search.query_total.count", - "type": "alias" - } - } - }, - "segments": { - "properties": { - "count": { - "path": "elasticsearch.node.stats.indices.segments.count", - "type": "alias" - }, - "doc_values_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.doc_values.memory.bytes", - "type": "alias" - }, - "fixed_bit_set_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.fixed_bit_set.memory.bytes", - "type": "alias" - }, - "index_writer_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.index_writer.memory.bytes", - "type": "alias" - }, - "memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.memory.bytes", - "type": "alias" - }, - "norms_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.norms.memory.bytes", - "type": "alias" - }, - "points_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.points.memory.bytes", - "type": "alias" - }, - "stored_fields_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.stored_fields.memory.bytes", - "type": "alias" - }, - "term_vectors_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.term_vectors.memory.bytes", - "type": "alias" - }, - "terms_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.terms.memory.bytes", - "type": "alias" - }, - "version_map_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.version_map.memory.bytes", - "type": "alias" - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "path": "elasticsearch.node.stats.indices.store.size.bytes", - "type": "alias" - } - } - }, - "size_in_bytes": { - "path": "elasticsearch.node.stats.indices.store.size.bytes", - "type": "alias" - } - } - } - } - }, - "jvm": { - "properties": { - "gc": { - "properties": { - "collectors": { - "properties": { - "old": { - "properties": { - "collection_count": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.old.collection.count", - "type": "alias" - }, - "collection_time_in_millis": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.old.collection.ms", - "type": "alias" - } - } - }, - "young": { - "properties": { - "collection_count": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.young.collection.count", - "type": "alias" - }, - "collection_time_in_millis": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.young.collection.ms", - "type": "alias" - } - } - } - } - } - } - }, - "mem": { - "properties": { - "heap_max_in_bytes": { - "path": "elasticsearch.node.stats.jvm.mem.heap.max.bytes", - "type": "alias" - }, - "heap_used_in_bytes": { - "path": "elasticsearch.node.stats.jvm.mem.heap.used.bytes", - "type": "alias" - }, - "heap_used_percent": { - "path": "elasticsearch.node.stats.jvm.mem.heap.used.pct", - "type": "alias" - } - } - } - } - }, - "node_id": { - "path": "elasticsearch.node.id", - "type": "alias" - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs_quota_micros": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.cfs.quota.us", - "type": "alias" - }, - "stat": { - "properties": { - "number_of_elapsed_periods": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.stat.elapsed_periods.count", - "type": "alias" - }, - "number_of_times_throttled": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.stat.times_throttled.count", - "type": "alias" - }, - "time_throttled_nanos": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.stat.time_throttled.ns", - "type": "alias" - } - } - } - } - }, - "cpuacct": { - "properties": { - "usage_nanos": { - "path": "elasticsearch.node.stats.os.cgroup.cpuacct.usage.ns", - "type": "alias" - } - } - }, - "memory": { - "properties": { - "control_group": { - "path": "elasticsearch.node.stats.os.cgroup.memory.control_group", - "type": "alias" - }, - "limit_in_bytes": { - "path": "elasticsearch.node.stats.os.cgroup.memory.limit.bytes", - "type": "alias" - }, - "usage_in_bytes": { - "path": "elasticsearch.node.stats.os.cgroup.memory.usage.bytes", - "type": "alias" - } - } - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "1m": { - "path": "elasticsearch.node.stats.os.cpu.load_avg.1m", - "type": "alias" - } - } - } - } - } - } - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "path": "elasticsearch.node.stats.process.cpu.pct", - "type": "alias" - } - } - } - } - }, - "thread_pool": { - "properties": { - "bulk": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.bulk.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.bulk.rejected.count", - "type": "alias" - } - } - }, - "get": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.get.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.get.rejected.count", - "type": "alias" - } - } - }, - "index": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.index.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.index.rejected.count", - "type": "alias" - } - } - }, - "search": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.search.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.search.rejected.count", - "type": "alias" - } - } - }, - "write": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.write.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.write.rejected.count", - "type": "alias" - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.node.stats.os.cgroup.memory.control_group", - "elasticsearch.node.stats.os.cgroup.memory.limit.bytes", - "elasticsearch.node.stats.os.cgroup.memory.usage.bytes", - "elasticsearch.node.id", - "elasticsearch.node.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.shard-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.shard-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.shard", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "stats": { - "properties": { - "state": { - "properties": { - "state_uuid": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "index": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "shard": { - "properties": { - "number": { - "type": "long" - }, - "primary": { - "type": "boolean" - }, - "relocating_node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "shard": { - "properties": { - "index": { - "path": "elasticsearch.index.name", - "type": "alias" - }, - "node": { - "path": "elasticsearch.node.id", - "type": "alias" - }, - "primary": { - "path": "elasticsearch.shard.primary", - "type": "alias" - }, - "shard": { - "path": "elasticsearch.shard.number", - "type": "alias" - }, - "state": { - "path": "elasticsearch.shard.state", - "type": "alias" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.shard.state", - "elasticsearch.shard.relocating_node.name", - "elasticsearch.shard.relocating_node.id", - "elasticsearch.shard.source_node.name", - "elasticsearch.shard.source_node.uuid", - "elasticsearch.index.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.cluster.stats.state.state_uuid", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.cluster_actions-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.cluster_actions-*" - ], - "name": "metrics-kibana.stack_monitoring.cluster_actions", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "cluster_actions": { - "properties": { - "overdue": { - "properties": { - "count": { - "type": "long" - }, - "delay": { - "properties": { - "p50": { - "type": "float" - }, - "p99": { - "type": "float" - } - } - } - } - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.cluster_rules-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.cluster_rules-*" - ], - "name": "metrics-kibana.stack_monitoring.cluster_rules", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "cluster_rules": { - "properties": { - "overdue": { - "properties": { - "count": { - "type": "long" - }, - "delay": { - "properties": { - "p50": { - "type": "float" - }, - "p99": { - "type": "float" - } - } - } - } - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.node_actions-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.node_actions-*" - ], - "name": "metrics-kibana.stack_monitoring.node_actions", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node_actions": { - "properties": { - "executions": { - "type": "long" - }, - "failures": { - "type": "long" - }, - "timeouts": { - "type": "long" - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.node_rules-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.node_rules-*" - ], - "name": "metrics-kibana.stack_monitoring.node_rules", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node_rules": { - "properties": { - "executions": { - "type": "long" - }, - "failures": { - "type": "long" - }, - "timeouts": { - "type": "long" - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.stats-*" - ], - "name": "metrics-kibana.stack_monitoring.stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "stats": { - "properties": { - "concurrent_connections": { - "type": "long" - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "index": { - "ignore_above": 1024, - "type": "keyword" - }, - "kibana": { - "properties": { - "status": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "distro": { - "ignore_above": 1024, - "type": "keyword" - }, - "distroRelease": { - "ignore_above": 1024, - "type": "keyword" - }, - "load": { - "properties": { - "15m": { - "type": "half_float" - }, - "1m": { - "type": "half_float" - }, - "5m": { - "type": "half_float" - } - } - }, - "memory": { - "properties": { - "free_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - }, - "used_in_bytes": { - "type": "long" - } - } - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "platformRelease": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "process": { - "properties": { - "event_loop_delay": { - "properties": { - "ms": { - "scaling_factor": 1000, - "type": "scaled_float" - } - } - }, - "memory": { - "properties": { - "heap": { - "properties": { - "size_limit": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "uptime": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "resident_set_size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "uptime": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "request": { - "properties": { - "disconnects": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "response_time": { - "properties": { - "avg": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "max": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "snapshot": { - "type": "boolean" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport_address": { - "ignore_above": 1024, - "type": "keyword" - }, - "usage": { - "properties": { - "index": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "kibana_stats": { - "properties": { - "concurrent_connections": { - "path": "kibana.stats.concurrent_connections", - "type": "alias" - }, - "kibana": { - "properties": { - "response_time": { - "properties": { - "max": { - "path": "kibana.stats.response_time.max.ms", - "type": "alias" - } - } - }, - "status": { - "path": "kibana.stats.status", - "type": "alias" - }, - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "os": { - "properties": { - "load": { - "properties": { - "15m": { - "path": "kibana.stats.os.load.15m", - "type": "alias" - }, - "1m": { - "path": "kibana.stats.os.load.1m", - "type": "alias" - }, - "5m": { - "path": "kibana.stats.os.load.5m", - "type": "alias" - } - } - }, - "memory": { - "properties": { - "free_in_bytes": { - "path": "kibana.stats.os.memory.free_in_bytes", - "type": "alias" - } - } - } - } - }, - "process": { - "properties": { - "event_loop_delay": { - "path": "kibana.stats.process.event_loop_delay.ms", - "type": "alias" - }, - "memory": { - "properties": { - "heap": { - "properties": { - "size_limit": { - "path": "kibana.stats.process.memory.heap.size_limit.bytes", - "type": "alias" - } - } - }, - "resident_set_size_in_bytes": { - "path": "kibana.stats.process.memory.resident_set_size.bytes", - "type": "alias" - } - } - }, - "uptime_in_millis": { - "path": "kibana.stats.process.uptime.ms", - "type": "alias" - } - } - }, - "requests": { - "properties": { - "disconnects": { - "path": "kibana.stats.request.disconnects", - "type": "alias" - }, - "total": { - "path": "kibana.stats.request.total", - "type": "alias" - } - } - }, - "response_times": { - "properties": { - "average": { - "path": "kibana.stats.response_time.avg.ms", - "type": "alias" - }, - "max": { - "path": "kibana.stats.response_time.max.ms", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id", - "kibana.stats.kibana.status", - "kibana.stats.usage.index", - "kibana.stats.name", - "kibana.stats.index", - "kibana.stats.host.name", - "kibana.stats.status", - "kibana.stats.transport_address", - "kibana.stats.os.distro", - "kibana.stats.os.distroRelease", - "kibana.stats.os.platform", - "kibana.stats.os.platformRelease" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.status-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.status-*" - ], - "name": "metrics-kibana.stack_monitoring.status", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - } - } - }, - "kibana": { - "properties": { - "status": { - "properties": { - "metrics": { - "properties": { - "concurrent_connections": { - "type": "long" - }, - "requests": { - "properties": { - "disconnects": { - "type": "long" - }, - "total": { - "type": "long" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "properties": { - "overall": { - "properties": { - "state": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.name", - "service.version", - "service.type", - "service.address", - "ecs.version", - "error.message", - "kibana.status.name", - "kibana.status.status.overall.state" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-logstash.stack_monitoring.node-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-logstash.stack_monitoring.node-*" - ], - "name": "metrics-logstash.stack_monitoring.node", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "logstash.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "logstash": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "jvm": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "properties": { - "pipeline": { - "properties": { - "batch_size": { - "type": "long" - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "representation": { - "properties": { - "graph": { - "properties": { - "edges": { - "type": "object" - }, - "vertices": { - "type": "object" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "workers": { - "type": "long" - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "logstash_state": { - "properties": { - "pipeline": { - "properties": { - "hash": { - "path": "logstash.node.state.pipeline.hash", - "type": "alias" - }, - "id": { - "path": "logstash.node.state.pipeline.id", - "type": "alias" - } - } - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.hostname", - "service.id", - "service.type", - "service.version", - "service.address", - "service.name", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "logstash.cluster.id", - "logstash.elasticsearch.cluster.id", - "logstash.node.jvm.version", - "logstash.node.host", - "logstash.node.version", - "logstash.node.id", - "logstash.node.state.pipeline.id", - "logstash.node.state.pipeline.hash", - "logstash.node.state.pipeline.ephemeral_id", - "logstash.node.state.pipeline.representation.hash", - "logstash.node.state.pipeline.representation.type", - "logstash.node.state.pipeline.representation.version" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-logstash.stack_monitoring.node_stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-logstash.stack_monitoring.node_stats-*" - ], - "name": "metrics-logstash.stack_monitoring.node_stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "logstash.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "logstash": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "state": { - "properties": { - "pipeline": { - "properties": { - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "stats": { - "properties": { - "events": { - "properties": { - "duration_in_millis": { - "type": "long" - }, - "filtered": { - "type": "long" - }, - "in": { - "type": "long" - }, - "out": { - "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": "long" - } - } - }, - "uptime_in_millis": { - "type": "long" - } - } - }, - "logstash": { - "properties": { - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "http_address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "pipeline": { - "properties": { - "batch_size": { - "type": "long" - }, - "workers": { - "type": "long" - } - } - }, - "snapshot": { - "type": "boolean" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs_quota_micros": { - "type": "long" - }, - "control_group": { - "type": "text" - }, - "stat": { - "type": "object" - } - } - }, - "cpuacct": { - "type": "object" - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "15m": { - "type": "half_float" - }, - "1m": { - "type": "half_float" - }, - "5m": { - "type": "half_float" - } - } - }, - "percent": { - "type": "double" - } - } - } - } - }, - "pipelines": { - "properties": { - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "events": { - "properties": { - "duration_in_millis": { - "type": "long" - }, - "filtered": { - "type": "long" - }, - "in": { - "type": "long" - }, - "out": { - "type": "long" - }, - "queue_push_duration_in_millis": { - "type": "long" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "queue": { - "properties": { - "events_count": { - "type": "long" - }, - "max_queue_size_in_bytes": { - "type": "long" - }, - "queue_size_in_bytes": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "reloads": { - "properties": { - "failures": { - "type": "long" - }, - "successes": { - "type": "long" - } - } - }, - "vertices": { - "properties": { - "duration_in_millis": { - "type": "long" - }, - "events_in": { - "type": "long" - }, - "events_out": { - "type": "long" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "long_counters": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "value": { - "type": "long" - } - }, - "type": "nested" - }, - "pipeline_ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "queue_push_duration_in_millis": { - "type": "long" - } - }, - "type": "nested" - } - }, - "type": "nested" - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "type": "double" - } - } - }, - "max_file_descriptors": { - "type": "long" - }, - "open_file_descriptors": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "events_count": { - "type": "long" - } - } - }, - "reloads": { - "properties": { - "failures": { - "type": "long" - }, - "successes": { - "type": "long" - } - } - }, - "timestamp": { - "type": "date" - } - } - } - } - } - } - }, - "logstash_stats": { - "properties": { - "events": { - "properties": { - "duration_in_millis": { - "path": "logstash.node.stats.events.duration_in_millis", - "type": "alias" - }, - "in": { - "path": "logstash.node.stats.events.in", - "type": "alias" - }, - "out": { - "path": "logstash.node.stats.events.out", - "type": "alias" - } - } - }, - "jvm": { - "properties": { - "mem": { - "properties": { - "heap_max_in_bytes": { - "path": "logstash.node.stats.jvm.mem.heap_max_in_bytes", - "type": "alias" - }, - "heap_used_in_bytes": { - "path": "logstash.node.stats.jvm.mem.heap_used_in_bytes", - "type": "alias" - } - } - }, - "uptime_in_millis": { - "path": "logstash.node.stats.jvm.uptime_in_millis", - "type": "alias" - } - } - }, - "logstash": { - "properties": { - "uuid": { - "path": "logstash.node.stats.logstash.uuid", - "type": "alias" - }, - "version": { - "path": "logstash.node.stats.logstash.version", - "type": "alias" - } - } - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpuacct": { - "type": "object" - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "15m": { - "path": "logstash.node.stats.os.cpu.load_average.15m", - "type": "alias" - }, - "1m": { - "path": "logstash.node.stats.os.cpu.load_average.1m", - "type": "alias" - }, - "5m": { - "path": "logstash.node.stats.os.cpu.load_average.5m", - "type": "alias" - } - } - }, - "stat": { - "type": "object" - } - } - } - } - }, - "pipelines": { - "type": "nested" - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "path": "logstash.node.stats.process.cpu.percent", - "type": "alias" - } - } - } - } - }, - "queue": { - "properties": { - "events_count": { - "path": "logstash.node.stats.queue.events_count", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.hostname", - "service.id", - "service.type", - "service.version", - "service.address", - "service.name", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "logstash.elasticsearch.cluster.id", - "logstash.node.state.pipeline.id", - "logstash.node.state.pipeline.hash", - "logstash.node.stats.logstash.uuid", - "logstash.node.stats.logstash.version", - "logstash.node.stats.logstash.ephemeral_id", - "logstash.node.stats.logstash.host", - "logstash.node.stats.logstash.http_address", - "logstash.node.stats.logstash.name", - "logstash.node.stats.logstash.status", - "logstash.node.stats.os.cgroup.cpuacct.control_group", - "logstash.node.stats.os.cgroup.cpu.control_group", - "logstash.node.stats.pipelines.id", - "logstash.node.stats.pipelines.hash", - "logstash.node.stats.pipelines.ephemeral_id", - "logstash.node.stats.pipelines.queue.type", - "logstash.node.stats.pipelines.vertices.id", - "logstash.node.stats.pipelines.vertices.long_counters.name", - "logstash.node.stats.pipelines.vertices.pipeline_ephemeral_id", - "logstash.cluster.id" - ] - } - } - } - } - } - } -} diff --git a/x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation_package/data.json.gz b/x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation_package/data.json.gz deleted file mode 100644 index 87a50015dc5f7..0000000000000 Binary files a/x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation_package/data.json.gz and /dev/null differ diff --git a/x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation_package/mappings.json b/x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation_package/mappings.json deleted file mode 100644 index 5684702273ac7..0000000000000 --- a/x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation_package/mappings.json +++ /dev/null @@ -1,7138 +0,0 @@ -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.cluster_stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.cluster_stats-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.cluster_stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_state": { - "properties": { - "master_node": { - "path": "elasticsearch.cluster.stats.state.master_node", - "type": "alias" - }, - "nodes_hash": { - "path": "elasticsearch.cluster.stats.state.nodes_hash", - "type": "alias" - }, - "state_uuid": { - "path": "elasticsearch.cluster.stats.state.state_uuid", - "type": "alias" - }, - "status": { - "path": "elasticsearch.cluster.stats.status", - "type": "alias" - }, - "version": { - "path": "elasticsearch.cluster.stats.state.version", - "type": "alias" - } - } - }, - "cluster_stats": { - "properties": { - "indices": { - "properties": { - "count": { - "path": "elasticsearch.cluster.stats.indices.total", - "type": "alias" - }, - "shards": { - "properties": { - "total": { - "path": "elasticsearch.cluster.stats.indices.shards.count", - "type": "alias" - } - } - } - } - }, - "nodes": { - "properties": { - "count": { - "properties": { - "total": { - "path": "elasticsearch.cluster.stats.nodes.count", - "type": "alias" - } - } - }, - "jvm": { - "properties": { - "max_uptime_in_millis": { - "path": "elasticsearch.cluster.stats.nodes.jvm.max_uptime.ms", - "type": "alias" - }, - "mem": { - "properties": { - "heap_max_in_bytes": { - "path": "elasticsearch.cluster.stats.nodes.jvm.memory.heap.max.bytes", - "type": "alias" - }, - "heap_used_in_bytes": { - "path": "elasticsearch.cluster.stats.nodes.jvm.memory.heap.used.bytes", - "type": "alias" - } - } - } - } - } - } - } - } - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "stats": { - "properties": { - "indices": { - "properties": { - "docs": { - "properties": { - "total": { - "type": "long" - } - } - }, - "fielddata": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "shards": { - "properties": { - "count": { - "type": "long" - }, - "primaries": { - "type": "long" - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "total": { - "type": "long" - } - } - }, - "license": { - "properties": { - "cluster_needs_tls": { - "type": "boolean" - }, - "expiry_date": { - "type": "date" - }, - "expiry_date_in_millis": { - "type": "long" - }, - "issue_date": { - "type": "date" - }, - "issue_date_in_millis": { - "type": "long" - }, - "issued_to": { - "ignore_above": 1024, - "type": "keyword" - }, - "issuer": { - "ignore_above": 1024, - "type": "keyword" - }, - "max_nodes": { - "type": "long" - }, - "start_date_in_millis": { - "type": "long" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "uid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "nodes": { - "properties": { - "count": { - "type": "long" - }, - "data": { - "type": "long" - }, - "fs": { - "properties": { - "available": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "jvm": { - "properties": { - "max_uptime": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "memory": { - "properties": { - "heap": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "master": { - "type": "long" - }, - "stats": { - "properties": { - "data": { - "type": "long" - } - } - }, - "versions": { - "type": "text" - } - } - }, - "stack": { - "properties": { - "apm": { - "properties": { - "found": { - "type": "boolean" - } - } - }, - "xpack": { - "properties": { - "ccr": { - "properties": { - "available": { - "type": "boolean" - }, - "enabled": { - "type": "boolean" - } - } - } - } - } - } - }, - "state": { - "properties": { - "master_node": { - "ignore_above": 1024, - "type": "keyword" - }, - "nodes": { - "type": "flattened" - }, - "nodes_hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "state_uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "license": { - "properties": { - "status": { - "path": "elasticsearch.cluster.stats.license.status", - "type": "alias" - }, - "type": { - "path": "elasticsearch.cluster.stats.license.type", - "type": "alias" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "stack_stats": { - "properties": { - "apm": { - "properties": { - "found": { - "path": "elasticsearch.cluster.stats.stack.apm.found", - "type": "alias" - } - } - }, - "xpack": { - "properties": { - "ccr": { - "properties": { - "available": { - "path": "elasticsearch.cluster.stats.stack.xpack.ccr.available", - "type": "alias" - }, - "enabled": { - "path": "elasticsearch.cluster.stats.stack.xpack.ccr.enabled", - "type": "alias" - } - } - } - } - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.cluster.stats.version", - "elasticsearch.cluster.stats.state.nodes_hash", - "elasticsearch.cluster.stats.state.master_node", - "elasticsearch.cluster.stats.state.version", - "elasticsearch.cluster.stats.state.state_uuid", - "elasticsearch.cluster.stats.status", - "elasticsearch.cluster.stats.nodes.versions", - "elasticsearch.cluster.stats.license.issued_to", - "elasticsearch.cluster.stats.license.issuer", - "elasticsearch.cluster.stats.license.status", - "elasticsearch.cluster.stats.license.type", - "elasticsearch.cluster.stats.license.uid", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.version", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.enrich-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.enrich-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.enrich", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "enrich": { - "properties": { - "executed_searches": { - "properties": { - "total": { - "type": "long" - } - } - }, - "executing_policy": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "task": { - "properties": { - "action": { - "ignore_above": 1024, - "type": "keyword" - }, - "cancellable": { - "type": "boolean" - }, - "id": { - "type": "long" - }, - "parent_task_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "task": { - "ignore_above": 1024, - "type": "keyword" - }, - "time": { - "properties": { - "running": { - "properties": { - "nano": { - "type": "long" - } - } - }, - "start": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "queue": { - "properties": { - "size": { - "type": "long" - } - } - }, - "remote_requests": { - "properties": { - "current": { - "type": "long" - }, - "total": { - "type": "long" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.enrich.executing_policy.name", - "elasticsearch.enrich.executing_policy.task.task", - "elasticsearch.enrich.executing_policy.task.action", - "elasticsearch.enrich.executing_policy.task.parent_task_id", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.index-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.index-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.index", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "index": { - "properties": { - "created": { - "type": "long" - }, - "hidden": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "primaries": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "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": { - "hit_count": { - "type": "long" - }, - "memory_size_in_bytes": { - "type": "long" - }, - "miss_count": { - "type": "long" - } - } - }, - "refresh": { - "properties": { - "external_total_time_in_millis": { - "type": "long" - }, - "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": "long" - }, - "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" - } - } - } - } - }, - "shards": { - "properties": { - "primaries": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "properties": { - "bulk": { - "properties": { - "avg_size_in_bytes": { - "type": "long" - }, - "avg_time_in_millis": { - "type": "long" - }, - "total_operations": { - "type": "long" - }, - "total_size_in_bytes": { - "type": "long" - }, - "total_time_in_millis": { - "type": "long" - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "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": { - "external_total_time_in_millis": { - "type": "long" - }, - "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": "long" - }, - "doc_values_memory_in_bytes": { - "type": "long" - }, - "fixed_bit_set_memory_in_bytes": { - "type": "long" - }, - "index_writer_memory_in_bytes": { - "type": "long" - }, - "memory": { - "properties": { - "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": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "size_in_bytes": { - "type": "long" - } - } - } - } - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "index_stats": { - "properties": { - "index": { - "path": "elasticsearch.index.name", - "type": "alias" - }, - "primaries": { - "properties": { - "docs": { - "properties": { - "count": { - "path": "elasticsearch.index.primaries.docs.count", - "type": "alias" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.index.primaries.indexing.index_time_in_millis", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.index.primaries.indexing.index_total", - "type": "alias" - }, - "throttle_time_in_millis": { - "path": "elasticsearch.index.primaries.indexing.throttle_time_in_millis", - "type": "alias" - } - } - }, - "merges": { - "properties": { - "total_size_in_bytes": { - "path": "elasticsearch.index.primaries.merges.total_size_in_bytes", - "type": "alias" - } - } - }, - "refresh": { - "properties": { - "total_time_in_millis": { - "path": "elasticsearch.index.primaries.refresh.total_time_in_millis", - "type": "alias" - } - } - }, - "segments": { - "properties": { - "count": { - "path": "elasticsearch.index.primaries.segments.count", - "type": "alias" - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "path": "elasticsearch.index.primaries.store.size_in_bytes", - "type": "alias" - } - } - } - } - }, - "total": { - "properties": { - "fielddata": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.index.total.fielddata.memory_size_in_bytes", - "type": "alias" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.index.total.indexing.index_time_in_millis", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.index.total.indexing.index_total", - "type": "alias" - }, - "throttle_time_in_millis": { - "path": "elasticsearch.index.total.indexing.throttle_time_in_millis", - "type": "alias" - } - } - }, - "merges": { - "properties": { - "total_size_in_bytes": { - "path": "elasticsearch.index.total.merges.total_size_in_bytes", - "type": "alias" - } - } - }, - "query_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.index.total.query_cache.memory_size_in_bytes", - "type": "alias" - } - } - }, - "refresh": { - "properties": { - "total_time_in_millis": { - "path": "elasticsearch.index.total.refresh.total_time_in_millis", - "type": "alias" - } - } - }, - "request_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.index.total.request_cache.memory_size_in_bytes", - "type": "alias" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "path": "elasticsearch.index.total.search.query_time_in_millis", - "type": "alias" - }, - "query_total": { - "path": "elasticsearch.index.total.search.query_total", - "type": "alias" - } - } - }, - "segments": { - "properties": { - "count": { - "path": "elasticsearch.index.total.segments.count", - "type": "alias" - }, - "doc_values_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.doc_values_memory_in_bytes", - "type": "alias" - }, - "fixed_bit_set_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.fixed_bit_set_memory_in_bytes", - "type": "alias" - }, - "index_writer_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.index_writer_memory_in_bytes", - "type": "alias" - }, - "memory_in_bytes": { - "path": "elasticsearch.index.total.segments.memory_in_bytes", - "type": "alias" - }, - "norms_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.norms_memory_in_bytes", - "type": "alias" - }, - "points_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.points_memory_in_bytes", - "type": "alias" - }, - "stored_fields_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.stored_fields_memory_in_bytes", - "type": "alias" - }, - "term_vectors_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.term_vectors_memory_in_bytes", - "type": "alias" - }, - "terms_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.terms_memory_in_bytes", - "type": "alias" - }, - "version_map_memory_in_bytes": { - "path": "elasticsearch.index.total.segments.version_map_memory_in_bytes", - "type": "alias" - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "path": "elasticsearch.index.total.store.size_in_bytes", - "type": "alias" - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.index.uuid", - "elasticsearch.index.status", - "elasticsearch.index.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.index_recovery-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.index_recovery-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.index_recovery", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "index": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "recovery": { - "properties": { - "id": { - "type": "long" - }, - "index": { - "properties": { - "files": { - "properties": { - "percent": { - "ignore_above": 1024, - "type": "keyword" - }, - "recovered": { - "type": "long" - }, - "reused": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "size": { - "properties": { - "recovered_in_bytes": { - "type": "long" - }, - "reused_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "primary": { - "type": "boolean" - }, - "source": { - "properties": { - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport_address": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "stage": { - "ignore_above": 1024, - "type": "keyword" - }, - "start_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "stop_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "target": { - "properties": { - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport_address": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "total_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "translog": { - "properties": { - "percent": { - "ignore_above": 1024, - "type": "keyword" - }, - "total": { - "type": "long" - }, - "total_on_start": { - "type": "long" - } - } - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "verify_index": { - "properties": { - "check_index_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "total_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "index_recovery": { - "properties": { - "shards": { - "properties": { - "start_time_in_millis": { - "path": "elasticsearch.index.recovery.start_time.ms", - "type": "alias" - }, - "stop_time_in_millis": { - "path": "elasticsearch.index.recovery.stop_time.ms", - "type": "alias" - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.index.name", - "elasticsearch.index.recovery.index.files.percent", - "elasticsearch.index.recovery.name", - "elasticsearch.index.recovery.type", - "elasticsearch.index.recovery.stage", - "elasticsearch.index.recovery.translog.percent", - "elasticsearch.index.recovery.target.transport_address", - "elasticsearch.index.recovery.target.id", - "elasticsearch.index.recovery.target.host", - "elasticsearch.index.recovery.target.name", - "elasticsearch.index.recovery.source.transport_address", - "elasticsearch.index.recovery.source.id", - "elasticsearch.index.recovery.source.host", - "elasticsearch.index.recovery.source.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.index_summary-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.index_summary-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.index_summary", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "index": { - "properties": { - "summary": { - "properties": { - "primaries": { - "properties": { - "bulk": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - }, - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "time": { - "properties": { - "avg": { - "properties": { - "bytes": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - }, - "count": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "search": { - "properties": { - "query": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "segments": { - "properties": { - "count": { - "type": "long" - }, - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "total": { - "properties": { - "bulk": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - }, - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "time": { - "properties": { - "avg": { - "properties": { - "bytes": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "type": "long" - } - } - }, - "indexing": { - "properties": { - "index": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "is_throttled": { - "type": "boolean" - }, - "throttle_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "search": { - "properties": { - "query": { - "properties": { - "count": { - "type": "long" - }, - "time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - } - } - }, - "segments": { - "properties": { - "count": { - "type": "long" - }, - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "indices_stats": { - "properties": { - "_all": { - "properties": { - "primaries": { - "properties": { - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.index.summary.primaries.indexing.index.time.ms", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.index.summary.primaries.indexing.index.count", - "type": "alias" - } - } - } - } - }, - "total": { - "properties": { - "indexing": { - "properties": { - "index_total": { - "path": "elasticsearch.index.summary.total.indexing.index.count", - "type": "alias" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "path": "elasticsearch.index.summary.total.search.query.time.ms", - "type": "alias" - }, - "query_total": { - "path": "elasticsearch.index.summary.total.search.query.count", - "type": "alias" - } - } - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.node-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.node-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.node", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "jvm": { - "properties": { - "memory": { - "properties": { - "heap": { - "properties": { - "init": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "nonheap": { - "properties": { - "init": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "process": { - "properties": { - "mlockall": { - "type": "boolean" - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.node.version", - "elasticsearch.node.jvm.version", - "elasticsearch.node.id", - "elasticsearch.node.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.node_stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.node_stats-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.node_stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "stats": { - "properties": { - "fs": { - "properties": { - "io_stats": { - "properties": { - "total": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - }, - "read": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "write": { - "properties": { - "operations": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "summary": { - "properties": { - "available": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "free": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "total": { - "properties": { - "available_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - } - } - } - } - }, - "indexing_pressure": { - "properties": { - "memory": { - "properties": { - "current": { - "properties": { - "all": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "combined_coordinating_and_primary": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "coordinating": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "primary": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "replica": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "limit_in_bytes": { - "type": "long" - }, - "total": { - "properties": { - "all": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "combined_coordinating_and_primary": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "coordinating": { - "properties": { - "bytes": { - "type": "long" - }, - "rejections": { - "type": "long" - } - } - }, - "primary": { - "properties": { - "bytes": { - "type": "long" - }, - "rejections": { - "type": "long" - } - } - }, - "replica": { - "properties": { - "bytes": { - "type": "long" - }, - "rejections": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "indices": { - "properties": { - "bulk": { - "properties": { - "avg_size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "avg_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "operations": { - "properties": { - "total": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "total_size": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "docs": { - "properties": { - "count": { - "type": "long" - }, - "deleted": { - "type": "long" - } - } - }, - "fielddata": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "indexing": { - "properties": { - "index_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "index_total": { - "properties": { - "count": { - "type": "long" - } - } - }, - "throttle_time": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "query_cache": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "request_cache": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "search": { - "properties": { - "query_time": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "query_total": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "segments": { - "properties": { - "count": { - "type": "long" - }, - "doc_values": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "fixed_bit_set": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "index_writer": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "norms": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "points": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "stored_fields": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "term_vectors": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "terms": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "version_map": { - "properties": { - "memory": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - }, - "ingest": { - "properties": { - "total": { - "properties": { - "count": { - "type": "long" - }, - "current": { - "type": "long" - }, - "failed": { - "type": "long" - }, - "time_in_millis": { - "type": "long" - } - } - } - } - }, - "jvm": { - "properties": { - "gc": { - "properties": { - "collectors": { - "properties": { - "old": { - "properties": { - "collection": { - "properties": { - "count": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - } - } - }, - "young": { - "properties": { - "collection": { - "properties": { - "count": { - "type": "long" - }, - "ms": { - "type": "long" - } - } - } - } - } - } - } - } - }, - "mem": { - "properties": { - "heap": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - }, - "pct": { - "type": "double" - } - } - } - } - }, - "pools": { - "properties": { - "old": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak_max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "survivor": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak_max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "young": { - "properties": { - "max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "peak_max": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - } - } - } - } - } - } - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs": { - "properties": { - "quota": { - "properties": { - "us": { - "type": "long" - } - } - } - } - }, - "stat": { - "properties": { - "elapsed_periods": { - "properties": { - "count": { - "type": "long" - } - } - }, - "time_throttled": { - "properties": { - "ns": { - "type": "long" - } - } - }, - "times_throttled": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - }, - "cpuacct": { - "properties": { - "usage": { - "properties": { - "ns": { - "type": "long" - } - } - } - } - }, - "memory": { - "properties": { - "control_group": { - "ignore_above": 1024, - "type": "keyword" - }, - "limit": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "usage": { - "properties": { - "bytes": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "cpu": { - "properties": { - "load_avg": { - "properties": { - "1m": { - "type": "half_float" - } - } - } - } - } - } - }, - "process": { - "properties": { - "cpu": { - "properties": { - "pct": { - "type": "double" - } - } - } - } - }, - "thread_pool": { - "properties": { - "bulk": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "get": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "index": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "search": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - }, - "write": { - "properties": { - "queue": { - "properties": { - "count": { - "type": "long" - } - } - }, - "rejected": { - "properties": { - "count": { - "type": "long" - } - } - } - } - } - } - } - } - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "node_stats": { - "properties": { - "fs": { - "properties": { - "io_stats": { - "properties": { - "total": { - "properties": { - "operations": { - "path": "elasticsearch.node.stats.fs.io_stats.total.operations.count", - "type": "alias" - }, - "read_operations": { - "path": "elasticsearch.node.stats.fs.io_stats.total.read.operations.count", - "type": "alias" - }, - "write_operations": { - "path": "elasticsearch.node.stats.fs.io_stats.total.write.operations.count", - "type": "alias" - } - } - } - } - }, - "summary": { - "properties": { - "available": { - "properties": { - "bytes": { - "path": "elasticsearch.node.stats.fs.summary.available.bytes", - "type": "alias" - } - } - }, - "total": { - "properties": { - "bytes": { - "path": "elasticsearch.node.stats.fs.summary.total.bytes", - "type": "alias" - } - } - } - } - }, - "total": { - "properties": { - "available_in_bytes": { - "path": "elasticsearch.node.stats.fs.summary.available.bytes", - "type": "alias" - }, - "total_in_bytes": { - "path": "elasticsearch.node.stats.fs.summary.total.bytes", - "type": "alias" - } - } - } - } - }, - "indices": { - "properties": { - "docs": { - "properties": { - "count": { - "path": "elasticsearch.node.stats.indices.docs.count", - "type": "alias" - } - } - }, - "fielddata": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.node.stats.indices.fielddata.memory.bytes", - "type": "alias" - } - } - }, - "indexing": { - "properties": { - "index_time_in_millis": { - "path": "elasticsearch.node.stats.indices.indexing.index_time.ms", - "type": "alias" - }, - "index_total": { - "path": "elasticsearch.node.stats.indices.indexing.index_total.count", - "type": "alias" - }, - "throttle_time_in_millis": { - "path": "elasticsearch.node.stats.indices.indexing.throttle_time.ms", - "type": "alias" - } - } - }, - "query_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.node.stats.indices.query_cache.memory.bytes", - "type": "alias" - } - } - }, - "request_cache": { - "properties": { - "memory_size_in_bytes": { - "path": "elasticsearch.node.stats.indices.request_cache.memory.bytes", - "type": "alias" - } - } - }, - "search": { - "properties": { - "query_time_in_millis": { - "path": "elasticsearch.node.stats.indices.search.query_time.ms", - "type": "alias" - }, - "query_total": { - "path": "elasticsearch.node.stats.indices.search.query_total.count", - "type": "alias" - } - } - }, - "segments": { - "properties": { - "count": { - "path": "elasticsearch.node.stats.indices.segments.count", - "type": "alias" - }, - "doc_values_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.doc_values.memory.bytes", - "type": "alias" - }, - "fixed_bit_set_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.fixed_bit_set.memory.bytes", - "type": "alias" - }, - "index_writer_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.index_writer.memory.bytes", - "type": "alias" - }, - "memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.memory.bytes", - "type": "alias" - }, - "norms_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.norms.memory.bytes", - "type": "alias" - }, - "points_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.points.memory.bytes", - "type": "alias" - }, - "stored_fields_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.stored_fields.memory.bytes", - "type": "alias" - }, - "term_vectors_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.term_vectors.memory.bytes", - "type": "alias" - }, - "terms_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.terms.memory.bytes", - "type": "alias" - }, - "version_map_memory_in_bytes": { - "path": "elasticsearch.node.stats.indices.segments.version_map.memory.bytes", - "type": "alias" - } - } - }, - "store": { - "properties": { - "size": { - "properties": { - "bytes": { - "path": "elasticsearch.node.stats.indices.store.size.bytes", - "type": "alias" - } - } - }, - "size_in_bytes": { - "path": "elasticsearch.node.stats.indices.store.size.bytes", - "type": "alias" - } - } - } - } - }, - "jvm": { - "properties": { - "gc": { - "properties": { - "collectors": { - "properties": { - "old": { - "properties": { - "collection_count": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.old.collection.count", - "type": "alias" - }, - "collection_time_in_millis": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.old.collection.ms", - "type": "alias" - } - } - }, - "young": { - "properties": { - "collection_count": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.young.collection.count", - "type": "alias" - }, - "collection_time_in_millis": { - "path": "elasticsearch.node.stats.jvm.gc.collectors.young.collection.ms", - "type": "alias" - } - } - } - } - } - } - }, - "mem": { - "properties": { - "heap_max_in_bytes": { - "path": "elasticsearch.node.stats.jvm.mem.heap.max.bytes", - "type": "alias" - }, - "heap_used_in_bytes": { - "path": "elasticsearch.node.stats.jvm.mem.heap.used.bytes", - "type": "alias" - }, - "heap_used_percent": { - "path": "elasticsearch.node.stats.jvm.mem.heap.used.pct", - "type": "alias" - } - } - } - } - }, - "node_id": { - "path": "elasticsearch.node.id", - "type": "alias" - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs_quota_micros": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.cfs.quota.us", - "type": "alias" - }, - "stat": { - "properties": { - "number_of_elapsed_periods": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.stat.elapsed_periods.count", - "type": "alias" - }, - "number_of_times_throttled": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.stat.times_throttled.count", - "type": "alias" - }, - "time_throttled_nanos": { - "path": "elasticsearch.node.stats.os.cgroup.cpu.stat.time_throttled.ns", - "type": "alias" - } - } - } - } - }, - "cpuacct": { - "properties": { - "usage_nanos": { - "path": "elasticsearch.node.stats.os.cgroup.cpuacct.usage.ns", - "type": "alias" - } - } - }, - "memory": { - "properties": { - "control_group": { - "path": "elasticsearch.node.stats.os.cgroup.memory.control_group", - "type": "alias" - }, - "limit_in_bytes": { - "path": "elasticsearch.node.stats.os.cgroup.memory.limit.bytes", - "type": "alias" - }, - "usage_in_bytes": { - "path": "elasticsearch.node.stats.os.cgroup.memory.usage.bytes", - "type": "alias" - } - } - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "1m": { - "path": "elasticsearch.node.stats.os.cpu.load_avg.1m", - "type": "alias" - } - } - } - } - } - } - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "path": "elasticsearch.node.stats.process.cpu.pct", - "type": "alias" - } - } - } - } - }, - "thread_pool": { - "properties": { - "bulk": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.bulk.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.bulk.rejected.count", - "type": "alias" - } - } - }, - "get": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.get.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.get.rejected.count", - "type": "alias" - } - } - }, - "index": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.index.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.index.rejected.count", - "type": "alias" - } - } - }, - "search": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.search.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.search.rejected.count", - "type": "alias" - } - } - }, - "write": { - "properties": { - "queue": { - "path": "elasticsearch.node.stats.thread_pool.write.queue.count", - "type": "alias" - }, - "rejected": { - "path": "elasticsearch.node.stats.thread_pool.write.rejected.count", - "type": "alias" - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.node.stats.os.cgroup.memory.control_group", - "elasticsearch.node.stats.os.cgroup.memory.limit.bytes", - "elasticsearch.node.stats.os.cgroup.memory.usage.bytes", - "elasticsearch.node.id", - "elasticsearch.node.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-elasticsearch.stack_monitoring.shard-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-elasticsearch.stack_monitoring.shard-*" - ], - "name": "metrics-elasticsearch.stack_monitoring.shard", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "elasticsearch" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "state": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "stats": { - "properties": { - "state": { - "properties": { - "state_uuid": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "index": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "master": { - "type": "boolean" - }, - "mlockall": { - "type": "boolean" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "shard": { - "properties": { - "number": { - "type": "long" - }, - "primary": { - "type": "boolean" - }, - "relocating_node": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "source_node": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "shard": { - "properties": { - "index": { - "path": "elasticsearch.index.name", - "type": "alias" - }, - "node": { - "path": "elasticsearch.node.id", - "type": "alias" - }, - "primary": { - "path": "elasticsearch.shard.primary", - "type": "alias" - }, - "shard": { - "path": "elasticsearch.shard.number", - "type": "alias" - }, - "state": { - "path": "elasticsearch.shard.state", - "type": "alias" - } - } - }, - "source_node": { - "properties": { - "name": { - "path": "elasticsearch.node.name", - "type": "alias" - }, - "uuid": { - "path": "elasticsearch.node.id", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "service.address", - "service.type", - "service.name", - "error.message", - "elasticsearch.shard.state", - "elasticsearch.shard.relocating_node.name", - "elasticsearch.shard.relocating_node.id", - "elasticsearch.shard.source_node.name", - "elasticsearch.shard.source_node.uuid", - "elasticsearch.index.name", - "elasticsearch.cluster.name", - "elasticsearch.cluster.id", - "elasticsearch.cluster.state.id", - "elasticsearch.cluster.stats.state.state_uuid", - "elasticsearch.node.id", - "elasticsearch.node.name" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.cluster_actions-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.cluster_actions-*" - ], - "name": "metrics-kibana.stack_monitoring.cluster_actions", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "cluster_actions": { - "properties": { - "overdue": { - "properties": { - "count": { - "type": "long" - }, - "delay": { - "properties": { - "p50": { - "type": "float" - }, - "p99": { - "type": "float" - } - } - } - } - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.cluster_rules-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.cluster_rules-*" - ], - "name": "metrics-kibana.stack_monitoring.cluster_rules", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "cluster_rules": { - "properties": { - "overdue": { - "properties": { - "count": { - "type": "long" - }, - "delay": { - "properties": { - "p50": { - "type": "float" - }, - "p99": { - "type": "float" - } - } - } - } - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.node_actions-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.node_actions-*" - ], - "name": "metrics-kibana.stack_monitoring.node_actions", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node_actions": { - "properties": { - "executions": { - "type": "long" - }, - "failures": { - "type": "long" - }, - "timeouts": { - "type": "long" - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.node_rules-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.node_rules-*" - ], - "name": "metrics-kibana.stack_monitoring.node_rules", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node_rules": { - "properties": { - "executions": { - "type": "long" - }, - "failures": { - "type": "long" - }, - "timeouts": { - "type": "long" - } - } - } - } - }, - "kibana_stats": { - "properties": { - "kibana": { - "properties": { - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.stats-*" - ], - "name": "metrics-kibana.stack_monitoring.stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "kibana.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "kibana": { - "properties": { - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "stats": { - "properties": { - "concurrent_connections": { - "type": "long" - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "index": { - "ignore_above": 1024, - "type": "keyword" - }, - "kibana": { - "properties": { - "status": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "os": { - "properties": { - "distro": { - "ignore_above": 1024, - "type": "keyword" - }, - "distroRelease": { - "ignore_above": 1024, - "type": "keyword" - }, - "load": { - "properties": { - "15m": { - "type": "half_float" - }, - "1m": { - "type": "half_float" - }, - "5m": { - "type": "half_float" - } - } - }, - "memory": { - "properties": { - "free_in_bytes": { - "type": "long" - }, - "total_in_bytes": { - "type": "long" - }, - "used_in_bytes": { - "type": "long" - } - } - }, - "platform": { - "ignore_above": 1024, - "type": "keyword" - }, - "platformRelease": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "process": { - "properties": { - "event_loop_delay": { - "properties": { - "ms": { - "scaling_factor": 1000, - "type": "scaled_float" - } - } - }, - "memory": { - "properties": { - "heap": { - "properties": { - "size_limit": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "total": { - "properties": { - "bytes": { - "type": "long" - } - } - }, - "uptime": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "used": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "resident_set_size": { - "properties": { - "bytes": { - "type": "long" - } - } - } - } - }, - "uptime": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "request": { - "properties": { - "disconnects": { - "type": "long" - }, - "total": { - "type": "long" - } - } - }, - "response_time": { - "properties": { - "avg": { - "properties": { - "ms": { - "type": "long" - } - } - }, - "max": { - "properties": { - "ms": { - "type": "long" - } - } - } - } - }, - "snapshot": { - "type": "boolean" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "transport_address": { - "ignore_above": 1024, - "type": "keyword" - }, - "usage": { - "properties": { - "index": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - }, - "kibana_stats": { - "properties": { - "concurrent_connections": { - "path": "kibana.stats.concurrent_connections", - "type": "alias" - }, - "kibana": { - "properties": { - "response_time": { - "properties": { - "max": { - "path": "kibana.stats.response_time.max.ms", - "type": "alias" - } - } - }, - "status": { - "path": "kibana.stats.status", - "type": "alias" - }, - "uuid": { - "path": "service.id", - "type": "alias" - }, - "version": { - "path": "service.version", - "type": "alias" - } - } - }, - "os": { - "properties": { - "load": { - "properties": { - "15m": { - "path": "kibana.stats.os.load.15m", - "type": "alias" - }, - "1m": { - "path": "kibana.stats.os.load.1m", - "type": "alias" - }, - "5m": { - "path": "kibana.stats.os.load.5m", - "type": "alias" - } - } - }, - "memory": { - "properties": { - "free_in_bytes": { - "path": "kibana.stats.os.memory.free_in_bytes", - "type": "alias" - } - } - } - } - }, - "process": { - "properties": { - "event_loop_delay": { - "path": "kibana.stats.process.event_loop_delay.ms", - "type": "alias" - }, - "memory": { - "properties": { - "heap": { - "properties": { - "size_limit": { - "path": "kibana.stats.process.memory.heap.size_limit.bytes", - "type": "alias" - } - } - }, - "resident_set_size_in_bytes": { - "path": "kibana.stats.process.memory.resident_set_size.bytes", - "type": "alias" - } - } - }, - "uptime_in_millis": { - "path": "kibana.stats.process.uptime.ms", - "type": "alias" - } - } - }, - "requests": { - "properties": { - "disconnects": { - "path": "kibana.stats.request.disconnects", - "type": "alias" - }, - "total": { - "path": "kibana.stats.request.total", - "type": "alias" - } - } - }, - "response_times": { - "properties": { - "average": { - "path": "kibana.stats.response_time.avg.ms", - "type": "alias" - }, - "max": { - "path": "kibana.stats.response_time.max.ms", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.address", - "service.version", - "service.type", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "kibana.elasticsearch.cluster.id", - "kibana.stats.kibana.status", - "kibana.stats.usage.index", - "kibana.stats.name", - "kibana.stats.index", - "kibana.stats.host.name", - "kibana.stats.status", - "kibana.stats.transport_address", - "kibana.stats.os.distro", - "kibana.stats.os.distroRelease", - "kibana.stats.os.platform", - "kibana.stats.os.platformRelease" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-kibana.stack_monitoring.status-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-kibana.stack_monitoring.status-*" - ], - "name": "metrics-kibana.stack_monitoring.status", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "kibana" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - } - } - }, - "kibana": { - "properties": { - "status": { - "properties": { - "metrics": { - "properties": { - "concurrent_connections": { - "type": "long" - }, - "requests": { - "properties": { - "disconnects": { - "type": "long" - }, - "total": { - "type": "long" - } - } - } - } - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "status": { - "properties": { - "overall": { - "properties": { - "state": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - } - } - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.id", - "service.name", - "service.version", - "service.type", - "service.address", - "ecs.version", - "error.message", - "kibana.status.name", - "kibana.status.status.overall.state" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-logstash.stack_monitoring.node-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-logstash.stack_monitoring.node-*" - ], - "name": "metrics-logstash.stack_monitoring.node", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "logstash.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "logstash": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "jvm": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "state": { - "properties": { - "pipeline": { - "properties": { - "batch_size": { - "type": "long" - }, - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "representation": { - "properties": { - "graph": { - "properties": { - "edges": { - "type": "object" - }, - "vertices": { - "type": "object" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "workers": { - "type": "long" - } - } - } - } - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "logstash_state": { - "properties": { - "pipeline": { - "properties": { - "hash": { - "path": "logstash.node.state.pipeline.hash", - "type": "alias" - }, - "id": { - "path": "logstash.node.state.pipeline.id", - "type": "alias" - } - } - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.hostname", - "service.id", - "service.type", - "service.version", - "service.address", - "service.name", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "logstash.cluster.id", - "logstash.elasticsearch.cluster.id", - "logstash.node.jvm.version", - "logstash.node.host", - "logstash.node.version", - "logstash.node.id", - "logstash.node.state.pipeline.id", - "logstash.node.state.pipeline.hash", - "logstash.node.state.pipeline.ephemeral_id", - "logstash.node.state.pipeline.representation.hash", - "logstash.node.state.pipeline.representation.type", - "logstash.node.state.pipeline.representation.version" - ] - } - } - } - } - } - } -} - -{ - "type": "data_stream", - "value": { - "data_stream": "metrics-logstash.stack_monitoring.node_stats-default", - "template": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "data_stream": { - "allow_custom_routing": false, - "hidden": false - }, - "index_patterns": [ - "metrics-logstash.stack_monitoring.node_stats-*" - ], - "name": "metrics-logstash.stack_monitoring.node_stats", - "priority": 200, - "template": { - "mappings": { - "_meta": { - "managed": true, - "managed_by": "fleet", - "package": { - "name": "logstash" - } - }, - "date_detection": false, - "dynamic": false, - "dynamic_templates": [ - { - "strings_as_keyword": { - "mapping": { - "ignore_above": 1024, - "type": "keyword" - }, - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "type": "date" - }, - "cluster_uuid": { - "path": "logstash.elasticsearch.cluster.id", - "type": "alias" - }, - "data_stream": { - "properties": { - "dataset": { - "type": "constant_keyword" - }, - "namespace": { - "type": "constant_keyword" - }, - "type": { - "type": "constant_keyword" - } - } - }, - "ecs": { - "properties": { - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "error": { - "properties": { - "message": { - "type": "match_only_text" - } - } - }, - "event": { - "properties": { - "agent_id_status": { - "ignore_above": 1024, - "type": "keyword" - }, - "dataset": { - "ignore_above": 1024, - "type": "keyword" - }, - "duration": { - "type": "long" - }, - "ingested": { - "format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis", - "type": "date" - }, - "module": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "host": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "logstash": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "elasticsearch": { - "properties": { - "cluster": { - "properties": { - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "node": { - "properties": { - "state": { - "properties": { - "pipeline": { - "properties": { - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - } - } - } - } - }, - "stats": { - "properties": { - "events": { - "properties": { - "duration_in_millis": { - "type": "long" - }, - "filtered": { - "type": "long" - }, - "in": { - "type": "long" - }, - "out": { - "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": "long" - } - } - }, - "uptime_in_millis": { - "type": "long" - } - } - }, - "logstash": { - "properties": { - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "host": { - "ignore_above": 1024, - "type": "keyword" - }, - "http_address": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "pipeline": { - "properties": { - "batch_size": { - "type": "long" - }, - "workers": { - "type": "long" - } - } - }, - "snapshot": { - "type": "boolean" - }, - "status": { - "ignore_above": 1024, - "type": "keyword" - }, - "uuid": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpu": { - "properties": { - "cfs_quota_micros": { - "type": "long" - }, - "control_group": { - "type": "text" - }, - "stat": { - "type": "object" - } - } - }, - "cpuacct": { - "type": "object" - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "15m": { - "type": "half_float" - }, - "1m": { - "type": "half_float" - }, - "5m": { - "type": "half_float" - } - } - }, - "percent": { - "type": "double" - } - } - } - } - }, - "pipelines": { - "properties": { - "ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "events": { - "properties": { - "duration_in_millis": { - "type": "long" - }, - "filtered": { - "type": "long" - }, - "in": { - "type": "long" - }, - "out": { - "type": "long" - }, - "queue_push_duration_in_millis": { - "type": "long" - } - } - }, - "hash": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "queue": { - "properties": { - "events_count": { - "type": "long" - }, - "max_queue_size_in_bytes": { - "type": "long" - }, - "queue_size_in_bytes": { - "type": "long" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "reloads": { - "properties": { - "failures": { - "type": "long" - }, - "successes": { - "type": "long" - } - } - }, - "vertices": { - "properties": { - "duration_in_millis": { - "type": "long" - }, - "events_in": { - "type": "long" - }, - "events_out": { - "type": "long" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "long_counters": { - "properties": { - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "value": { - "type": "long" - } - }, - "type": "nested" - }, - "pipeline_ephemeral_id": { - "ignore_above": 1024, - "type": "keyword" - }, - "queue_push_duration_in_millis": { - "type": "long" - } - }, - "type": "nested" - } - }, - "type": "nested" - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "type": "double" - } - } - }, - "max_file_descriptors": { - "type": "long" - }, - "open_file_descriptors": { - "type": "long" - } - } - }, - "queue": { - "properties": { - "events_count": { - "type": "long" - } - } - }, - "reloads": { - "properties": { - "failures": { - "type": "long" - }, - "successes": { - "type": "long" - } - } - }, - "timestamp": { - "type": "date" - } - } - } - } - } - } - }, - "logstash_stats": { - "properties": { - "events": { - "properties": { - "duration_in_millis": { - "path": "logstash.node.stats.events.duration_in_millis", - "type": "alias" - }, - "in": { - "path": "logstash.node.stats.events.in", - "type": "alias" - }, - "out": { - "path": "logstash.node.stats.events.out", - "type": "alias" - } - } - }, - "jvm": { - "properties": { - "mem": { - "properties": { - "heap_max_in_bytes": { - "path": "logstash.node.stats.jvm.mem.heap_max_in_bytes", - "type": "alias" - }, - "heap_used_in_bytes": { - "path": "logstash.node.stats.jvm.mem.heap_used_in_bytes", - "type": "alias" - } - } - }, - "uptime_in_millis": { - "path": "logstash.node.stats.jvm.uptime_in_millis", - "type": "alias" - } - } - }, - "logstash": { - "properties": { - "uuid": { - "path": "logstash.node.stats.logstash.uuid", - "type": "alias" - }, - "version": { - "path": "logstash.node.stats.logstash.version", - "type": "alias" - } - } - }, - "os": { - "properties": { - "cgroup": { - "properties": { - "cpuacct": { - "type": "object" - } - } - }, - "cpu": { - "properties": { - "load_average": { - "properties": { - "15m": { - "path": "logstash.node.stats.os.cpu.load_average.15m", - "type": "alias" - }, - "1m": { - "path": "logstash.node.stats.os.cpu.load_average.1m", - "type": "alias" - }, - "5m": { - "path": "logstash.node.stats.os.cpu.load_average.5m", - "type": "alias" - } - } - }, - "stat": { - "type": "object" - } - } - } - } - }, - "pipelines": { - "type": "nested" - }, - "process": { - "properties": { - "cpu": { - "properties": { - "percent": { - "path": "logstash.node.stats.process.cpu.percent", - "type": "alias" - } - } - } - } - }, - "queue": { - "properties": { - "events_count": { - "path": "logstash.node.stats.queue.events_count", - "type": "alias" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "process": { - "properties": { - "pid": { - "type": "long" - } - } - }, - "service": { - "properties": { - "address": { - "ignore_above": 1024, - "type": "keyword" - }, - "hostname": { - "ignore_above": 1024, - "type": "keyword" - }, - "id": { - "ignore_above": 1024, - "type": "keyword" - }, - "name": { - "ignore_above": 1024, - "type": "keyword" - }, - "type": { - "ignore_above": 1024, - "type": "keyword" - }, - "version": { - "ignore_above": 1024, - "type": "keyword" - } - } - }, - "timestamp": { - "path": "@timestamp", - "type": "alias" - } - } - }, - "settings": { - "index": { - "codec": "best_compression", - "lifecycle": { - "name": "metrics" - }, - "mapping": { - "total_fields": { - "limit": "10000" - } - }, - "query": { - "default_field": [ - "service.hostname", - "service.id", - "service.type", - "service.version", - "service.address", - "service.name", - "ecs.version", - "event.dataset", - "event.module", - "host.name", - "error.message", - "logstash.elasticsearch.cluster.id", - "logstash.node.state.pipeline.id", - "logstash.node.state.pipeline.hash", - "logstash.node.stats.logstash.uuid", - "logstash.node.stats.logstash.version", - "logstash.node.stats.logstash.ephemeral_id", - "logstash.node.stats.logstash.host", - "logstash.node.stats.logstash.http_address", - "logstash.node.stats.logstash.name", - "logstash.node.stats.logstash.status", - "logstash.node.stats.os.cgroup.cpuacct.control_group", - "logstash.node.stats.os.cgroup.cpu.control_group", - "logstash.node.stats.pipelines.id", - "logstash.node.stats.pipelines.hash", - "logstash.node.stats.pipelines.ephemeral_id", - "logstash.node.stats.pipelines.queue.type", - "logstash.node.stats.pipelines.vertices.id", - "logstash.node.stats.pipelines.vertices.long_counters.name", - "logstash.node.stats.pipelines.vertices.pipeline_ephemeral_id", - "logstash.cluster.id" - ] - } - } - } - } - } - } -} diff --git a/x-pack/test/monitoring_api_integration/apis/elasticsearch/ccr.ts b/x-pack/test/monitoring_api_integration/apis/elasticsearch/ccr.ts new file mode 100644 index 0000000000000..5f3c4d1b76009 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/apis/elasticsearch/ccr.ts @@ -0,0 +1,63 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; + +import { FtrProviderContext } from '../../../api_integration/ftr_provider_context'; +import { getTestRunner } from '../../utils/test_runner'; + +import ccrResponse from '../../fixtures/elasticsearch/ccr.json'; +import ccrShardResponse from '../../fixtures/elasticsearch/ccr_shard.json'; + +export default function ({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + + const testRunner = getTestRunner({ + testName: 'CCR', + archiveRoot: 'x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node', + getService, + }); + + const timeRange = { + min: '2023-01-24T15:45:30.000Z', + max: '2023-01-24T15:51:30.000Z', + }; + + testRunner(() => { + it('should return all followers and a grouping of stats by follower index', async () => { + const { body } = await supertest + .post('/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/ccr') + .set('kbn-xsrf', 'xxx') + .send({ timeRange }) + .expect(200); + + expect(body).to.eql(ccrResponse); + }); + + it('should return an empty list of followers if the cluster_uuid does not have any match', async () => { + const { body } = await supertest + .post('/api/monitoring/v1/clusters/random_uuid/elasticsearch/ccr') + .set('kbn-xsrf', 'xxx') + .send({ timeRange }) + .expect(200); + + expect(body).to.eql([]); + }); + + it('should return specific shard details', async () => { + const { body } = await supertest + .post( + '/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/ccr/foo-follower/shard/0' + ) + .set('kbn-xsrf', 'xxx') + .send({ timeRange }) + .expect(200); + + expect(body).to.eql(ccrShardResponse); + }); + }); +} diff --git a/x-pack/test/monitoring_api_integration/apis/elasticsearch/index.ts b/x-pack/test/monitoring_api_integration/apis/elasticsearch/index.ts new file mode 100644 index 0000000000000..8b43525fb03e2 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/apis/elasticsearch/index.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FtrProviderContext } from '../../../api_integration/ftr_provider_context'; + +export default function ({ loadTestFile }: FtrProviderContext) { + describe('Elasticsearch', () => { + loadTestFile(require.resolve('./ccr')); + loadTestFile(require.resolve('./indices')); + loadTestFile(require.resolve('./ml_jobs')); + loadTestFile(require.resolve('./nodes')); + loadTestFile(require.resolve('./overview')); + }); +} diff --git a/x-pack/test/monitoring_api_integration/apis/elasticsearch/indices.ts b/x-pack/test/monitoring_api_integration/apis/elasticsearch/indices.ts new file mode 100644 index 0000000000000..85ed82ab7ee6c --- /dev/null +++ b/x-pack/test/monitoring_api_integration/apis/elasticsearch/indices.ts @@ -0,0 +1,87 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; + +import { FtrProviderContext } from '../../../api_integration/ftr_provider_context'; +import { getTestRunner } from '../../utils/test_runner'; + +import nonSystemIndicesResponse from '../../fixtures/elasticsearch/indices_no_system.json'; +import allIndicesResponse from '../../fixtures/elasticsearch/indices_all.json'; +import indexDetailResponse from '../../fixtures/elasticsearch/index_detail.json'; +import indexDetailAdvancedResponse from '../../fixtures/elasticsearch/index_detail_advanced.json'; + +export default function ({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + + const testRunner = getTestRunner({ + testName: 'Indices', + archiveRoot: 'x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node', + getService, + }); + + const timeRange = { + min: '2023-01-24T15:45:30.000Z', + max: '2023-01-24T15:51:30.000Z', + }; + + testRunner(() => { + it('should summarize the non-system indices with stats', async () => { + const { body } = await supertest + .post( + '/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/indices?show_system_indices=false' + ) + .set('kbn-xsrf', 'xxx') + .send({ timeRange }) + .expect(200); + + expect(body).to.eql(nonSystemIndicesResponse); + }); + + it('should summarize all indices with stats', async () => { + const { body } = await supertest + .post( + '/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/indices?show_system_indices=true' + ) + .set('kbn-xsrf', 'xxx') + .send({ timeRange }) + .expect(200); + + expect(body).to.eql(allIndicesResponse); + }); + + it('should summarize index with chart metrics data for the non-advanced view', async () => { + const { body } = await supertest + .post( + '/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/indices/.ds-metrics-elasticsearch.stack_monitoring.cluster_stats-default-2023.01.24-000001' + ) + .set('kbn-xsrf', 'xxx') + .send({ + timeRange, + is_advanced: false, + }) + .expect(200); + + expect(body).to.eql(indexDetailResponse); + }); + + it('should summarize index with chart metrics data for the advanced view', async () => { + const { body } = await supertest + .post( + '/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/indices/.ds-metrics-elasticsearch.stack_monitoring.cluster_stats-default-2023.01.24-000001' + ) + .set('kbn-xsrf', 'xxx') + .send({ + timeRange, + is_advanced: true, + }) + .expect(200); + + expect(body).to.eql(indexDetailAdvancedResponse); + }); + }); +} diff --git a/x-pack/test/monitoring_api_integration/apis/elasticsearch/ml_jobs.ts b/x-pack/test/monitoring_api_integration/apis/elasticsearch/ml_jobs.ts new file mode 100644 index 0000000000000..93d9c8a575bf6 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/apis/elasticsearch/ml_jobs.ts @@ -0,0 +1,40 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; + +import { FtrProviderContext } from '../../../api_integration/ftr_provider_context'; +import { getTestRunner } from '../../utils/test_runner'; + +import mlResponse from '../../fixtures/elasticsearch/ml_jobs.json'; + +export default function ({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + + const testRunner = getTestRunner({ + testName: 'ML jobs', + archiveRoot: 'x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node', + getService, + }); + + const timeRange = { + min: '2023-01-24T15:45:30.000Z', + max: '2023-01-24T15:51:30.000Z', + }; + + testRunner(() => { + it('should list ml jobs', async () => { + const { body } = await supertest + .post('/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/ml_jobs') + .set('kbn-xsrf', 'xxx') + .send({ timeRange }) + .expect(200); + + expect(body).to.eql(mlResponse); + }); + }); +} diff --git a/x-pack/test/monitoring_api_integration/apis/elasticsearch/nodes.ts b/x-pack/test/monitoring_api_integration/apis/elasticsearch/nodes.ts new file mode 100644 index 0000000000000..44d02a043df56 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/apis/elasticsearch/nodes.ts @@ -0,0 +1,79 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; + +import { FtrProviderContext } from '../../../api_integration/ftr_provider_context'; +import { getTestRunner } from '../../utils/test_runner'; + +import nodesResponse from '../../fixtures/elasticsearch/nodes.json'; +import nodeDetailResponse from '../../fixtures/elasticsearch/node_detail.json'; +import nodeDetailAdvancedResponse from '../../fixtures/elasticsearch/node_detail_advanced.json'; + +export default function ({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + + const testRunner = getTestRunner({ + testName: 'Nodes', + archiveRoot: 'x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node', + getService, + }); + + const timeRange = { + min: '2023-01-24T15:45:30.000Z', + max: '2023-01-24T15:51:30.000Z', + }; + + testRunner(() => { + it('should list nodes', async () => { + const { body } = await supertest + .post('/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/nodes') + .set('kbn-xsrf', 'xxx') + .send({ + pagination: { size: 20, index: 0 }, + sort: { field: 'name', direction: 'asc' }, + queryText: '', + timeRange, + }) + .expect(200); + + expect(body).to.eql(nodesResponse); + }); + + it('should summarize node with metrics', async () => { + const { body } = await supertest + .post( + '/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/nodes/1ksGajLvSW-OwnAYH-X3Sg' + ) + .set('kbn-xsrf', 'xxx') + .send({ + timeRange, + is_advanced: false, + showSystemIndices: false, + }) + .expect(200); + + expect(body).to.eql(nodeDetailResponse); + }); + + it('should summarize node with advanced metrics', async () => { + const { body } = await supertest + .post( + '/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch/nodes/1ksGajLvSW-OwnAYH-X3Sg' + ) + .set('kbn-xsrf', 'xxx') + .send({ + timeRange, + is_advanced: true, + showSystemIndices: false, + }) + .expect(200); + + expect(body).to.eql(nodeDetailAdvancedResponse); + }); + }); +} diff --git a/x-pack/test/monitoring_api_integration/apis/elasticsearch/overview.ts b/x-pack/test/monitoring_api_integration/apis/elasticsearch/overview.ts new file mode 100644 index 0000000000000..4632a67c9f9e0 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/apis/elasticsearch/overview.ts @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; + +import { FtrProviderContext } from '../../../api_integration/ftr_provider_context'; +import { getTestRunner } from '../../utils/test_runner'; + +import overviewResponse from '../../fixtures/elasticsearch/overview.json'; + +export default function ({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + + const testRunner = getTestRunner({ + testName: 'Overview', + archiveRoot: 'x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node', + getService, + }); + + const timeRange = { + min: '2023-01-24T15:45:30.000Z', + max: '2023-01-24T15:51:30.000Z', + }; + + testRunner(() => { + it('should summarize elasticsearch with metrics', async () => { + const { body } = await supertest + .post('/api/monitoring/v1/clusters/-8HHufEtS72rt344JzYofg/elasticsearch') + .set('kbn-xsrf', 'xxx') + .send({ + timeRange, + }) + .expect(200); + + expect(body).to.eql(overviewResponse); + }); + }); +} diff --git a/x-pack/test/monitoring_api_integration/apis/index.ts b/x-pack/test/monitoring_api_integration/apis/index.ts index 884d1b478b49e..13757900fad9f 100644 --- a/x-pack/test/monitoring_api_integration/apis/index.ts +++ b/x-pack/test/monitoring_api_integration/apis/index.ts @@ -11,6 +11,7 @@ export default function ({ loadTestFile }: FtrProviderContext) { describe('Monitoring Endpoints', function () { loadTestFile(require.resolve('./apm')); loadTestFile(require.resolve('./beats')); + loadTestFile(require.resolve('./elasticsearch')); loadTestFile(require.resolve('./enterprisesearch')); }); } diff --git a/x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node/metricbeat/data.json.gz b/x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node/metricbeat/data.json.gz new file mode 100644 index 0000000000000..05fe9b4c815bb Binary files /dev/null and b/x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node/metricbeat/data.json.gz differ diff --git a/x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node/package/data.json.gz b/x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node/package/data.json.gz new file mode 100644 index 0000000000000..8faba646f1eee Binary files /dev/null and b/x-pack/test/monitoring_api_integration/archives/elasticsearch/single_node/package/data.json.gz differ diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/ccr.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/ccr.json new file mode 100644 index 0000000000000..3264dfc1be1a0 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/ccr.json @@ -0,0 +1 @@ +[{"id":"foo-follower","index":"foo-follower","follows":"foo-leader","shards":[{"shardId":0,"error":null,"opsSynced":0,"syncLagTime":47748,"syncLagOps":0,"syncLagOpsLeader":0,"syncLagOpsFollower":0}],"opsSynced":0,"syncLagTime":47748,"syncLagOps":0}] diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/ccr_shard.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/ccr_shard.json new file mode 100644 index 0000000000000..cdb59728561cd --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/ccr_shard.json @@ -0,0 +1 @@ +{"metrics":{"ccr_sync_lag_time":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"ccr_stats.time_since_last_read_millis","metricAgg":"max","label":"Fetch delay","title":"Fetch delay","description":"The amount of time the follower index is lagging behind the leader.","units":"s","format":"0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0]]}],"ccr_sync_lag_ops":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"","metricAgg":"sum","label":"Ops delay","title":"Ops delay","description":"The number of operations the follower index is lagging behind the leader.","units":"","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0]]}]},"stat":{"leader":{"index":"foo-leader","max_seq_no":83,"global_checkpoint":83},"follower":{"operations":{"read":{"count":82}},"time_since_last_read":{"ms":47748},"index":"foo-follower","settings_version":1,"shard":{"number":0},"aliases_version":1,"max_seq_no":83,"global_checkpoint":83,"operations_written":82},"read_exceptions":[],"bytes_read":7462,"auto_follow":{"success":{"follow_indices":{"count":0}},"failed":{"follow_indices":{"count":0},"remote_cluster_state_requests":{"count":0}}},"requests":{"outstanding":{"read":{"count":1},"write":{"count":0}},"failed":{"read":{"count":0},"write":{"count":0}},"successful":{"read":{"count":72},"write":{"count":72}}},"total_time":{"read":{"ms":195322,"remote_exec":{"ms":194799}},"write":{"ms":156}},"write_buffer":{"size":{"bytes":0},"operation":{"count":0}}},"formattedLeader":"foo-leader","timestamp":"2023-01-24T15:48:26.038Z","oldestStat":{"follower":{"operations_written":82},"requests":{"failed":{"read":{"count":0}}}}} diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/index_detail.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/index_detail.json new file mode 100644 index 0000000000000..a26fe593b56a8 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/index_detail.json @@ -0,0 +1 @@ +{"indexSummary":{"documents":37,"dataSize":{"primaries":284930,"total":284930},"unassignedShards":1,"totalShards":2,"status":"yellow"},"metrics":{"index_search_request_rate":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.search.query_total","metricAgg":"max","label":"Total Shards","title":"Search Rate","description":"Number of search requests being executed across primary and replica shards. A single search can run against multiple shards!","units":"/s","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.7],[1674575140000,0.7],[1674575150000,0.7],[1674575160000,0.7],[1674575170000,0.7],[1674575180000,0.7],[1674575190000,0.7],[1674575200000,0],[1674575210000,0.7],[1674575220000,0.7],[1674575230000,0.7],[1674575240000,0.7],[1674575250000,0.7],[1674575260000,0.7],[1674575270000,0.7],[1674575280000,0.7],[1674575290000,0.7],[1674575300000,0.7],[1674575310000,0.7],[1674575320000,0.7],[1674575330000,0.7],[1674575340000,0.7],[1674575350000,0.7],[1674575360000,0.7],[1674575370000,0.7],[1674575380000,0.7],[1674575390000,0.7],[1674575400000,0.7],[1674575410000,0.7],[1674575420000,0.7],[1674575430000,0.7],[1674575440000,0.7],[1674575450000,0.7],[1674575460000,0.7],[1674575470000,0.7],[1674575480000,0.7]]}],"index_request_rate":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.indexing.index_total","metricAgg":"max","label":"Total Shards","title":"Indexing Rate","description":"Number of documents being indexed for primary and replica shards.","units":"/s","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.1],[1674575140000,0.1],[1674575150000,0.1],[1674575160000,0.1],[1674575170000,0.1],[1674575180000,0.1],[1674575190000,0.1],[1674575200000,0.1],[1674575210000,0.1],[1674575220000,0.1],[1674575230000,0.1],[1674575240000,0.1],[1674575250000,0.1],[1674575260000,0.1],[1674575270000,0.1],[1674575280000,0.1],[1674575290000,0.1],[1674575300000,0.1],[1674575310000,0.1],[1674575320000,0.1],[1674575330000,0.1],[1674575340000,0.1],[1674575350000,0.1],[1674575360000,0.1],[1674575370000,0.1],[1674575380000,0.1],[1674575390000,0.1],[1674575400000,0.1],[1674575410000,0.1],[1674575420000,0.1],[1674575430000,0.1],[1674575440000,0.1],[1674575450000,0.1],[1674575460000,0.1],[1674575470000,0.1],[1674575480000,0.1]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.indexing.index_total","metricAgg":"max","label":"Primary Shards","title":"Indexing Rate","description":"Number of documents being indexed for primary shards.","units":"/s","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.1],[1674575140000,0.1],[1674575150000,0.1],[1674575160000,0.1],[1674575170000,0.1],[1674575180000,0.1],[1674575190000,0.1],[1674575200000,0.1],[1674575210000,0.1],[1674575220000,0.1],[1674575230000,0.1],[1674575240000,0.1],[1674575250000,0.1],[1674575260000,0.1],[1674575270000,0.1],[1674575280000,0.1],[1674575290000,0.1],[1674575300000,0.1],[1674575310000,0.1],[1674575320000,0.1],[1674575330000,0.1],[1674575340000,0.1],[1674575350000,0.1],[1674575360000,0.1],[1674575370000,0.1],[1674575380000,0.1],[1674575390000,0.1],[1674575400000,0.1],[1674575410000,0.1],[1674575420000,0.1],[1674575430000,0.1],[1674575440000,0.1],[1674575450000,0.1],[1674575460000,0.1],[1674575470000,0.1],[1674575480000,0.1]]}],"index_size":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.store.size_in_bytes","metricAgg":"max","label":"Store","title":"Disk","description":"Size of primary and replica shards on disk.","units":"B","format":"0,0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,50899],[1674575140000,76233],[1674575150000,76233],[1674575160000,101576],[1674575170000,126899],[1674575180000,152252],[1674575190000,202928],[1674575200000,228267],[1674575210000,228267],[1674575220000,253618],[1674575230000,69951],[1674575240000,95286],[1674575250000,145956],[1674575260000,171294],[1674575270000,171294],[1674575280000,196628],[1674575290000,221969],[1674575300000,247300],[1674575310000,88704],[1674575320000,114046],[1674575330000,114046],[1674575340000,139381],[1674575350000,164723],[1674575360000,190065],[1674575370000,240733],[1674575380000,266068],[1674575390000,266068],[1674575400000,291411],[1674575410000,107555],[1674575420000,132893],[1674575430000,183559],[1674575440000,208909],[1674575450000,208909],[1674575460000,234251],[1674575470000,259596],[1674575480000,284930]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.store.size_in_bytes","metricAgg":"max","label":"Store (Primaries)","title":"Disk","description":"Size of primary shards on disk.","units":"B","format":"0,0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,50899],[1674575140000,76233],[1674575150000,76233],[1674575160000,101576],[1674575170000,126899],[1674575180000,152252],[1674575190000,202928],[1674575200000,228267],[1674575210000,228267],[1674575220000,253618],[1674575230000,69951],[1674575240000,95286],[1674575250000,145956],[1674575260000,171294],[1674575270000,171294],[1674575280000,196628],[1674575290000,221969],[1674575300000,247300],[1674575310000,88704],[1674575320000,114046],[1674575330000,114046],[1674575340000,139381],[1674575350000,164723],[1674575360000,190065],[1674575370000,240733],[1674575380000,266068],[1674575390000,266068],[1674575400000,291411],[1674575410000,107555],[1674575420000,132893],[1674575430000,183559],[1674575440000,208909],[1674575450000,208909],[1674575460000,234251],[1674575470000,259596],[1674575480000,284930]]}],"index_document_count":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.docs.count","metricAgg":"max","label":"Document Count","description":"Total number of documents, only including primary shards.","units":"","format":"0,0.[0]a","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,2],[1674575140000,3],[1674575150000,4],[1674575160000,5],[1674575170000,6],[1674575180000,7],[1674575190000,8],[1674575200000,9],[1674575210000,10],[1674575220000,11],[1674575230000,12],[1674575240000,13],[1674575250000,14],[1674575260000,15],[1674575270000,16],[1674575280000,17],[1674575290000,18],[1674575300000,19],[1674575310000,20],[1674575320000,21],[1674575330000,22],[1674575340000,23],[1674575350000,24],[1674575360000,25],[1674575370000,26],[1674575380000,27],[1674575390000,28],[1674575400000,29],[1674575410000,30],[1674575420000,31],[1674575430000,32],[1674575440000,33],[1674575450000,34],[1674575460000,35],[1674575470000,36],[1674575480000,37]]}],"index_segment_count":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.segments.count","metricAgg":"max","label":"Total","title":"Segment Count","description":"Number of segments for primary and replica shards.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,2],[1674575140000,3],[1674575150000,4],[1674575160000,5],[1674575170000,6],[1674575180000,7],[1674575190000,8],[1674575200000,9],[1674575210000,10],[1674575220000,2],[1674575230000,3],[1674575240000,4],[1674575250000,5],[1674575260000,6],[1674575270000,7],[1674575280000,8],[1674575290000,9],[1674575300000,10],[1674575310000,2],[1674575320000,3],[1674575330000,4],[1674575340000,5],[1674575350000,6],[1674575360000,7],[1674575370000,8],[1674575380000,9],[1674575390000,10],[1674575400000,2],[1674575410000,3],[1674575420000,4],[1674575430000,5],[1674575440000,6],[1674575450000,7],[1674575460000,8],[1674575470000,9],[1674575480000,10]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.segments.count","metricAgg":"max","label":"Primaries","title":"Segment Count","description":"Number of segments for primary shards.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,2],[1674575140000,3],[1674575150000,4],[1674575160000,5],[1674575170000,6],[1674575180000,7],[1674575190000,8],[1674575200000,9],[1674575210000,10],[1674575220000,2],[1674575230000,3],[1674575240000,4],[1674575250000,5],[1674575260000,6],[1674575270000,7],[1674575280000,8],[1674575290000,9],[1674575300000,10],[1674575310000,2],[1674575320000,3],[1674575330000,4],[1674575340000,5],[1674575350000,6],[1674575360000,7],[1674575370000,8],[1674575380000,9],[1674575390000,10],[1674575400000,2],[1674575410000,3],[1674575420000,4],[1674575430000,5],[1674575440000,6],[1674575450000,7],[1674575460000,8],[1674575470000,9],[1674575480000,10]]}]},"logs":{"enabled":false,"logs":[],"reason":{"indexPatternExists":false,"indexPatternInTimeRangeExists":false,"typeExistsAtAnyTime":false,"typeExists":false,"usingStructuredLogs":false,"clusterExists":false,"nodeExists":null,"indexExists":false},"limit":10},"shards":[{"index":".ds-metrics-elasticsearch.stack_monitoring.cluster_stats-default-2023.01.24-000001","node":"1ksGajLvSW-OwnAYH-X3Sg","primary":true,"relocating_node":null,"shard":0,"state":"STARTED"},{"index":".ds-metrics-elasticsearch.stack_monitoring.cluster_stats-default-2023.01.24-000001","primary":false,"relocating_node":null,"shard":0,"state":"UNASSIGNED"}],"shardStats":{"nodes":{"1ksGajLvSW-OwnAYH-X3Sg":{"shardCount":1,"indexCount":1,"name":"712a47f7f7df","node_ids":["1ksGajLvSW-OwnAYH-X3Sg"],"type":"master"}}},"nodes":{"1ksGajLvSW-OwnAYH-X3Sg":{"shardCount":1,"indexCount":1,"name":"712a47f7f7df","node_ids":["1ksGajLvSW-OwnAYH-X3Sg"],"type":"master"}},"stateUuid":"v1_XbWynRRGKGG7gX7U86g"} diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/index_detail_advanced.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/index_detail_advanced.json new file mode 100644 index 0000000000000..9816a781b97f0 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/index_detail_advanced.json @@ -0,0 +1 @@ +{"indexSummary":{"documents":37,"dataSize":{"primaries":284930,"total":284930},"unassignedShards":1,"totalShards":2,"status":"yellow"},"metrics":{"index_3":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.segments.fixed_bit_set_memory_in_bytes","metricAgg":"max","label":"Fixed Bitsets","title":"Index Memory - Lucene","description":"Heap memory used by Fixed Bit Sets (e.g., deeply nested documents). This is a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.segments.version_map_memory_in_bytes","metricAgg":"max","label":"Version Map","title":"Index Memory","description":"Heap memory used by Versioning (e.g., updates and deletes). This is NOT a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]}],"index_4":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.query_cache.memory_size_in_bytes","metricAgg":"max","label":"Query Cache","title":"Index Memory - Elasticsearch","description":"Heap memory used by Query Cache (e.g., cached filters). This is for the same shards, but not a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.request_cache.memory_size_in_bytes","metricAgg":"max","label":"Request Cache","title":"Index Memory","description":"Heap memory used by Request Cache (e.g., instant aggregations). This is for the same shards, but not a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,13944],[1674575140000,8416],[1674575150000,17392],[1674575160000,28016],[1674575170000,38832],[1674575180000,51240],[1674575190000,64528],[1674575200000,0],[1674575210000,13368],[1674575220000,28056],[1674575230000,43888],[1674575240000,61216],[1674575250000,79840],[1674575260000,0],[1674575270000,18576],[1674575280000,38296],[1674575290000,59136],[1674575300000,81112],[1674575310000,104200],[1674575320000,25304],[1674575330000,51728],[1674575340000,79320],[1674575350000,108040],[1674575360000,137856],[1674575370000,168792],[1674575380000,32072],[1674575390000,65600],[1674575400000,100232],[1674575410000,135856],[1674575420000,171504],[1674575430000,207176],[1674575440000,34520],[1674575450000,70040],[1674575460000,106560],[1674575470000,144088],[1674575480000,182616]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.fielddata.memory_size_in_bytes","metricAgg":"max","label":"Fielddata","title":"Index Memory","description":"Heap memory used by Fielddata (e.g., global ordinals or explicitly enabled fielddata on text fields). This is for the same shards, but not a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.segments.index_writer_memory_in_bytes","metricAgg":"max","label":"Index Writer","title":"Index Memory","description":"Heap memory used by the Index Writer. This is NOT a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]}],"index_total":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.search.query_total","metricAgg":"max","label":"Search Total","title":"Request Rate","description":"Amount of search operations (per shard).","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.7],[1674575140000,0.7],[1674575150000,0.7],[1674575160000,0.7],[1674575170000,0.7],[1674575180000,0.7],[1674575190000,0.7],[1674575200000,0],[1674575210000,0.7],[1674575220000,0.7],[1674575230000,0.7],[1674575240000,0.7],[1674575250000,0.7],[1674575260000,0.7],[1674575270000,0.7],[1674575280000,0.7],[1674575290000,0.7],[1674575300000,0.7],[1674575310000,0.7],[1674575320000,0.7],[1674575330000,0.7],[1674575340000,0.7],[1674575350000,0.7],[1674575360000,0.7],[1674575370000,0.7],[1674575380000,0.7],[1674575390000,0.7],[1674575400000,0.7],[1674575410000,0.7],[1674575420000,0.7],[1674575430000,0.7],[1674575440000,0.7],[1674575450000,0.7],[1674575460000,0.7],[1674575470000,0.7],[1674575480000,0.7]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.indexing.index_total","metricAgg":"max","label":"Index Total","title":"Request Rate","description":"Amount of indexing operations.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.1],[1674575140000,0.1],[1674575150000,0.1],[1674575160000,0.1],[1674575170000,0.1],[1674575180000,0.1],[1674575190000,0.1],[1674575200000,0.1],[1674575210000,0.1],[1674575220000,0.1],[1674575230000,0.1],[1674575240000,0.1],[1674575250000,0.1],[1674575260000,0.1],[1674575270000,0.1],[1674575280000,0.1],[1674575290000,0.1],[1674575300000,0.1],[1674575310000,0.1],[1674575320000,0.1],[1674575330000,0.1],[1674575340000,0.1],[1674575350000,0.1],[1674575360000,0.1],[1674575370000,0.1],[1674575380000,0.1],[1674575390000,0.1],[1674575400000,0.1],[1674575410000,0.1],[1674575420000,0.1],[1674575430000,0.1],[1674575440000,0.1],[1674575450000,0.1],[1674575460000,0.1],[1674575470000,0.1],[1674575480000,0.1]]}],"index_time":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.search.query_time_in_millis","metricAgg":"max","label":"Search","title":"Request Time","description":"Amount of time spent performing search operations (per shard).","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.4],[1674575140000,0.4],[1674575150000,0.4],[1674575160000,0.4],[1674575170000,0.4],[1674575180000,0.5],[1674575190000,0.4],[1674575200000,0],[1674575210000,0.3],[1674575220000,0.4],[1674575230000,0.3],[1674575240000,0.3],[1674575250000,0.4],[1674575260000,0.3],[1674575270000,0.3],[1674575280000,0.4],[1674575290000,0.4],[1674575300000,0.3],[1674575310000,0.4],[1674575320000,0.3],[1674575330000,0.2],[1674575340000,0.4],[1674575350000,0.9],[1674575360000,0.3],[1674575370000,0.3],[1674575380000,0.4],[1674575390000,0.4],[1674575400000,0.3],[1674575410000,0.3],[1674575420000,0.2],[1674575430000,0.3],[1674575440000,0.4],[1674575450000,0.2],[1674575460000,0.3],[1674575470000,0.4],[1674575480000,0.4]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.indexing.index_time_in_millis","metricAgg":"max","label":"Indexing","title":"Request Time","description":"Amount of time spent performing index operations on primary and replica shards.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.1],[1674575140000,0.1],[1674575150000,0],[1674575160000,0.1],[1674575170000,0.1],[1674575180000,0],[1674575190000,0.1],[1674575200000,0.1],[1674575210000,0.1],[1674575220000,0.1],[1674575230000,0],[1674575240000,0.1],[1674575250000,0.1],[1674575260000,0],[1674575270000,4.8],[1674575280000,0.1],[1674575290000,0],[1674575300000,0.1],[1674575310000,0.1],[1674575320000,0],[1674575330000,0.1],[1674575340000,0],[1674575350000,0.1],[1674575360000,0.1],[1674575370000,0.1],[1674575380000,0],[1674575390000,0.1],[1674575400000,0.1],[1674575410000,0.1],[1674575420000,0],[1674575430000,0.1],[1674575440000,0.1],[1674575450000,0.1],[1674575460000,0.1],[1674575470000,0],[1674575480000,0.4]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.indexing.index_time_in_millis","metricAgg":"max","label":"Indexing (Primaries)","title":"Request Time","description":"Amount of time spent performing index operations on primary shards only.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.1],[1674575140000,0.1],[1674575150000,0],[1674575160000,0.1],[1674575170000,0.1],[1674575180000,0],[1674575190000,0.1],[1674575200000,0.1],[1674575210000,0.1],[1674575220000,0.1],[1674575230000,0],[1674575240000,0.1],[1674575250000,0.1],[1674575260000,0],[1674575270000,4.8],[1674575280000,0.1],[1674575290000,0],[1674575300000,0.1],[1674575310000,0.1],[1674575320000,0],[1674575330000,0.1],[1674575340000,0],[1674575350000,0.1],[1674575360000,0.1],[1674575370000,0.1],[1674575380000,0],[1674575390000,0.1],[1674575400000,0.1],[1674575410000,0.1],[1674575420000,0],[1674575430000,0.1],[1674575440000,0.1],[1674575450000,0.1],[1674575460000,0.1],[1674575470000,0],[1674575480000,0.4]]}],"index_throttling":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.indexing.throttle_time_in_millis","metricAgg":"max","label":"Indexing","title":"Throttle Time","description":"Amount of time spent throttling index operations on primary and replica shards.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.indexing.throttle_time_in_millis","metricAgg":"max","label":"Indexing (Primaries)","title":"Throttle Time","description":"Amount of time spent throttling index operations on primary shards.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]}],"index_refresh":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.refresh.total_time_in_millis","metricAgg":"max","label":"Total","title":"Refresh Time","description":"Amount of time spent to perform refresh operations on primary and replica shards.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.6],[1674575140000,0.5],[1674575150000,0.6],[1674575160000,0.5],[1674575170000,0.4],[1674575180000,0.5],[1674575190000,0.6],[1674575200000,0.5],[1674575210000,0.4],[1674575220000,0.8],[1674575230000,0.5],[1674575240000,0.4],[1674575250000,0.4],[1674575260000,0.4],[1674575270000,0.6],[1674575280000,0.5],[1674575290000,0.5],[1674575300000,0.4],[1674575310000,0.6],[1674575320000,0.5],[1674575330000,0.4],[1674575340000,0.4],[1674575350000,0.5],[1674575360000,0.4],[1674575370000,0.4],[1674575380000,0.5],[1674575390000,0.5],[1674575400000,0.6],[1674575410000,0.5],[1674575420000,0.4],[1674575430000,0.5],[1674575440000,0.5],[1674575450000,0.6],[1674575460000,0.5],[1674575470000,0.5],[1674575480000,1.1]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.refresh.total_time_in_millis","metricAgg":"max","label":"Primaries","title":"Refresh Time","description":"Amount of time spent to perform refresh operations on primary shards.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0.6],[1674575140000,0.5],[1674575150000,0.6],[1674575160000,0.5],[1674575170000,0.4],[1674575180000,0.5],[1674575190000,0.6],[1674575200000,0.5],[1674575210000,0.4],[1674575220000,0.8],[1674575230000,0.5],[1674575240000,0.4],[1674575250000,0.4],[1674575260000,0.4],[1674575270000,0.6],[1674575280000,0.5],[1674575290000,0.5],[1674575300000,0.4],[1674575310000,0.6],[1674575320000,0.5],[1674575330000,0.4],[1674575340000,0.4],[1674575350000,0.5],[1674575360000,0.4],[1674575370000,0.4],[1674575380000,0.5],[1674575390000,0.5],[1674575400000,0.6],[1674575410000,0.5],[1674575420000,0.4],[1674575430000,0.5],[1674575440000,0.5],[1674575450000,0.6],[1674575460000,0.5],[1674575470000,0.5],[1674575480000,1.1]]}],"index_disk":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.store.size_in_bytes","metricAgg":"max","label":"Store","title":"Disk","description":"Size of primary and replica shards on disk.","units":"B","format":"0,0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,50899],[1674575140000,76233],[1674575150000,76233],[1674575160000,101576],[1674575170000,126899],[1674575180000,152252],[1674575190000,202928],[1674575200000,228267],[1674575210000,228267],[1674575220000,253618],[1674575230000,69951],[1674575240000,95286],[1674575250000,145956],[1674575260000,171294],[1674575270000,171294],[1674575280000,196628],[1674575290000,221969],[1674575300000,247300],[1674575310000,88704],[1674575320000,114046],[1674575330000,114046],[1674575340000,139381],[1674575350000,164723],[1674575360000,190065],[1674575370000,240733],[1674575380000,266068],[1674575390000,266068],[1674575400000,291411],[1674575410000,107555],[1674575420000,132893],[1674575430000,183559],[1674575440000,208909],[1674575450000,208909],[1674575460000,234251],[1674575470000,259596],[1674575480000,284930]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.store.size_in_bytes","metricAgg":"max","label":"Store (Primaries)","title":"Disk","description":"Size of primary shards on disk.","units":"B","format":"0,0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,50899],[1674575140000,76233],[1674575150000,76233],[1674575160000,101576],[1674575170000,126899],[1674575180000,152252],[1674575190000,202928],[1674575200000,228267],[1674575210000,228267],[1674575220000,253618],[1674575230000,69951],[1674575240000,95286],[1674575250000,145956],[1674575260000,171294],[1674575270000,171294],[1674575280000,196628],[1674575290000,221969],[1674575300000,247300],[1674575310000,88704],[1674575320000,114046],[1674575330000,114046],[1674575340000,139381],[1674575350000,164723],[1674575360000,190065],[1674575370000,240733],[1674575380000,266068],[1674575390000,266068],[1674575400000,291411],[1674575410000,107555],[1674575420000,132893],[1674575430000,183559],[1674575440000,208909],[1674575450000,208909],[1674575460000,234251],[1674575470000,259596],[1674575480000,284930]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.merges.total_size_in_bytes","metricAgg":"max","label":"Merges","title":"Disk","description":"Size of merges on primary and replica shards.","units":"B","format":"0,0.0 b","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,25338.2],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,25338.6],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,27215.6],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.merges.total_size_in_bytes","metricAgg":"max","label":"Merges (Primaries)","title":"Disk","description":"Size of merges on primary shards.","units":"B","format":"0,0.0 b","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,25338.2],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,25338.6],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,27215.6],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]}],"index_segment_count":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.segments.count","metricAgg":"max","label":"Total","title":"Segment Count","description":"Number of segments for primary and replica shards.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,2],[1674575140000,3],[1674575150000,4],[1674575160000,5],[1674575170000,6],[1674575180000,7],[1674575190000,8],[1674575200000,9],[1674575210000,10],[1674575220000,2],[1674575230000,3],[1674575240000,4],[1674575250000,5],[1674575260000,6],[1674575270000,7],[1674575280000,8],[1674575290000,9],[1674575300000,10],[1674575310000,2],[1674575320000,3],[1674575330000,4],[1674575340000,5],[1674575350000,6],[1674575360000,7],[1674575370000,8],[1674575380000,9],[1674575390000,10],[1674575400000,2],[1674575410000,3],[1674575420000,4],[1674575430000,5],[1674575440000,6],[1674575450000,7],[1674575460000,8],[1674575470000,9],[1674575480000,10]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.segments.count","metricAgg":"max","label":"Primaries","title":"Segment Count","description":"Number of segments for primary shards.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,2],[1674575140000,3],[1674575150000,4],[1674575160000,5],[1674575170000,6],[1674575180000,7],[1674575190000,8],[1674575200000,9],[1674575210000,10],[1674575220000,2],[1674575230000,3],[1674575240000,4],[1674575250000,5],[1674575260000,6],[1674575270000,7],[1674575280000,8],[1674575290000,9],[1674575300000,10],[1674575310000,2],[1674575320000,3],[1674575330000,4],[1674575340000,5],[1674575350000,6],[1674575360000,7],[1674575370000,8],[1674575380000,9],[1674575390000,10],[1674575400000,2],[1674575410000,3],[1674575420000,4],[1674575430000,5],[1674575440000,6],[1674575450000,7],[1674575460000,8],[1674575470000,9],[1674575480000,10]]}],"index_latency":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.primaries.indexing.index_total","metricAgg":"sum","label":"Indexing Latency","title":"Latency","description":"Average latency for indexing documents, which is time it takes to index documents divided by number that were indexed. This only considers primary shards.","units":"ms","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,null],[1674575140000,1],[1674575150000,0],[1674575160000,1],[1674575170000,1],[1674575180000,0],[1674575190000,1],[1674575200000,1],[1674575210000,1],[1674575220000,1],[1674575230000,0],[1674575240000,1],[1674575250000,1],[1674575260000,0],[1674575270000,47.99999999999999],[1674575280000,1],[1674575290000,0],[1674575300000,1],[1674575310000,1],[1674575320000,0],[1674575330000,1],[1674575340000,0],[1674575350000,1],[1674575360000,1],[1674575370000,1],[1674575380000,0],[1674575390000,1],[1674575400000,1],[1674575410000,1],[1674575420000,0],[1674575430000,1],[1674575440000,1],[1674575450000,1],[1674575460000,1],[1674575470000,0],[1674575480000,4]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"index_stats.total.search.query_total","metricAgg":"sum","label":"Search Latency","description":"Average latency for searching, which is time it takes to execute searches divided by number of searches submitted. This considers primary and replica shards.","units":"ms","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,null],[1674575140000,0.5714285714285715],[1674575150000,0.5714285714285715],[1674575160000,0.5714285714285715],[1674575170000,0.5714285714285715],[1674575180000,0.7142857142857143],[1674575190000,0.5714285714285715],[1674575200000,0],[1674575210000,0.4285714285714286],[1674575220000,0.5714285714285715],[1674575230000,0.4285714285714286],[1674575240000,0.4285714285714286],[1674575250000,0.5714285714285715],[1674575260000,0.4285714285714286],[1674575270000,0.4285714285714286],[1674575280000,0.5714285714285715],[1674575290000,0.5714285714285715],[1674575300000,0.4285714285714286],[1674575310000,0.5714285714285715],[1674575320000,0.4285714285714286],[1674575330000,0.28571428571428575],[1674575340000,0.5714285714285715],[1674575350000,1.2857142857142858],[1674575360000,0.4285714285714286],[1674575370000,0.4285714285714286],[1674575380000,0.5714285714285715],[1674575390000,0.5714285714285715],[1674575400000,0.4285714285714286],[1674575410000,0.4285714285714286],[1674575420000,0.28571428571428575],[1674575430000,0.4285714285714286],[1674575440000,0.5714285714285715],[1674575450000,0.28571428571428575],[1674575460000,0.4285714285714286],[1674575470000,0.5714285714285715],[1674575480000,0.5714285714285715]]}]}} diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/indices_all.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/indices_all.json new file mode 100644 index 0000000000000..108eeb785c735 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/indices_all.json @@ -0,0 +1 @@ +{"clusterStatus":{"status":"yellow","indicesCount":47,"documentCount":39688,"dataSize":33007934,"nodesCount":1,"upTime":779257,"version":["8.7.0"],"memUsed":586378752,"memMax":1073741824,"unassignedShards":28,"totalShards":75},"indices":[{"name":".ds-metrics-system.socket_summary-default-2023.01.24-000001","status":"yellow","doc_count":33,"data_size":129457,"index_rate":0.09722222222222222,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-elasticsearch.stack_monitoring.node_stats-default-2023.01.24-000001","status":"yellow","doc_count":37,"data_size":383792,"index_rate":0.09722222222222222,"search_rate":0.4722222222222222,"unassigned_shards":1,"status_sort":2},{"name":".ds-kibana_sample_data_logs-2023.01.24-000001","status":"green","doc_count":14074,"data_size":8521244,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-system.filesystem-default-2023.01.24-000001","status":"yellow","doc_count":7,"data_size":88921,"index_rate":0.016666666666666666,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-logs-elastic_agent.metricbeat-default-2023.01.24-000001","status":"yellow","doc_count":660,"data_size":245731,"index_rate":0.2972222222222222,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-logs-elastic_agent.filebeat-default-2023.01.24-000001","status":"yellow","doc_count":289,"data_size":179290,"index_rate":0.1,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":"kibana_sample_data_ecommerce","status":"green","doc_count":4675,"data_size":4274251,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-elasticsearch.stack_monitoring.enrich-default-2023.01.24-000001","status":"yellow","doc_count":37,"data_size":129059,"index_rate":0.09722222222222222,"search_rate":0.4722222222222222,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-elasticsearch.stack_monitoring.node-default-2023.01.24-000001","status":"yellow","doc_count":37,"data_size":150888,"index_rate":0.09722222222222222,"search_rate":0.4722222222222222,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-elastic_agent.metricbeat-default-2023.01.24-000001","status":"yellow","doc_count":70,"data_size":148212,"index_rate":0.3888888888888889,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".security-profile-8","status":"green","doc_count":1,"data_size":8775,"index_rate":0,"search_rate":0.2916666666666667,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-elasticsearch.stack_monitoring.cluster_stats-default-2023.01.24-000001","status":"yellow","doc_count":37,"data_size":284930,"index_rate":0.09722222222222222,"search_rate":0.6611111111111111,"unassigned_shards":1,"status_sort":2},{"name":".fleet-enrollment-api-keys-7","status":"green","doc_count":3,"data_size":14260,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-system.process.summary-default-2023.01.24-000001","status":"yellow","doc_count":33,"data_size":109010,"index_rate":0.09722222222222222,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-elastic_agent.fleet_server-default-2023.01.24-000001","status":"yellow","doc_count":34,"data_size":70004,"index_rate":0.09722222222222222,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-elasticsearch.stack_monitoring.shard-default-2023.01.24-000001","status":"yellow","doc_count":209,"data_size":74177,"index_rate":0.20833333333333334,"search_rate":0.5666666666666667,"unassigned_shards":1,"status_sort":2},{"name":".apm-agent-configuration","status":"green","doc_count":0,"data_size":225,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".kibana_task_manager_8.7.0_001","status":"green","doc_count":27,"data_size":160063,"index_rate":0.5583333333333333,"search_rate":1.5138888888888888,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-system.load-default-2023.01.24-000001","status":"yellow","doc_count":33,"data_size":111911,"index_rate":0.09722222222222222,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":"kibana_sample_data_flights","status":"green","doc_count":13059,"data_size":5982692,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".fleet-policies-leader-7","status":"green","doc_count":3,"data_size":49295,"index_rate":0.13333333333333333,"search_rate":0.044444444444444446,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-elasticsearch.stack_monitoring.index_summary-default-2023.01.24-000001","status":"yellow","doc_count":37,"data_size":200392,"index_rate":0.09722222222222222,"search_rate":0.4722222222222222,"unassigned_shards":1,"status_sort":2},{"name":".ds-logs-elastic_agent-default-2023.01.24-000001","status":"yellow","doc_count":247,"data_size":243067,"index_rate":0,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".security-7","status":"green","doc_count":161,"data_size":514360,"index_rate":0,"search_rate":0.4888888888888889,"unassigned_shards":0,"status_sort":1},{"name":".kibana-event-log-8.7.0-snapshot-000001","status":"green","doc_count":1,"data_size":7207,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".fleet-agents-7","status":"green","doc_count":2,"data_size":200002,"index_rate":0.06666666666666667,"search_rate":0.025,"unassigned_shards":0,"status_sort":1},{"name":".fleet-servers-7","status":"green","doc_count":1,"data_size":73685,"index_rate":0.044444444444444446,"search_rate":0.002777777777777778,"unassigned_shards":0,"status_sort":1},{"name":".kibana_8.7.0_001","status":"green","doc_count":1983,"data_size":7087816,"index_rate":0.041666666666666664,"search_rate":0.1,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-system.diskio-default-2023.01.24-000001","status":"yellow","doc_count":96,"data_size":144549,"index_rate":0.2916666666666667,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-system.network-default-2023.01.24-000001","status":"yellow","doc_count":162,"data_size":165553,"index_rate":0.4861111111111111,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".async-search","status":"green","doc_count":2,"data_size":13073,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-system.memory-default-2023.01.24-000001","status":"yellow","doc_count":33,"data_size":123927,"index_rate":0.09722222222222222,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-elasticsearch.stack_monitoring.index_recovery-default-2023.01.24-000001","status":"yellow","doc_count":1102,"data_size":478248,"index_rate":2.9166666666666665,"search_rate":0.6611111111111111,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-system.process-default-2023.01.24-000001","status":"yellow","doc_count":202,"data_size":458256,"index_rate":0.6416666666666667,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-system.fsstat-default-2023.01.24-000001","status":"yellow","doc_count":7,"data_size":77014,"index_rate":0.016666666666666666,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".apm-source-map","status":"yellow","doc_count":0,"data_size":225,"index_rate":0,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-ilm-history-5-2023.01.24-000001","status":"green","doc_count":90,"data_size":51965,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-elastic_agent.elastic_agent-default-2023.01.24-000001","status":"yellow","doc_count":171,"data_size":250785,"index_rate":0.5833333333333334,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-logs-elastic_agent.fleet_server-default-2023.01.24-000001","status":"yellow","doc_count":147,"data_size":150532,"index_rate":0.005555555555555556,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-elastic_agent.filebeat-default-2023.01.24-000001","status":"yellow","doc_count":68,"data_size":124701,"index_rate":0.19444444444444445,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".ds-metrics-system.uptime-default-2023.01.24-000001","status":"yellow","doc_count":33,"data_size":102739,"index_rate":0.09722222222222222,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".kibana_security_session_1","status":"green","doc_count":1,"data_size":6840,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-system.cpu-default-2023.01.24-000001","status":"yellow","doc_count":33,"data_size":134828,"index_rate":0.09722222222222222,"search_rate":0,"unassigned_shards":1,"status_sort":2},{"name":".apm-custom-link","status":"green","doc_count":0,"data_size":225,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".ds-.logs-deprecation.elasticsearch-default-2023.01.24-000001","status":"green","doc_count":3,"data_size":26374,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":".ds-metrics-elasticsearch.stack_monitoring.index-default-2023.01.24-000001","status":"yellow","doc_count":1731,"data_size":1191783,"index_rate":4.569444444444445,"search_rate":0.4722222222222222,"unassigned_shards":1,"status_sort":2},{"name":".fleet-policies-7","status":"green","doc_count":17,"data_size":63601,"index_rate":0,"search_rate":0.044444444444444446,"unassigned_shards":0,"status_sort":1}]} diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/indices_no_system.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/indices_no_system.json new file mode 100644 index 0000000000000..ed04481cab055 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/indices_no_system.json @@ -0,0 +1 @@ +{"clusterStatus":{"status":"yellow","indicesCount":47,"documentCount":39688,"dataSize":33007934,"nodesCount":1,"upTime":779257,"version":["8.7.0"],"memUsed":586378752,"memMax":1073741824,"unassignedShards":28,"totalShards":75},"indices":[{"name":"kibana_sample_data_ecommerce","status":"green","doc_count":4675,"data_size":4274251,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1},{"name":"kibana_sample_data_flights","status":"green","doc_count":13059,"data_size":5982692,"index_rate":0,"search_rate":0,"unassigned_shards":0,"status_sort":1}]} diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/ml_jobs.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/ml_jobs.json new file mode 100644 index 0000000000000..6ab7eb819a934 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/ml_jobs.json @@ -0,0 +1 @@ +{"clusterStatus":{"status":"yellow","indicesCount":47,"documentCount":39688,"dataSize":33007934,"nodesCount":1,"upTime":779257,"version":["8.7.0"],"memUsed":586378752,"memMax":1073741824,"unassignedShards":28,"totalShards":75},"rows":[{"ml":{"job":{"data_counts":{"processed_record_count":44},"id":"high_mean_cpu_iowait_ecs","state":"closed","forecasts_stats":{"total":0}}},"node":{}},{"ml":{"job":{"data_counts":{"processed_record_count":8},"id":"max_disk_utilization_ecs","state":"closed","forecasts_stats":{"total":0}}},"node":{}},{"ml":{"job":{"data_counts":{"processed_record_count":1029},"id":"metricbeat_outages_ecs","state":"closed","forecasts_stats":{"total":0}}},"node":{}}]} diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/node_detail.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/node_detail.json new file mode 100644 index 0000000000000..370dcb08a19da --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/node_detail.json @@ -0,0 +1 @@ +{"nodeSummary":{"resolver":"1ksGajLvSW-OwnAYH-X3Sg","node_ids":["1ksGajLvSW-OwnAYH-X3Sg"],"transport_address":"https://elasticsearch:9200","name":"712a47f7f7df","type":"master","nodeTypeLabel":"Master Node","nodeTypeClass":"starFilled","totalShards":47,"indexCount":47,"documents":39688,"dataSize":33007934,"freeSpace":37511475200,"totalSpace":193393164288,"usedHeap":54,"status":"Online","isOnline":true},"metrics":{"node_total_io":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.fs.io_stats.total.operations","metricAgg":"max","label":"Total I/O","title":"I/O Operations Rate","description":"Total I/O. (This metric is not supported on all platforms and may display N/A if I/O data is unavailable.)","units":"/s","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,null],[1674575140000,null],[1674575150000,null],[1674575160000,null],[1674575170000,null],[1674575180000,null],[1674575190000,null],[1674575200000,null],[1674575210000,null],[1674575220000,null],[1674575230000,null],[1674575240000,null],[1674575250000,null],[1674575260000,null],[1674575270000,null],[1674575280000,null],[1674575290000,null],[1674575300000,null],[1674575310000,null],[1674575320000,null],[1674575330000,null],[1674575340000,null],[1674575350000,null],[1674575360000,null],[1674575370000,null],[1674575380000,null],[1674575390000,null],[1674575400000,null],[1674575410000,null],[1674575420000,null],[1674575430000,null],[1674575440000,null],[1674575450000,null],[1674575460000,null],[1674575470000,null],[1674575480000,null]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.fs.io_stats.total.read_operations","metricAgg":"max","label":"Total Read I/O","title":"I/O Operations Rate","description":"Total Read I/O. (This metric is not supported on all platforms and may display N/A if I/O data is unavailable.)","units":"/s","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,null],[1674575140000,null],[1674575150000,null],[1674575160000,null],[1674575170000,null],[1674575180000,null],[1674575190000,null],[1674575200000,null],[1674575210000,null],[1674575220000,null],[1674575230000,null],[1674575240000,null],[1674575250000,null],[1674575260000,null],[1674575270000,null],[1674575280000,null],[1674575290000,null],[1674575300000,null],[1674575310000,null],[1674575320000,null],[1674575330000,null],[1674575340000,null],[1674575350000,null],[1674575360000,null],[1674575370000,null],[1674575380000,null],[1674575390000,null],[1674575400000,null],[1674575410000,null],[1674575420000,null],[1674575430000,null],[1674575440000,null],[1674575450000,null],[1674575460000,null],[1674575470000,null],[1674575480000,null]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.fs.io_stats.total.write_operations","metricAgg":"max","label":"Total Write I/O","title":"I/O Operations Rate","description":"Total Write I/O. (This metric is not supported on all platforms and may display N/A if I/O data is unavailable.)","units":"/s","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,null],[1674575140000,null],[1674575150000,null],[1674575160000,null],[1674575170000,null],[1674575180000,null],[1674575190000,null],[1674575200000,null],[1674575210000,null],[1674575220000,null],[1674575230000,null],[1674575240000,null],[1674575250000,null],[1674575260000,null],[1674575270000,null],[1674575280000,null],[1674575290000,null],[1674575300000,null],[1674575310000,null],[1674575320000,null],[1674575330000,null],[1674575340000,null],[1674575350000,null],[1674575360000,null],[1674575370000,null],[1674575380000,null],[1674575390000,null],[1674575400000,null],[1674575410000,null],[1674575420000,null],[1674575430000,null],[1674575440000,null],[1674575450000,null],[1674575460000,null],[1674575470000,null],[1674575480000,null]]}],"node_latency":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.search.query_total","metricAgg":"sum","label":"Search","title":"Latency","description":"Average latency for searching, which is time it takes to execute searches divided by number of searches submitted. This considers primary and replica shards.","units":"ms","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,null],[1674575140000,0.6527777777777778],[1674575150000,0.6176470588235294],[1674575160000,0.4861111111111111],[1674575170000,1.802816901408451],[1674575180000,1.787878787878788],[1674575190000,0.5],[1674575200000,0.5416666666666667],[1674575210000,0.4264705882352941],[1674575220000,0.5211267605633804],[1674575230000,0.5068493150684932],[1674575240000,0.45312499999999994],[1674575250000,0.43243243243243246],[1674575260000,0.4411764705882353],[1674575270000,1.2352941176470589],[1674575280000,0.45945945945945943],[1674575290000,0.5571428571428572],[1674575300000,0.3731343283582089],[1674575310000,0.45070422535211274],[1674575320000,0.4444444444444445],[1674575330000,0.34375],[1674575340000,0.5405405405405405],[1674575350000,1.338235294117647],[1674575360000,0.554054054054054],[1674575370000,0.36619718309859156],[1674575380000,0.6176470588235294],[1674575390000,0.5882352941176471],[1674575400000,0.3918918918918919],[1674575410000,0.4090909090909091],[1674575420000,0.39436619718309857],[1674575430000,0.39436619718309857],[1674575440000,0.44776119402985076],[1674575450000,0.37681159420289856],[1674575460000,0.4647887323943662],[1674575470000,0.5316455696202531],[1674575480000,0.6595744680851063]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.indexing.index_total","metricAgg":"sum","label":"Indexing","title":"Latency","description":"Average latency for indexing documents, which is time it takes to index documents divided by number that were indexed. This considers any shard located on this node, including replicas.","units":"ms","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,null],[1674575140000,0.15322580645161288],[1674575150000,0.1911764705882353],[1674575160000,0.16935483870967744],[1674575170000,0.15671641791044777],[1674575180000,0.15909090909090912],[1674575190000,0.16666666666666669],[1674575200000,0.16935483870967744],[1674575210000,0.18045112781954886],[1674575220000,0.1953125],[1674575230000,0.1328125],[1674575240000,0.1450381679389313],[1674575250000,0.1811023622047244],[1674575260000,0.13709677419354838],[1674575270000,0.5413533834586466],[1674575280000,0.18253968253968253],[1674575290000,0.1382113821138211],[1674575300000,0.14074074074074072],[1674575310000,0.16129032258064516],[1674575320000,0.32031249999999994],[1674575330000,0.1640625],[1674575340000,0.11707317073170731],[1674575350000,0.17968749999999997],[1674575360000,0.19863013698630136],[1674575370000,0.20967741935483872],[1674575380000,0.152],[1674575390000,0.16666666666666669],[1674575400000,0.15267175572519084],[1674575410000,0.15833333333333333],[1674575420000,0.1691176470588235],[1674575430000,0.15079365079365079],[1674575440000,0.1652892561983471],[1674575450000,0.21481481481481482],[1674575460000,0.1138211382113821],[1674575470000,0.140625],[1674575480000,0.21641791044776118]]}],"node_jvm_mem":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.jvm.mem.heap_max_in_bytes","metricAgg":"max","label":"Max Heap","title":"JVM Heap","description":"Total heap available to Elasticsearch running in the JVM.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,1073741824],[1674575140000,1073741824],[1674575150000,1073741824],[1674575160000,1073741824],[1674575170000,1073741824],[1674575180000,1073741824],[1674575190000,1073741824],[1674575200000,1073741824],[1674575210000,1073741824],[1674575220000,1073741824],[1674575230000,1073741824],[1674575240000,1073741824],[1674575250000,1073741824],[1674575260000,1073741824],[1674575270000,1073741824],[1674575280000,1073741824],[1674575290000,1073741824],[1674575300000,1073741824],[1674575310000,1073741824],[1674575320000,1073741824],[1674575330000,1073741824],[1674575340000,1073741824],[1674575350000,1073741824],[1674575360000,1073741824],[1674575370000,1073741824],[1674575380000,1073741824],[1674575390000,1073741824],[1674575400000,1073741824],[1674575410000,1073741824],[1674575420000,1073741824],[1674575430000,1073741824],[1674575440000,1073741824],[1674575450000,1073741824],[1674575460000,1073741824],[1674575470000,1073741824],[1674575480000,1073741824]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.jvm.mem.heap_used_in_bytes","metricAgg":"max","label":"Used Heap","title":"JVM Heap","description":"Total heap used by Elasticsearch running in the JVM.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,552044032],[1674575140000,707233280],[1674575150000,284409344],[1674575160000,447987200],[1674575170000,628342272],[1674575180000,201092608],[1674575190000,364670464],[1674575200000,511471104],[1674575210000,675048960],[1674575220000,353320448],[1674575230000,512704000],[1674575240000,663698944],[1674575250000,246750720],[1674575260000,406134272],[1674575270000,569712128],[1674575280000,750067200],[1674575290000,335591936],[1674575300000,494975488],[1674575310000,738245120],[1674575320000,325381120],[1674575330000,505736192],[1674575340000,694479872],[1674575350000,281868288],[1674575360000,495777792],[1674575370000,667744256],[1674575380000,247774208],[1674575390000,436517888],[1674575400000,679787520],[1674575410000,250852352],[1674575420000,443790336],[1674575430000,624145408],[1674575440000,193553920],[1674575450000,382297600],[1674575460000,562652672],[1674575470000,784950784],[1674575480000,586378752]]}],"node_cpu_metric":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.process.cpu.percent","metricAgg":"max","label":"CPU Utilization","description":"Percentage of CPU usage for the Elasticsearch process.","units":"%","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,6],[1674575140000,5],[1674575150000,10],[1674575160000,5],[1674575170000,7],[1674575180000,6],[1674575190000,5],[1674575200000,4],[1674575210000,6],[1674575220000,10],[1674575230000,5],[1674575240000,5],[1674575250000,5],[1674575260000,5],[1674575270000,4],[1674575280000,6],[1674575290000,6],[1674575300000,4],[1674575310000,5],[1674575320000,7],[1674575330000,5],[1674575340000,5],[1674575350000,6],[1674575360000,7],[1674575370000,4],[1674575380000,6],[1674575390000,6],[1674575400000,5],[1674575410000,5],[1674575420000,5],[1674575430000,4],[1674575440000,4],[1674575450000,4],[1674575460000,5],[1674575470000,5],[1674575480000,15]]}],"node_load_average":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.os.cpu.load_average.1m","metricAgg":"max","label":"1m","title":"System Load","description":"Load average over the last minute.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,0.58984375],[1674575140000,0.64990234375],[1674575150000,0.5498046875],[1674575160000,0.5498046875],[1674575170000,0.68017578125],[1674575180000,0.740234375],[1674575190000,0.93994140625],[1674575200000,0.9501953125],[1674575210000,1.2099609375],[1674575220000,1.400390625],[1674575230000,1.5],[1674575240000,1.349609375],[1674575250000,1.2099609375],[1674575260000,1.099609375],[1674575270000,0.93017578125],[1674575280000,1.1103515625],[1674575290000,1.259765625],[1674575300000,1.0703125],[1674575310000,0.89990234375],[1674575320000,0.759765625],[1674575330000,0.93994140625],[1674575340000,0.7998046875],[1674575350000,0.91015625],[1674575360000,1.08984375],[1674575370000,1.08984375],[1674575380000,0.919921875],[1674575390000,1.330078125],[1674575400000,1.2099609375],[1674575410000,1.01953125],[1674575420000,0.93994140625],[1674575430000,0.8798828125],[1674575440000,0.81982421875],[1674575450000,0.68994140625],[1674575460000,0.66015625],[1674575470000,0.56005859375],[1674575480000,0.6298828125]]}],"node_segment_count":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.segments.count","metricAgg":"max","label":"Segment Count","description":"Maximum segment count for primary and replica shards on this node.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,187],[1674575140000,199],[1674575150000,202],[1674575160000,213],[1674575170000,218],[1674575180000,219],[1674575190000,222],[1674575200000,233],[1674575210000,237],[1674575220000,170],[1674575230000,184],[1674575240000,194],[1674575250000,198],[1674575260000,209],[1674575270000,220],[1674575280000,224],[1674575290000,226],[1674575300000,237],[1674575310000,185],[1674575320000,189],[1674575330000,198],[1674575340000,212],[1674575350000,214],[1674575360000,213],[1674575370000,226],[1674575380000,228],[1674575390000,230],[1674575400000,180],[1674575410000,188],[1674575420000,195],[1674575430000,207],[1674575440000,217],[1674575450000,221],[1674575460000,231],[1674575470000,236],[1674575480000,239]]}]},"logs":{"enabled":false,"logs":[],"reason":{"indexPatternExists":false,"indexPatternInTimeRangeExists":false,"typeExistsAtAnyTime":false,"typeExists":false,"usingStructuredLogs":false,"clusterExists":false,"nodeExists":false,"indexExists":null},"limit":10},"shards":[{"index":"kibana_sample_data_flights","node":"1ksGajLvSW-OwnAYH-X3Sg","primary":true,"relocating_node":null,"shard":0,"state":"STARTED"},{"index":"kibana_sample_data_ecommerce","node":"1ksGajLvSW-OwnAYH-X3Sg","primary":true,"relocating_node":null,"shard":0,"state":"STARTED"}],"shardStats":{"indices":{".apm-agent-configuration":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".apm-custom-link":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".apm-source-map":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".async-search":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-.logs-deprecation.elasticsearch-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-ilm-history-5-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-kibana_sample_data_logs-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-logs-elastic_agent-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-logs-elastic_agent.filebeat-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-logs-elastic_agent.fleet_server-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-logs-elastic_agent.metricbeat-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elastic_agent.elastic_agent-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elastic_agent.filebeat-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elastic_agent.fleet_server-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elastic_agent.metricbeat-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elasticsearch.stack_monitoring.cluster_stats-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elasticsearch.stack_monitoring.enrich-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elasticsearch.stack_monitoring.index-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elasticsearch.stack_monitoring.index_recovery-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elasticsearch.stack_monitoring.index_summary-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elasticsearch.stack_monitoring.node-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elasticsearch.stack_monitoring.node_stats-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-elasticsearch.stack_monitoring.shard-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.cpu-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.diskio-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.filesystem-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.fsstat-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.load-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.memory-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.network-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.process-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.process.summary-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.socket_summary-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".ds-metrics-system.uptime-default-2023.01.24-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".fleet-agents-7":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".fleet-enrollment-api-keys-7":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".fleet-policies-7":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".fleet-policies-leader-7":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".fleet-servers-7":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".kibana-event-log-8.7.0-snapshot-000001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".kibana_8.7.0_001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".kibana_security_session_1":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".kibana_task_manager_8.7.0_001":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".security-7":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},".security-profile-8":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},"kibana_sample_data_ecommerce":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}},"kibana_sample_data_flights":{"status":"green","primary":1,"replica":0,"unassigned":{"primary":0,"replica":0}}}},"nodes":{"1ksGajLvSW-OwnAYH-X3Sg":{"shardCount":47,"indexCount":47,"name":"712a47f7f7df","node_ids":["1ksGajLvSW-OwnAYH-X3Sg"],"type":"master"}},"stateUuid":"v1_XbWynRRGKGG7gX7U86g"} diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/node_detail_advanced.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/node_detail_advanced.json new file mode 100644 index 0000000000000..7ce5184d1f2af --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/node_detail_advanced.json @@ -0,0 +1 @@ +{"nodeSummary":{"resolver":"1ksGajLvSW-OwnAYH-X3Sg","node_ids":["1ksGajLvSW-OwnAYH-X3Sg"],"transport_address":"https://elasticsearch:9200","name":"712a47f7f7df","type":"master","nodeTypeLabel":"Master Node","nodeTypeClass":"starFilled","totalShards":47,"indexCount":47,"documents":39688,"dataSize":33007934,"freeSpace":37511475200,"totalSpace":193393164288,"usedHeap":54,"status":"Online","isOnline":true},"metrics":{"node_jvm_mem":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.jvm.mem.heap_max_in_bytes","metricAgg":"max","label":"Max Heap","title":"JVM Heap","description":"Total heap available to Elasticsearch running in the JVM.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,1073741824],[1674575140000,1073741824],[1674575150000,1073741824],[1674575160000,1073741824],[1674575170000,1073741824],[1674575180000,1073741824],[1674575190000,1073741824],[1674575200000,1073741824],[1674575210000,1073741824],[1674575220000,1073741824],[1674575230000,1073741824],[1674575240000,1073741824],[1674575250000,1073741824],[1674575260000,1073741824],[1674575270000,1073741824],[1674575280000,1073741824],[1674575290000,1073741824],[1674575300000,1073741824],[1674575310000,1073741824],[1674575320000,1073741824],[1674575330000,1073741824],[1674575340000,1073741824],[1674575350000,1073741824],[1674575360000,1073741824],[1674575370000,1073741824],[1674575380000,1073741824],[1674575390000,1073741824],[1674575400000,1073741824],[1674575410000,1073741824],[1674575420000,1073741824],[1674575430000,1073741824],[1674575440000,1073741824],[1674575450000,1073741824],[1674575460000,1073741824],[1674575470000,1073741824],[1674575480000,1073741824]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.jvm.mem.heap_used_in_bytes","metricAgg":"max","label":"Used Heap","title":"JVM Heap","description":"Total heap used by Elasticsearch running in the JVM.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,552044032],[1674575140000,707233280],[1674575150000,284409344],[1674575160000,447987200],[1674575170000,628342272],[1674575180000,201092608],[1674575190000,364670464],[1674575200000,511471104],[1674575210000,675048960],[1674575220000,353320448],[1674575230000,512704000],[1674575240000,663698944],[1674575250000,246750720],[1674575260000,406134272],[1674575270000,569712128],[1674575280000,750067200],[1674575290000,335591936],[1674575300000,494975488],[1674575310000,738245120],[1674575320000,325381120],[1674575330000,505736192],[1674575340000,694479872],[1674575350000,281868288],[1674575360000,495777792],[1674575370000,667744256],[1674575380000,247774208],[1674575390000,436517888],[1674575400000,679787520],[1674575410000,250852352],[1674575420000,443790336],[1674575430000,624145408],[1674575440000,193553920],[1674575450000,382297600],[1674575460000,562652672],[1674575470000,784950784],[1674575480000,586378752]]}],"node_gc":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.jvm.gc.collectors.old.collection_count","metricAgg":"max","label":"Old","title":"GC Rate","description":"Number of old Garbage Collections.","units":"","format":"0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.jvm.gc.collectors.young.collection_count","metricAgg":"max","label":"Young","title":"GC Rate","description":"Number of young Garbage Collections.","units":"","format":"0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0.1],[1674575160000,0],[1674575170000,0],[1674575180000,0.1],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0.1],[1674575230000,0],[1674575240000,0],[1674575250000,0.1],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0.1],[1674575300000,0],[1674575310000,0],[1674575320000,0.1],[1674575330000,0],[1674575340000,0],[1674575350000,0.1],[1674575360000,0],[1674575370000,0],[1674575380000,0.1],[1674575390000,0],[1674575400000,0],[1674575410000,0.1],[1674575420000,0],[1674575430000,0],[1674575440000,0.1],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0.1]]}],"node_gc_time":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.jvm.gc.collectors.old.collection_time_in_millis","metricAgg":"max","label":"Old","title":"GC Duration","description":"Time spent performing old Garbage Collections.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.jvm.gc.collectors.young.collection_time_in_millis","metricAgg":"max","label":"Young","title":"GC Duration","description":"Time spent performing young Garbage Collections.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,4.2],[1674575160000,0],[1674575170000,0],[1674575180000,2.7],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,4.3],[1674575230000,0],[1674575240000,0],[1674575250000,2.3],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,3.1],[1674575300000,0],[1674575310000,0],[1674575320000,2.2],[1674575330000,0],[1674575340000,0],[1674575350000,2.5],[1674575360000,0],[1674575370000,0],[1674575380000,4.7],[1674575390000,0],[1674575400000,0],[1674575410000,3],[1674575420000,0],[1674575430000,0],[1674575440000,3.3],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,2.5]]}],"node_index_3":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.segments.fixed_bit_set_memory_in_bytes","metricAgg":"max","label":"Fixed Bitsets","title":"Index Memory - Lucene","description":"Heap memory used by Fixed Bit Sets (e.g., deeply nested documents). This is a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,704],[1674575140000,768],[1674575150000,688],[1674575160000,752],[1674575170000,832],[1674575180000,736],[1674575190000,800],[1674575200000,864],[1674575210000,768],[1674575220000,720],[1674575230000,800],[1674575240000,832],[1674575250000,752],[1674575260000,816],[1674575270000,848],[1674575280000,800],[1674575290000,720],[1674575300000,752],[1674575310000,816],[1674575320000,736],[1674575330000,768],[1674575340000,832],[1674575350000,752],[1674575360000,736],[1674575370000,832],[1674575380000,864],[1674575390000,784],[1674575400000,848],[1674575410000,848],[1674575420000,768],[1674575430000,816],[1674575440000,864],[1674575450000,784],[1674575460000,832],[1674575470000,768],[1674575480000,832]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.segments.version_map_memory_in_bytes","metricAgg":"max","label":"Version Map","title":"Index Memory","description":"Heap memory used by Versioning (e.g., updates and deletes). This is NOT a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,348],[1674575160000,348],[1674575170000,1032],[1674575180000,348],[1674575190000,348],[1674575200000,348],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,174],[1674575260000,174],[1674575270000,348],[1674575280000,348],[1674575290000,348],[1674575300000,348],[1674575310000,348],[1674575320000,348],[1674575330000,348],[1674575340000,348],[1674575350000,1410],[1674575360000,834],[1674575370000,348],[1674575380000,348],[1674575390000,348],[1674575400000,348],[1674575410000,0],[1674575420000,0],[1674575430000,168],[1674575440000,0],[1674575450000,174],[1674575460000,516],[1674575470000,348],[1674575480000,0]]}],"node_index_4":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.query_cache.memory_size_in_bytes","metricAgg":"max","label":"Query Cache","title":"Index Memory - Elasticsearch","description":"Heap memory used by Query Cache (e.g., cached filters). This is for the same shards, but not a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.request_cache.memory_size_in_bytes","metricAgg":"max","label":"Request Cache","title":"Index Memory","description":"Heap memory used by Request Cache (e.g., instant aggregations). This is for the same shards, but not a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,254888],[1674575140000,127672],[1674575150000,189440],[1674575160000,262768],[1674575170000,337160],[1674575180000,421560],[1674575190000,513456],[1674575200000,69000],[1674575210000,162464],[1674575220000,263648],[1674575230000,372520],[1674575240000,491000],[1674575250000,619176],[1674575260000,67816],[1674575270000,196880],[1674575280000,332192],[1674575290000,475304],[1674575300000,626136],[1674575310000,784624],[1674575320000,241600],[1674575330000,423200],[1674575340000,627232],[1674575350000,824312],[1674575360000,1029040],[1674575370000,1241312],[1674575380000,288544],[1674575390000,517448],[1674575400000,755056],[1674575410000,999752],[1674575420000,1299040],[1674575430000,1545792],[1674575440000,312360],[1674575450000,556080],[1674575460000,806640],[1674575470000,1064080],[1674575480000,1340536]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.fielddata.memory_size_in_bytes","metricAgg":"max","label":"Fielddata","title":"Index Memory","description":"Heap memory used by Fielddata (e.g., global ordinals or explicitly enabled fielddata on text fields). This is for the same shards, but not a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,504],[1674575140000,504],[1674575150000,504],[1674575160000,504],[1674575170000,504],[1674575180000,504],[1674575190000,504],[1674575200000,504],[1674575210000,504],[1674575220000,504],[1674575230000,504],[1674575240000,504],[1674575250000,504],[1674575260000,504],[1674575270000,504],[1674575280000,504],[1674575290000,504],[1674575300000,504],[1674575310000,504],[1674575320000,504],[1674575330000,504],[1674575340000,528],[1674575350000,528],[1674575360000,528],[1674575370000,528],[1674575380000,528],[1674575390000,528],[1674575400000,528],[1674575410000,272],[1674575420000,528],[1674575430000,528],[1674575440000,528],[1674575450000,528],[1674575460000,528],[1674575470000,528],[1674575480000,528]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.segments.index_writer_memory_in_bytes","metricAgg":"max","label":"Index Writer","title":"Index Memory","description":"Heap memory used by the Index Writer. This is NOT a part of Lucene Total.","units":"B","format":"0.0 b","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,4053336],[1674575140000,4122648],[1674575150000,4703012],[1674575160000,4777368],[1674575170000,5034292],[1674575180000,5445780],[1674575190000,5539300],[1674575200000,5610856],[1674575210000,5376028],[1674575220000,5630244],[1674575230000,5697432],[1674575240000,5793776],[1674575250000,6160632],[1674575260000,6226752],[1674575270000,6328176],[1674575280000,6399460],[1674575290000,6468560],[1674575300000,6560844],[1674575310000,6632560],[1674575320000,6740320],[1674575330000,6830208],[1674575340000,6901240],[1674575350000,7166588],[1674575360000,7256960],[1674575370000,6637952],[1674575380000,6712756],[1674575390000,6799552],[1674575400000,6871800],[1674575410000,6912150],[1674575420000,6357892],[1674575430000,6671452],[1674575440000,6530724],[1674575450000,6926804],[1674575460000,7251116],[1674575470000,7068232],[1674575480000,6853356]]}],"node_request_total":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.search.query_total","metricAgg":"max","label":"Search Total","title":"Request Rate","description":"Amount of search operations (per shard).","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,7.1],[1674575140000,7.2],[1674575150000,6.8],[1674575160000,7.2],[1674575170000,7.1],[1674575180000,6.6],[1674575190000,7.2],[1674575200000,2.4],[1674575210000,6.8],[1674575220000,7.1],[1674575230000,7.3],[1674575240000,6.4],[1674575250000,7.4],[1674575260000,6.8],[1674575270000,6.8],[1674575280000,7.4],[1674575290000,7],[1674575300000,6.7],[1674575310000,7.1],[1674575320000,7.2],[1674575330000,6.4],[1674575340000,7.4],[1674575350000,6.8],[1674575360000,7.4],[1674575370000,7.1],[1674575380000,6.8],[1674575390000,6.8],[1674575400000,7.4],[1674575410000,6.6],[1674575420000,7.1],[1674575430000,7.1],[1674575440000,6.7],[1674575450000,6.9],[1674575460000,7.1],[1674575470000,7.9],[1674575480000,9.4]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.indexing.index_total","metricAgg":"max","label":"Indexing Total","title":"Request Rate","description":"Amount of indexing operations.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,19.6],[1674575140000,12.4],[1674575150000,13.6],[1674575160000,12.4],[1674575170000,13.4],[1674575180000,13.2],[1674575190000,12.6],[1674575200000,12.4],[1674575210000,13.3],[1674575220000,12.8],[1674575230000,12.8],[1674575240000,13.1],[1674575250000,12.7],[1674575260000,12.4],[1674575270000,13.3],[1674575280000,12.6],[1674575290000,12.3],[1674575300000,13.5],[1674575310000,12.4],[1674575320000,12.8],[1674575330000,12.8],[1674575340000,20.5],[1674575350000,12.8],[1674575360000,14.6],[1674575370000,12.4],[1674575380000,12.5],[1674575390000,13.2],[1674575400000,13.1],[1674575410000,12],[1674575420000,13.6],[1674575430000,12.6],[1674575440000,12.1],[1674575450000,13.5],[1674575460000,12.3],[1674575470000,12.8],[1674575480000,13.4]]}],"node_index_time":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.indexing.index_time_in_millis","metricAgg":"max","label":"Index Time","title":"Indexing Time","description":"Amount of time spent on indexing operations.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,3.3],[1674575140000,1.9],[1674575150000,2.6],[1674575160000,2.1],[1674575170000,2.1],[1674575180000,2.1],[1674575190000,2.1],[1674575200000,2.1],[1674575210000,2.4],[1674575220000,2.5],[1674575230000,1.7],[1674575240000,1.9],[1674575250000,2.3],[1674575260000,1.7],[1674575270000,7.2],[1674575280000,2.3],[1674575290000,1.7],[1674575300000,1.9],[1674575310000,2],[1674575320000,4.1],[1674575330000,2.1],[1674575340000,2.4],[1674575350000,2.3],[1674575360000,2.9],[1674575370000,2.6],[1674575380000,1.9],[1674575390000,2.2],[1674575400000,2],[1674575410000,1.9],[1674575420000,2.3],[1674575430000,1.9],[1674575440000,2],[1674575450000,2.9],[1674575460000,1.4],[1674575470000,1.8],[1674575480000,2.9]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.indexing.throttle_time_in_millis","metricAgg":"max","label":"Index Throttling Time","title":"Indexing Time","description":"Amount of time spent with index throttling, which indicates slow disks on a node.","units":"ms","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]}],"node_index_threads":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.thread_pool.write.queue","metricAgg":"max","label":"Write Queue","title":"Indexing Threads","description":"Number of index, bulk, and write operations in the queue. The bulk threadpool was renamed to write in 6.3, and the index threadpool is deprecated.","units":"","format":"0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.thread_pool.write.rejected","metricAgg":"max","label":"Write Rejections","title":"Indexing Threads","description":"Number of index, bulk, and write operations that have been rejected, which occurs when the queue is full. The bulk threadpool was renamed to write in 6.3, and the index threadpool is deprecated.","units":"","format":"0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,null],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]}],"node_read_threads":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.thread_pool.search.queue","metricAgg":"max","label":"Search Queue","title":"Read Threads","description":"Number of search operations in the queue (e.g., shard level searches).","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.thread_pool.search.rejected","metricAgg":"max","label":"Search Rejections","title":"Read Threads","description":"Number of search operations that have been rejected, which occurs when the queue is full.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.thread_pool.get.queue","metricAgg":"max","label":"GET Queue","title":"Read Threads","description":"Number of GET operations in the queue.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.thread_pool.get.rejected","metricAgg":"max","label":"GET Rejections","title":"Read Threads","description":"Number of GET operations that have been rejected, which occurs when the queue is full.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0],[1674575210000,0],[1674575220000,0],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]}],"node_cpu_utilization":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.process.cpu.percent","metricAgg":"max","label":"CPU Utilization","description":"Percentage of CPU usage for the Elasticsearch process.","units":"%","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"data":[[1674575130000,6],[1674575140000,5],[1674575150000,10],[1674575160000,5],[1674575170000,7],[1674575180000,6],[1674575190000,5],[1674575200000,4],[1674575210000,6],[1674575220000,10],[1674575230000,5],[1674575240000,5],[1674575250000,5],[1674575260000,5],[1674575270000,4],[1674575280000,6],[1674575290000,6],[1674575300000,4],[1674575310000,5],[1674575320000,7],[1674575330000,5],[1674575340000,5],[1674575350000,6],[1674575360000,7],[1674575370000,4],[1674575380000,6],[1674575390000,6],[1674575400000,5],[1674575410000,5],[1674575420000,5],[1674575430000,4],[1674575440000,4],[1674575450000,4],[1674575460000,5],[1674575470000,5],[1674575480000,15]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.process.cpu.percent","metricAgg":"max","label":"Cgroup CPU Utilization","title":"CPU Utilization","description":"CPU Usage time compared to the CPU quota shown in percentage. If CPU quotas are not set, then no data will be shown.","units":"%","format":"0,0.[00]","hasCalculation":true,"isDerivative":true},"data":[[1674575130000,9.932179333333332],[1674575140000,7.189654126262626],[1674575150000,12.497820854838707],[1674575160000,8.090102772727272],[1674575170000,9.948483150537633],[1674575180000,8.241960810526317],[1674575190000,7.538191626373626],[1674575200000,7.1454033],[1674575210000,8.55830190625],[1674575220000,12.105556952127658],[1674575230000,7.479955557894737],[1674575240000,7.5453155913978485],[1674575250000,7.611682088888888],[1674575260000,7.697310833333335],[1674575270000,6.851937951086957],[1674575280000,8.120758419354837],[1674575290000,8.623801347058823],[1674575300000,6.193957314606742],[1674575310000,7.770994406593405],[1674575320000,9.311657229885059],[1674575330000,7.355580874999999],[1674575340000,7.509322570652175],[1674575350000,9.06210795882353],[1674575360000,9.562570538888888],[1674575370000,7.243725532967033],[1674575380000,8.942577744565218],[1674575390000,7.730642920731709],[1674575400000,7.27146032967033],[1674575410000,7.136797789772725],[1674575420000,7.1478655894736844],[1674575430000,6.559077831460675],[1674575440000,6.618275951086957],[1674575450000,6.850623777777779],[1674575460000,7.832602384615385],[1674575470000,7.64784261627907],[1674575480000,17.655557410526317]]}],"node_cgroup_cpu":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.os.cgroup.cpuacct.usage_nanos","metricAgg":"max","label":"Cgroup Usage","title":"Cgroup CPU Performance","description":"The usage, reported in nanoseconds, of the cgroup. Compare this with the throttling to discover issues.","units":"ns","format":"0,0.[0]a","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,190697843.2],[1674575140000,142355151.7],[1674575150000,232459467.9],[1674575160000,142385808.8],[1674575170000,185041786.6],[1674575180000,156597255.4],[1674575190000,137195087.6],[1674575200000,135762662.7],[1674575210000,164319396.6],[1674575220000,227584470.7],[1674575230000,142119155.6],[1674575240000,140342870],[1674575250000,137010277.6],[1674575260000,133933208.5],[1674575270000,126075658.3],[1674575280000,151046106.6],[1674575290000,146604622.9],[1674575300000,110252440.2],[1674575310000,141432098.2],[1674575320000,162022835.8],[1674575330000,129458223.4],[1674575340000,138171535.3],[1674575350000,154055835.3],[1674575360000,172126269.7],[1674575370000,131835804.7],[1674575380000,164543430.5],[1674575390000,126782543.9],[1674575400000,132340578],[1674575410000,125607641.1],[1674575420000,135809446.2],[1674575430000,116751585.4],[1674575440000,121776277.5],[1674575450000,123311228],[1674575460000,142553363.4],[1674575470000,131542893],[1674575480000,335455590.8]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.os.cgroup.cpu.stat.time_throttled_nanos","metricAgg":"max","label":"Cgroup Throttling","title":"Cgroup CPU Performance","description":"The amount of throttled time, reported in nanoseconds, of the cgroup.","units":"ns","format":"0,0.[0]a","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,310085.9],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,5028489],[1674575210000,1622002.2],[1674575220000,1097025.9],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,42700427.8],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,105438.5],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,1984966.7],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]}],"node_cgroup_stats":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.os.cgroup.cpu.stat.number_of_elapsed_periods","metricAgg":"max","label":"Cgroup Elapsed Periods","title":"Cgroup CFS Stats","description":"The number of sampling periods from the Completely Fair Scheduler (CFS). Compare against the number of times throttled.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,9.6],[1674575140000,9.9],[1674575150000,9.3],[1674575160000,8.8],[1674575170000,9.3],[1674575180000,9.5],[1674575190000,9.1],[1674575200000,9.5],[1674575210000,9.6],[1674575220000,9.4],[1674575230000,9.5],[1674575240000,9.3],[1674575250000,9],[1674575260000,8.7],[1674575270000,9.2],[1674575280000,9.3],[1674575290000,8.5],[1674575300000,8.9],[1674575310000,9.1],[1674575320000,8.7],[1674575330000,8.8],[1674575340000,9.2],[1674575350000,8.5],[1674575360000,9],[1674575370000,9.1],[1674575380000,9.2],[1674575390000,8.2],[1674575400000,9.1],[1674575410000,8.8],[1674575420000,9.5],[1674575430000,8.9],[1674575440000,9.2],[1674575450000,9],[1674575460000,9.1],[1674575470000,8.6],[1674575480000,9.5]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.os.cgroup.cpu.stat.number_of_times_throttled","metricAgg":"max","label":"Cgroup Throttled Count","title":"Cgroup CFS Stats","description":"The number of times that the CPU was throttled by the cgroup.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,0],[1674575140000,0],[1674575150000,0],[1674575160000,0.1],[1674575170000,0],[1674575180000,0],[1674575190000,0],[1674575200000,0.1],[1674575210000,0.1],[1674575220000,0.1],[1674575230000,0],[1674575240000,0],[1674575250000,0],[1674575260000,0],[1674575270000,0.1],[1674575280000,0],[1674575290000,0],[1674575300000,0],[1674575310000,0.1],[1674575320000,0],[1674575330000,0],[1674575340000,0],[1674575350000,0],[1674575360000,0],[1674575370000,0],[1674575380000,0.1],[1674575390000,0],[1674575400000,0],[1674575410000,0],[1674575420000,0],[1674575430000,0],[1674575440000,0],[1674575450000,0],[1674575460000,0],[1674575470000,0],[1674575480000,0]]}],"node_latency":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.search.query_total","metricAgg":"sum","label":"Search","title":"Latency","description":"Average latency for searching, which is time it takes to execute searches divided by number of searches submitted. This considers primary and replica shards.","units":"ms","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,null],[1674575140000,0.6527777777777778],[1674575150000,0.6176470588235294],[1674575160000,0.4861111111111111],[1674575170000,1.802816901408451],[1674575180000,1.787878787878788],[1674575190000,0.5],[1674575200000,0.5416666666666667],[1674575210000,0.4264705882352941],[1674575220000,0.5211267605633804],[1674575230000,0.5068493150684932],[1674575240000,0.45312499999999994],[1674575250000,0.43243243243243246],[1674575260000,0.4411764705882353],[1674575270000,1.2352941176470589],[1674575280000,0.45945945945945943],[1674575290000,0.5571428571428572],[1674575300000,0.3731343283582089],[1674575310000,0.45070422535211274],[1674575320000,0.4444444444444445],[1674575330000,0.34375],[1674575340000,0.5405405405405405],[1674575350000,1.338235294117647],[1674575360000,0.554054054054054],[1674575370000,0.36619718309859156],[1674575380000,0.6176470588235294],[1674575390000,0.5882352941176471],[1674575400000,0.3918918918918919],[1674575410000,0.4090909090909091],[1674575420000,0.39436619718309857],[1674575430000,0.39436619718309857],[1674575440000,0.44776119402985076],[1674575450000,0.37681159420289856],[1674575460000,0.4647887323943662],[1674575470000,0.5316455696202531],[1674575480000,0.6595744680851063]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"node_stats.indices.indexing.index_total","metricAgg":"sum","label":"Indexing","title":"Latency","description":"Average latency for indexing documents, which is time it takes to index documents divided by number that were indexed. This considers any shard located on this node, including replicas.","units":"ms","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,null],[1674575140000,0.15322580645161288],[1674575150000,0.1911764705882353],[1674575160000,0.16935483870967744],[1674575170000,0.15671641791044777],[1674575180000,0.15909090909090912],[1674575190000,0.16666666666666669],[1674575200000,0.16935483870967744],[1674575210000,0.18045112781954886],[1674575220000,0.1953125],[1674575230000,0.1328125],[1674575240000,0.1450381679389313],[1674575250000,0.1811023622047244],[1674575260000,0.13709677419354838],[1674575270000,0.5413533834586466],[1674575280000,0.18253968253968253],[1674575290000,0.1382113821138211],[1674575300000,0.14074074074074072],[1674575310000,0.16129032258064516],[1674575320000,0.32031249999999994],[1674575330000,0.1640625],[1674575340000,0.11707317073170731],[1674575350000,0.17968749999999997],[1674575360000,0.19863013698630136],[1674575370000,0.20967741935483872],[1674575380000,0.152],[1674575390000,0.16666666666666669],[1674575400000,0.15267175572519084],[1674575410000,0.15833333333333333],[1674575420000,0.1691176470588235],[1674575430000,0.15079365079365079],[1674575440000,0.1652892561983471],[1674575450000,0.21481481481481482],[1674575460000,0.1138211382113821],[1674575470000,0.140625],[1674575480000,0.21641791044776118]]}]}} diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/nodes.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/nodes.json new file mode 100644 index 0000000000000..c3814a2b56fa9 --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/nodes.json @@ -0,0 +1 @@ +{"clusterStatus":{"status":"yellow","indicesCount":47,"documentCount":39688,"dataSize":33007934,"nodesCount":1,"upTime":779257,"version":["8.7.0"],"memUsed":586378752,"memMax":1073741824,"unassignedShards":28,"totalShards":75},"nodes":[{"name":"712a47f7f7df","uuid":"1ksGajLvSW-OwnAYH-X3Sg","isOnline":true,"shardCount":47,"node_cgroup_quota":{"metric":{"app":"elasticsearch","field":"node_stats.process.cpu.percent","metricAgg":"max","label":"Cgroup CPU Utilization","title":"CPU Utilization","description":"CPU Usage time compared to the CPU quota shown in percentage. If CPU quotas are not set, then no data will be shown.","units":"%","format":"0,0.[00]","hasCalculation":true,"isDerivative":true},"summary":{"minVal":6.193957314606742,"maxVal":17.655557410526317,"lastVal":17.655557410526317,"slope":-1}},"node_cgroup_throttled":{"metric":{"app":"elasticsearch","field":"node_stats.os.cgroup.cpu.stat.time_throttled_nanos","metricAgg":"max","label":"Cgroup Throttling","title":"Cgroup CPU Performance","description":"The amount of throttled time, reported in nanoseconds, of the cgroup.","units":"ns","format":"0,0.[0]a","hasCalculation":false,"isDerivative":true},"summary":{"minVal":0,"maxVal":61011551272,"lastVal":0,"slope":-1}},"node_cpu_utilization":{"metric":{"app":"elasticsearch","field":"node_stats.process.cpu.percent","metricAgg":"max","label":"CPU Utilization","description":"Percentage of CPU usage for the Elasticsearch process.","units":"%","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"summary":{"minVal":4,"maxVal":15,"lastVal":15,"slope":-1}},"node_load_average":{"metric":{"app":"elasticsearch","field":"node_stats.os.cpu.load_average.1m","metricAgg":"max","label":"1m","title":"System Load","description":"Load average over the last minute.","units":"","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"summary":{"minVal":0.5498046875,"maxVal":1.5,"lastVal":0.6298828125,"slope":-1}},"node_jvm_mem_percent":{"metric":{"app":"elasticsearch","field":"node_stats.jvm.mem.heap_used_percent","metricAgg":"max","label":"Used Heap","title":"JVM Heap","description":"Total heap used by Elasticsearch running in the JVM.","units":"%","format":"0,0.[00]","hasCalculation":false,"isDerivative":false},"summary":{"minVal":18,"maxVal":73,"lastVal":54,"slope":1}},"node_free_space":{"metric":{"app":"elasticsearch","field":"node_stats.fs.total.available_in_bytes","metricAgg":"max","label":"Disk Free Space","description":"Free disk space available on the node.","units":"","format":"0.0 b","hasCalculation":false,"isDerivative":false},"summary":{"minVal":37494857728,"maxVal":37521543168,"lastVal":37511475200,"slope":1}},"transport_address":"https://elasticsearch:9200","type":"master","nodeTypeLabel":"Master Node","nodeTypeClass":"starFilled","resolver":"1ksGajLvSW-OwnAYH-X3Sg"}],"totalNodeCount":1} diff --git a/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/overview.json b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/overview.json new file mode 100644 index 0000000000000..7eeb94537ad7a --- /dev/null +++ b/x-pack/test/monitoring_api_integration/fixtures/elasticsearch/overview.json @@ -0,0 +1 @@ +{"clusterStatus":{"status":"yellow","indicesCount":47,"documentCount":39688,"dataSize":33007934,"nodesCount":1,"upTime":779257,"version":["8.7.0"],"memUsed":586378752,"memMax":1073741824,"unassignedShards":28,"totalShards":75},"metrics":{"cluster_search_request_rate":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"indices_stats._all.total.search.query_total","metricAgg":"max","label":"Total Shards","title":"Search Rate","description":"Number of search requests being executed across primary and replica shards. A single search can run against multiple shards!","units":"/s","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,4.5],[1674575140000,4.5],[1674575150000,4.5],[1674575160000,4.5],[1674575170000,4.5],[1674575180000,4.5],[1674575190000,0.3],[1674575200000,4.2],[1674575210000,4.5],[1674575220000,4.5],[1674575230000,4.5],[1674575240000,4.5],[1674575250000,4.5],[1674575260000,4.5],[1674575270000,4.5],[1674575280000,4.5],[1674575290000,4.5],[1674575300000,4.5],[1674575310000,4.5],[1674575320000,4.5],[1674575330000,4.5],[1674575340000,4.5],[1674575350000,4.5],[1674575360000,4.5],[1674575370000,4.5],[1674575380000,4.5],[1674575390000,4.5],[1674575400000,4.5],[1674575410000,4.5],[1674575420000,4.5],[1674575430000,4.5],[1674575440000,4.5],[1674575450000,4.5],[1674575460000,4.5],[1674575470000,4.5],[1674575480000,4.5]]}],"cluster_query_latency":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"indices_stats._all.total.search.query_total","metricAgg":"sum","label":"Search Latency","description":"Average latency for searching, which is time it takes to execute searches divided by number of searches submitted. This considers primary and replica shards.","units":"ms","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,null],[1674575140000,0.7555555555555555],[1674575150000,0.6000000000000001],[1674575160000,0.5555555555555556],[1674575170000,2.511111111111111],[1674575180000,2.3777777777777778],[1674575190000,0.33333333333333337],[1674575200000,0.5952380952380952],[1674575210000,0.4666666666666667],[1674575220000,0.5333333333333333],[1674575230000,0.5333333333333333],[1674575240000,0.48888888888888893],[1674575250000,0.4444444444444444],[1674575260000,0.4666666666666667],[1674575270000,1.6444444444444446],[1674575280000,0.4666666666666667],[1674575290000,0.5555555555555556],[1674575300000,0.4222222222222222],[1674575310000,0.4444444444444444],[1674575320000,0.4222222222222222],[1674575330000,0.35555555555555557],[1674575340000,0.5333333333333333],[1674575350000,1.1777777777777778],[1674575360000,0.5555555555555556],[1674575370000,0.35555555555555557],[1674575380000,0.7111111111111111],[1674575390000,0.6222222222222222],[1674575400000,0.35555555555555557],[1674575410000,0.37777777777777777],[1674575420000,0.3333333333333333],[1674575430000,0.4222222222222222],[1674575440000,0.4222222222222222],[1674575450000,0.35555555555555557],[1674575460000,0.4444444444444444],[1674575470000,0.5777777777777778],[1674575480000,0.48888888888888893]]}],"cluster_index_request_rate":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"indices_stats._all.total.indexing.index_total","metricAgg":"max","label":"Total Shards","title":"Indexing Rate","description":"Number of documents being indexed for primary and replica shards.","units":"/s","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,19],[1674575140000,11.7],[1674575150000,12.5],[1674575160000,11.8],[1674575170000,11.7],[1674575180000,12.7],[1674575190000,11.6],[1674575200000,11.8],[1674575210000,12.4],[1674575220000,11.8],[1674575230000,11.8],[1674575240000,12.7],[1674575250000,11.6],[1674575260000,11.8],[1674575270000,12.5],[1674575280000,11.6],[1674575290000,11.7],[1674575300000,12.7],[1674575310000,11.7],[1674575320000,11.8],[1674575330000,12.4],[1674575340000,19.1],[1674575350000,11.7],[1674575360000,12.7],[1674575370000,11.6],[1674575380000,11.8],[1674575390000,12.5],[1674575400000,11.7],[1674575410000,11.7],[1674575420000,12.8],[1674575430000,11.6],[1674575440000,11.8],[1674575450000,12.4],[1674575460000,11.6],[1674575470000,11.8],[1674575480000,12.7]]},{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"indices_stats._all.primaries.indexing.index_total","metricAgg":"max","label":"Primary Shards","title":"Indexing Rate","description":"Number of documents being indexed for primary shards.","units":"/s","format":"0,0.[00]","hasCalculation":false,"isDerivative":true},"data":[[1674575130000,19],[1674575140000,11.7],[1674575150000,12.5],[1674575160000,11.8],[1674575170000,11.7],[1674575180000,12.7],[1674575190000,11.6],[1674575200000,11.8],[1674575210000,12.4],[1674575220000,11.8],[1674575230000,11.8],[1674575240000,12.7],[1674575250000,11.6],[1674575260000,11.8],[1674575270000,12.5],[1674575280000,11.6],[1674575290000,11.7],[1674575300000,12.7],[1674575310000,11.7],[1674575320000,11.8],[1674575330000,12.4],[1674575340000,19.1],[1674575350000,11.7],[1674575360000,12.7],[1674575370000,11.6],[1674575380000,11.8],[1674575390000,12.5],[1674575400000,11.7],[1674575410000,11.7],[1674575420000,12.8],[1674575430000,11.6],[1674575440000,11.8],[1674575450000,12.4],[1674575460000,11.6],[1674575470000,11.8],[1674575480000,12.7]]}],"cluster_index_latency":[{"bucket_size":"10 seconds","timeRange":{"min":1674575130000,"max":1674575490000},"metric":{"app":"elasticsearch","field":"indices_stats._all.primaries.indexing.index_total","metricAgg":"sum","label":"Indexing Latency","description":"Average latency for indexing documents, which is time it takes to index documents divided by number that were indexed. This only considers primary shards.","units":"ms","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1674575130000,null],[1674575140000,0.11965811965811966],[1674575150000,0.17600000000000002],[1674575160000,0.14406779661016947],[1674575170000,0.12820512820512822],[1674575180000,0.14173228346456693],[1674575190000,0.13793103448275862],[1674575200000,0.14406779661016947],[1674575210000,0.16129032258064516],[1674575220000,0.16101694915254236],[1674575230000,0.11016949152542373],[1674575240000,0.12598425196850396],[1674575250000,0.15517241379310345],[1674575260000,0.11016949152542373],[1674575270000,0.552],[1674575280000,0.14655172413793102],[1674575290000,0.11111111111111112],[1674575300000,0.13385826771653545],[1674575310000,0.1452991452991453],[1674575320000,0.2966101694915254],[1674575330000,0.14516129032258066],[1674575340000,0.09947643979057591],[1674575350000,0.1452991452991453],[1674575360000,0.14173228346456693],[1674575370000,0.18965517241379312],[1674575380000,0.13559322033898305],[1674575390000,0.136],[1674575400000,0.13675213675213677],[1674575410000,0.15384615384615385],[1674575420000,0.140625],[1674575430000,0.11206896551724138],[1674575440000,0.16101694915254236],[1674575450000,0.1854838709677419],[1674575460000,0.09482758620689656],[1674575470000,0.11864406779661016],[1674575480000,0.1811023622047244]]}]},"logs":{"enabled":false,"logs":[],"reason":{"indexPatternExists":false,"indexPatternInTimeRangeExists":false,"typeExistsAtAnyTime":false,"typeExists":false,"usingStructuredLogs":false,"clusterExists":false,"nodeExists":null,"indexExists":null},"limit":10},"shardActivity":[{"start_time":{"ms":1674574784767},"stop_time":{"ms":1674574784836},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elastic_agent.fleet_server-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786227},"stop_time":{"ms":1674574786257},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.diskio-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786142},"stop_time":{"ms":1674574786168},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elastic_agent.metricbeat-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674575114717},"stop_time":{"ms":1674575114748},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elasticsearch.stack_monitoring.shard-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786426},"stop_time":{"ms":1674574786453},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.process.summary-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574781779},"stop_time":{"ms":1674574781836},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-logs-elastic_agent.fleet_server-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786452},"stop_time":{"ms":1674574786479},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.network-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786240},"stop_time":{"ms":1674574786270},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.load-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786624},"stop_time":{"ms":1674574786648},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.uptime-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786443},"stop_time":{"ms":1674574786472},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.process-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574781827},"stop_time":{"ms":1674574781928},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-logs-elastic_agent.metricbeat-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574781733},"stop_time":{"ms":1674574781763},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-logs-elastic_agent-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574781818},"stop_time":{"ms":1674574781917},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-logs-elastic_agent.filebeat-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574784997},"stop_time":{"ms":1674574785017},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elastic_agent.elastic_agent-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674575114496},"stop_time":{"ms":1674575114526},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elasticsearch.stack_monitoring.enrich-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574787065},"stop_time":{"ms":1674574787118},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elastic_agent.filebeat-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786217},"stop_time":{"ms":1674574786251},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.socket_summary-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574899413},"stop_time":{"ms":1674574899436},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":"kibana_sample_data_flights","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674575114701},"stop_time":{"ms":1674575114734},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elasticsearch.stack_monitoring.node_stats-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674575114513},"stop_time":{"ms":1674575114541},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elasticsearch.stack_monitoring.node-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786432},"stop_time":{"ms":1674574786461},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.fsstat-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674575114503},"stop_time":{"ms":1674575114535},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elasticsearch.stack_monitoring.index-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574901448},"stop_time":{"ms":1674574901471},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-kibana_sample_data_logs-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674575114709},"stop_time":{"ms":1674575114738},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elasticsearch.stack_monitoring.cluster_stats-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786644},"stop_time":{"ms":1674574786673},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.memory-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786633},"stop_time":{"ms":1674574786661},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.cpu-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574786656},"stop_time":{"ms":1674574786690},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-system.filesystem-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674575114694},"stop_time":{"ms":1674575114719},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elasticsearch.stack_monitoring.index_summary-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674575114488},"stop_time":{"ms":1674575114517},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":".ds-metrics-elasticsearch.stack_monitoring.index_recovery-default-2023.01.24-000001","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}},{"start_time":{"ms":1674574823950},"stop_time":{"ms":1674574823970},"stage":"DONE","translog":{"total_on_start":0,"total":0,"percent":"100.0%"},"name":"kibana_sample_data_ecommerce","index":{"size":{"total_in_bytes":0,"reused_in_bytes":0,"recovered_in_bytes":0},"files":{"recovered":0,"total":0,"percent":"0.0%","reused":0}},"id":0,"source":{},"type":"EMPTY_STORE","primary":true,"target":{"transport_address":"127.0.0.1:9300","host":"127.0.0.1","name":"712a47f7f7df","id":"1ksGajLvSW-OwnAYH-X3Sg"}}]} diff --git a/x-pack/test/monitoring_api_integration/fixtures/packages/elasticsearch-1.2.0.zip b/x-pack/test/monitoring_api_integration/fixtures/packages/elasticsearch-1.2.0.zip new file mode 100644 index 0000000000000..9f48ad17073d4 Binary files /dev/null and b/x-pack/test/monitoring_api_integration/fixtures/packages/elasticsearch-1.2.0.zip differ diff --git a/x-pack/test/monitoring_api_integration/packages.ts b/x-pack/test/monitoring_api_integration/packages.ts index b7c42bd241f9d..6eda6d0e94722 100644 --- a/x-pack/test/monitoring_api_integration/packages.ts +++ b/x-pack/test/monitoring_api_integration/packages.ts @@ -9,6 +9,7 @@ import path from 'path'; const PACKAGES = [ { name: 'beat', version: '0.0.1' }, + { name: 'elasticsearch', version: '1.2.0' }, { name: 'enterprisesearch', version: '1.0.0' }, ];