diff --git a/x-pack/test/api_integration/apis/xpack_main/telemetry/fixtures/basiccluster.json b/x-pack/test/api_integration/apis/xpack_main/telemetry/fixtures/basiccluster.json new file mode 100644 index 0000000000000..e69e933624611 --- /dev/null +++ b/x-pack/test/api_integration/apis/xpack_main/telemetry/fixtures/basiccluster.json @@ -0,0 +1,383 @@ +[ + { + "cluster_name": "docker-cluster", + "cluster_stats": { + "indices": { + "completion": { + "size_in_bytes": 0 + }, + "count": 6, + "docs": { + "count": 5898, + "deleted": 48 + }, + "fielddata": { + "evictions": 0, + "memory_size_in_bytes": 456 + }, + "query_cache": { + "cache_count": 0, + "cache_size": 0, + "evictions": 0, + "hit_count": 0, + "memory_size_in_bytes": 0, + "miss_count": 0, + "total_count": 0 + }, + "segments": { + "count": 37, + "doc_values_memory_in_bytes": 104900, + "file_sizes": {}, + "fixed_bit_set_memory_in_bytes": 1200, + "index_writer_memory_in_bytes": 0, + "max_unsafe_auto_id_timestamp": -1, + "memory_in_bytes": 1121087, + "norms_memory_in_bytes": 106240, + "points_memory_in_bytes": 4382, + "stored_fields_memory_in_bytes": 11792, + "term_vectors_memory_in_bytes": 0, + "terms_memory_in_bytes": 893773, + "version_map_memory_in_bytes": 0 + }, + "shards": { + "index": { + "primaries": { + "avg": 1.6666666666666667, + "max": 5, + "min": 1 + }, + "replication": { + "avg": 0, + "max": 0, + "min": 0 + }, + "shards": { + "avg": 1.6666666666666667, + "max": 5, + "min": 1 + } + }, + "primaries": 10, + "replication": 0, + "total": 10 + }, + "store": { + "size_in_bytes": 6355041 + } + }, + "nodes": { + "count": { + "coordinating_only": 0, + "data": 1, + "ingest": 1, + "master": 1, + "total": 1 + }, + "fs": { + "available_in_bytes": 44910747648, + "free_in_bytes": 48363286528, + "total_in_bytes": 67368431616 + }, + "jvm": { + "max_uptime_in_millis": 2891292, + "mem": { + "heap_max_in_bytes": 1065025536, + "heap_used_in_bytes": 613329488 + }, + "threads": 38, + "versions": [ + { + "count": 1, + "version": "10.0.1", + "vm_name": "OpenJDK 64-Bit Server VM", + "vm_vendor": "Oracle Corporation", + "vm_version": "10.0.1+10" + } + ] + }, + "network_types": { + "http_types": { + "security4": 1 + }, + "transport_types": { + "security4": 1 + } + }, + "os": { + "allocated_processors": 1, + "available_processors": 1, + "mem": { + "free_in_bytes": 223698944, + "free_percent": 5, + "total_in_bytes": 4139307008, + "used_in_bytes": 3915608064, + "used_percent": 95 + }, + "names": [ + { + "count": 1, + "name": "Linux" + } + ] + }, + "plugins": [ + { + "classname": "org.elasticsearch.ingest.useragent.IngestUserAgentPlugin", + "description": "Ingest processor that extracts information from a user agent", + "elasticsearch_version": "6.3.1", + "extended_plugins": [], + "has_native_controller": false, + "java_version": "1.8", + "name": "ingest-user-agent", + "version": "6.3.1" + }, + { + "classname": "org.elasticsearch.ingest.geoip.IngestGeoIpPlugin", + "description": "Ingest processor that uses looksup geo data based on ip adresses using the Maxmind geo database", + "elasticsearch_version": "6.3.1", + "extended_plugins": [], + "has_native_controller": false, + "java_version": "1.8", + "name": "ingest-geoip", + "version": "6.3.1" + } + ], + "process": { + "cpu": { + "percent": 1 + }, + "open_file_descriptors": { + "avg": 223, + "max": 223, + "min": 223 + } + }, + "versions": [ + "6.3.1" + ] + }, + "status": "yellow", + "timestamp": 1532386499084 + }, + "cluster_uuid": "ooEYzl3fSL222Y6eVm7SAA", + "license": { + "issue_date": "2018-07-23T22:07:23.540Z", + "status": "active", + "type": "basic" + }, + "stack_stats": { + "apm": { + "found": true + }, + "kibana": { + "count": 1, + "dashboard": { + "total": 0 + }, + "graph_workspace": { + "total": 0 + }, + "index_pattern": { + "total": 1 + }, + "indices": 1, + "search": { + "total": 0 + }, + "timelion_sheet": { + "total": 0 + }, + "versions": [ + { + "count": 1, + "version": "6.3.1" + } + ], + "visualization": { + "total": 0 + } + }, + "xpack": { + "graph": { + "available": false, + "enabled": true, + "graph_workspace": { + "total": 0 + } + }, + "logstash": { + "available": false, + "enabled": true + }, + "ml": { + "available": false, + "datafeeds": { + "_all": { + "count": 0 + } + }, + "enabled": true, + "jobs": { + "_all": { + "count": 0, + "detectors": { + "avg": 0, + "max": 0, + "min": 0, + "total": 0 + }, + "model_size": { + "avg": 0, + "max": 0, + "min": 0, + "total": 0 + } + } + } + }, + "monitoring": { + "available": true, + "collection_enabled": true, + "enabled": true, + "enabled_exporters": { + "local": 1 + } + }, + "reporting": { + "available": true, + "csv": { + "available": true + }, + "enabled": false, + "last7Days": { + "csv": { + "available": true + }, + "printable_pdf": { + "available": false + }, + "status": {} + }, + "lastDay": { + "csv": { + "available": true + }, + "printable_pdf": { + "available": false + }, + "status": {} + }, + "printable_pdf": { + "available": false + }, + "status": {} + }, + "rollup": { + "available": true, + "enabled": true + }, + "security": { + "anonymous": { + "enabled": false + }, + "audit": { + "enabled": false, + "outputs": [ + "logfile" + ] + }, + "available": false, + "enabled": true, + "ipfilter": { + "http": false, + "transport": false + }, + "realms": { + "active_directory": { + "available": false, + "enabled": false + }, + "file": { + "available": false, + "enabled": false + }, + "ldap": { + "available": false, + "enabled": false + }, + "native": { + "available": false, + "enabled": false + }, + "pki": { + "available": false, + "enabled": false + }, + "saml": { + "available": false, + "enabled": false + } + }, + "role_mapping": { + "native": { + "enabled": 0, + "size": 0 + } + }, + "roles": { + "file": { + "dls": false, + "fls": false, + "size": 0 + }, + "native": { + "dls": false, + "fls": false, + "size": 0 + } + }, + "ssl": { + "http": { + "enabled": false + }, + "transport": { + "enabled": false + } + } + }, + "watcher": { + "available": false, + "count": { + "active": 0, + "total": 0 + }, + "enabled": true, + "execution": { + "actions": { + "_all": { + "total": 0, + "total_time_in_ms": 0 + } + } + }, + "watch": { + "input": { + "_all": { + "active": 0, + "total": 0 + } + }, + "trigger": { + "_all": { + "active": 0, + "total": 0 + } + } + } + } + } + }, + "timestamp": "2018-07-23T22:54:59.087Z", + "version": "6.3.1" + } +] diff --git a/x-pack/test/api_integration/apis/xpack_main/telemetry/telemetry.js b/x-pack/test/api_integration/apis/xpack_main/telemetry/telemetry.js index b9e38c5fd5a7b..38c2bfb887b0f 100644 --- a/x-pack/test/api_integration/apis/xpack_main/telemetry/telemetry.js +++ b/x-pack/test/api_integration/apis/xpack_main/telemetry/telemetry.js @@ -6,36 +6,51 @@ import expect from 'expect.js'; import multiclusterFixture from './fixtures/multicluster'; +import basicclusterFixture from './fixtures/basiccluster'; export default function ({ getService }) { const supertest = getService('supertest'); const esArchiver = getService('esArchiver'); describe('/api/telemetry/v1/clusters/_stats', () => { - describe('with trial license clusters', () => { + it('should load multiple trial-license clusters', async () => { const archive = 'monitoring/multicluster'; const timeRange = { min: '2017-08-15T21:00:00Z', max: '2017-08-16T00:00:00Z' }; - before('load clusters archive', () => { - return esArchiver.load(archive); - }); + await esArchiver.load(archive); - after('unload clusters archive', () => { - return esArchiver.unload(archive); - }); + const { body } = await supertest + .post('/api/telemetry/v1/clusters/_stats') + .set('kbn-xsrf', 'xxx') + .send({ timeRange }) + .expect(200); + expect(body).to.eql(multiclusterFixture); + + await esArchiver.unload(archive); + }); + + describe('with basic cluster and reporting and canvas usage info', () => { + it('should load non-expiring basic cluster', async () => { + const archive = 'monitoring/basic_6.3.x'; + const timeRange = { + min: '2018-07-23T22:07:00Z', + max: '2018-07-23T22:13:00Z' + }; + + await esArchiver.load(archive); - it('should load multiple clusters', async () => { const { body } = await supertest .post('/api/telemetry/v1/clusters/_stats') .set('kbn-xsrf', 'xxx') .send({ timeRange }) .expect(200); - expect(body).to.eql(multiclusterFixture); + expect(body).to.eql(basicclusterFixture); + + await esArchiver.unload(archive); }); }); }); } - diff --git a/x-pack/test/functional/es_archives/monitoring/basic_6.3.x/data.json.gz b/x-pack/test/functional/es_archives/monitoring/basic_6.3.x/data.json.gz new file mode 100644 index 0000000000000..7ed643db627d7 Binary files /dev/null and b/x-pack/test/functional/es_archives/monitoring/basic_6.3.x/data.json.gz differ diff --git a/x-pack/test/functional/es_archives/monitoring/basic_6.3.x/mappings.json b/x-pack/test/functional/es_archives/monitoring/basic_6.3.x/mappings.json new file mode 100644 index 0000000000000..1a5578b7c931e --- /dev/null +++ b/x-pack/test/functional/es_archives/monitoring/basic_6.3.x/mappings.json @@ -0,0 +1,1159 @@ +{ + "type": "index", + "value": { + "index": ".monitoring-kibana-6-2018.07.23", + "settings": { + "index": { + "codec": "best_compression", + "number_of_shards": "1", + "auto_expand_replicas": "0-1", + "format": "6", + "number_of_replicas": "0" + } + }, + "mappings": { + "doc": { + "dynamic": "false", + "properties": { + "cluster_uuid": { + "type": "keyword" + }, + "interval_ms": { + "type": "long" + }, + "kibana_stats": { + "properties": { + "cloud": { + "properties": { + "id": { + "type": "keyword" + }, + "metadata": { + "type": "object" + }, + "name": { + "type": "keyword" + }, + "region": { + "type": "keyword" + }, + "vm_type": { + "type": "keyword" + }, + "zone": { + "type": "keyword" + } + } + }, + "concurrent_connections": { + "type": "long" + }, + "kibana": { + "properties": { + "host": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "snapshot": { + "type": "boolean" + }, + "status": { + "type": "keyword" + }, + "statuses": { + "properties": { + "name": { + "type": "keyword" + }, + "state": { + "type": "keyword" + } + } + }, + "transport_address": { + "type": "keyword" + }, + "uuid": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "os": { + "properties": { + "load": { + "properties": { + "15m": { + "type": "half_float" + }, + "1m": { + "type": "half_float" + }, + "5m": { + "type": "half_float" + } + } + }, + "memory": { + "properties": { + "free_in_bytes": { + "type": "float" + }, + "total_in_bytes": { + "type": "float" + }, + "used_in_bytes": { + "type": "float" + } + } + }, + "uptime_in_millis": { + "type": "long" + } + } + }, + "process": { + "properties": { + "event_loop_delay": { + "type": "float" + }, + "memory": { + "properties": { + "heap": { + "properties": { + "size_limit": { + "type": "float" + }, + "total_in_bytes": { + "type": "float" + }, + "used_in_bytes": { + "type": "float" + } + } + }, + "resident_set_size_in_bytes": { + "type": "float" + } + } + }, + "uptime_in_millis": { + "type": "long" + } + } + }, + "requests": { + "properties": { + "disconnects": { + "type": "long" + }, + "status_codes": { + "type": "object" + }, + "total": { + "type": "long" + } + } + }, + "response_times": { + "properties": { + "average": { + "type": "float" + }, + "max": { + "type": "float" + } + } + }, + "sockets": { + "properties": { + "http": { + "properties": { + "total": { + "type": "long" + } + } + }, + "https": { + "properties": { + "total": { + "type": "long" + } + } + } + } + }, + "timestamp": { + "type": "date" + } + } + }, + "source_node": { + "properties": { + "host": { + "type": "keyword" + }, + "ip": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "timestamp": { + "type": "date", + "format": "date_time" + }, + "transport_address": { + "type": "keyword" + }, + "uuid": { + "type": "keyword" + } + } + }, + "timestamp": { + "type": "date", + "format": "date_time" + }, + "type": { + "type": "keyword" + } + } + } + }, + "aliases": {} + } +} + +{ + "type": "index", + "value": { + "index": ".monitoring-es-6-2018.07.23", + "settings": { + "index": { + "codec": "best_compression", + "number_of_shards": "1", + "auto_expand_replicas": "0-1", + "format": "6", + "number_of_replicas": "0" + } + }, + "mappings": { + "doc": { + "dynamic": "false", + "date_detection": false, + "properties": { + "cluster_state": { + "properties": { + "master_node": { + "type": "keyword" + }, + "nodes": { + "type": "object" + }, + "nodes_hash": { + "type": "integer" + }, + "shards": { + "type": "object" + }, + "state_uuid": { + "type": "keyword" + }, + "status": { + "type": "keyword" + }, + "version": { + "type": "long" + } + } + }, + "cluster_stats": { + "properties": { + "indices": { + "type": "object" + }, + "nodes": { + "type": "object" + } + } + }, + "cluster_uuid": { + "type": "keyword" + }, + "index_recovery": { + "type": "object" + }, + "index_stats": { + "properties": { + "index": { + "type": "keyword" + }, + "primaries": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long" + } + } + }, + "fielddata": { + "properties": { + "evictions": { + "type": "long" + }, + "memory_size_in_bytes": { + "type": "long" + } + } + }, + "indexing": { + "properties": { + "index_time_in_millis": { + "type": "long" + }, + "index_total": { + "type": "long" + }, + "throttle_time_in_millis": { + "type": "long" + } + } + }, + "merges": { + "properties": { + "total_size_in_bytes": { + "type": "long" + } + } + }, + "query_cache": { + "properties": { + "evictions": { + "type": "long" + }, + "hit_count": { + "type": "long" + }, + "memory_size_in_bytes": { + "type": "long" + }, + "miss_count": { + "type": "long" + } + } + }, + "refresh": { + "properties": { + "total_time_in_millis": { + "type": "long" + } + } + }, + "request_cache": { + "properties": { + "evictions": { + "type": "long" + }, + "hit_count": { + "type": "long" + }, + "memory_size_in_bytes": { + "type": "long" + }, + "miss_count": { + "type": "long" + } + } + }, + "search": { + "properties": { + "query_time_in_millis": { + "type": "long" + }, + "query_total": { + "type": "long" + } + } + }, + "segments": { + "properties": { + "count": { + "type": "integer" + }, + "doc_values_memory_in_bytes": { + "type": "long" + }, + "fixed_bit_set_memory_in_bytes": { + "type": "long" + }, + "index_writer_memory_in_bytes": { + "type": "long" + }, + "memory_in_bytes": { + "type": "long" + }, + "norms_memory_in_bytes": { + "type": "long" + }, + "points_memory_in_bytes": { + "type": "long" + }, + "stored_fields_memory_in_bytes": { + "type": "long" + }, + "term_vectors_memory_in_bytes": { + "type": "long" + }, + "terms_memory_in_bytes": { + "type": "long" + }, + "version_map_memory_in_bytes": { + "type": "long" + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long" + } + } + } + } + }, + "total": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long" + } + } + }, + "fielddata": { + "properties": { + "evictions": { + "type": "long" + }, + "memory_size_in_bytes": { + "type": "long" + } + } + }, + "indexing": { + "properties": { + "index_time_in_millis": { + "type": "long" + }, + "index_total": { + "type": "long" + }, + "throttle_time_in_millis": { + "type": "long" + } + } + }, + "merges": { + "properties": { + "total_size_in_bytes": { + "type": "long" + } + } + }, + "query_cache": { + "properties": { + "evictions": { + "type": "long" + }, + "hit_count": { + "type": "long" + }, + "memory_size_in_bytes": { + "type": "long" + }, + "miss_count": { + "type": "long" + } + } + }, + "refresh": { + "properties": { + "total_time_in_millis": { + "type": "long" + } + } + }, + "request_cache": { + "properties": { + "evictions": { + "type": "long" + }, + "hit_count": { + "type": "long" + }, + "memory_size_in_bytes": { + "type": "long" + }, + "miss_count": { + "type": "long" + } + } + }, + "search": { + "properties": { + "query_time_in_millis": { + "type": "long" + }, + "query_total": { + "type": "long" + } + } + }, + "segments": { + "properties": { + "count": { + "type": "integer" + }, + "doc_values_memory_in_bytes": { + "type": "long" + }, + "fixed_bit_set_memory_in_bytes": { + "type": "long" + }, + "index_writer_memory_in_bytes": { + "type": "long" + }, + "memory_in_bytes": { + "type": "long" + }, + "norms_memory_in_bytes": { + "type": "long" + }, + "points_memory_in_bytes": { + "type": "long" + }, + "stored_fields_memory_in_bytes": { + "type": "long" + }, + "term_vectors_memory_in_bytes": { + "type": "long" + }, + "terms_memory_in_bytes": { + "type": "long" + }, + "version_map_memory_in_bytes": { + "type": "long" + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long" + } + } + } + } + } + } + }, + "indices_stats": { + "properties": { + "_all": { + "properties": { + "primaries": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long" + } + } + }, + "indexing": { + "properties": { + "index_time_in_millis": { + "type": "long" + }, + "index_total": { + "type": "long" + } + } + }, + "search": { + "properties": { + "query_time_in_millis": { + "type": "long" + }, + "query_total": { + "type": "long" + } + } + } + } + }, + "total": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long" + } + } + }, + "indexing": { + "properties": { + "index_time_in_millis": { + "type": "long" + }, + "index_total": { + "type": "long" + } + } + }, + "search": { + "properties": { + "query_time_in_millis": { + "type": "long" + }, + "query_total": { + "type": "long" + } + } + } + } + } + } + } + } + }, + "interval_ms": { + "type": "long" + }, + "job_stats": { + "properties": { + "data_counts": { + "properties": { + "bucket_count": { + "type": "long" + }, + "earliest_record_timestamp": { + "type": "date" + }, + "empty_bucket_count": { + "type": "long" + }, + "input_bytes": { + "type": "long" + }, + "latest_record_timestamp": { + "type": "date" + }, + "processed_record_count": { + "type": "long" + }, + "sparse_bucket_count": { + "type": "long" + } + } + }, + "job_id": { + "type": "keyword" + }, + "model_size_stats": { + "properties": { + "bucket_allocation_failures_count": { + "type": "long" + }, + "model_bytes": { + "type": "long" + } + } + }, + "node": { + "properties": { + "id": { + "type": "keyword" + } + } + }, + "state": { + "type": "keyword" + } + } + }, + "node_stats": { + "properties": { + "fs": { + "properties": { + "data": { + "properties": { + "spins": { + "type": "boolean" + } + } + }, + "io_stats": { + "properties": { + "total": { + "properties": { + "operations": { + "type": "long" + }, + "read_kilobytes": { + "type": "long" + }, + "read_operations": { + "type": "long" + }, + "write_kilobytes": { + "type": "long" + }, + "write_operations": { + "type": "long" + } + } + } + } + }, + "total": { + "properties": { + "available_in_bytes": { + "type": "long" + }, + "free_in_bytes": { + "type": "long" + }, + "total_in_bytes": { + "type": "long" + } + } + } + } + }, + "indices": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long" + } + } + }, + "fielddata": { + "properties": { + "evictions": { + "type": "long" + }, + "memory_size_in_bytes": { + "type": "long" + } + } + }, + "indexing": { + "properties": { + "index_time_in_millis": { + "type": "long" + }, + "index_total": { + "type": "long" + }, + "throttle_time_in_millis": { + "type": "long" + } + } + }, + "query_cache": { + "properties": { + "evictions": { + "type": "long" + }, + "hit_count": { + "type": "long" + }, + "memory_size_in_bytes": { + "type": "long" + }, + "miss_count": { + "type": "long" + } + } + }, + "request_cache": { + "properties": { + "evictions": { + "type": "long" + }, + "hit_count": { + "type": "long" + }, + "memory_size_in_bytes": { + "type": "long" + }, + "miss_count": { + "type": "long" + } + } + }, + "search": { + "properties": { + "query_time_in_millis": { + "type": "long" + }, + "query_total": { + "type": "long" + } + } + }, + "segments": { + "properties": { + "count": { + "type": "integer" + }, + "doc_values_memory_in_bytes": { + "type": "long" + }, + "fixed_bit_set_memory_in_bytes": { + "type": "long" + }, + "index_writer_memory_in_bytes": { + "type": "long" + }, + "memory_in_bytes": { + "type": "long" + }, + "norms_memory_in_bytes": { + "type": "long" + }, + "points_memory_in_bytes": { + "type": "long" + }, + "stored_fields_memory_in_bytes": { + "type": "long" + }, + "term_vectors_memory_in_bytes": { + "type": "long" + }, + "terms_memory_in_bytes": { + "type": "long" + }, + "version_map_memory_in_bytes": { + "type": "long" + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long" + } + } + } + } + }, + "jvm": { + "properties": { + "gc": { + "properties": { + "collectors": { + "properties": { + "old": { + "properties": { + "collection_count": { + "type": "long" + }, + "collection_time_in_millis": { + "type": "long" + } + } + }, + "young": { + "properties": { + "collection_count": { + "type": "long" + }, + "collection_time_in_millis": { + "type": "long" + } + } + } + } + } + } + }, + "mem": { + "properties": { + "heap_max_in_bytes": { + "type": "long" + }, + "heap_used_in_bytes": { + "type": "long" + }, + "heap_used_percent": { + "type": "half_float" + } + } + } + } + }, + "mlockall": { + "type": "boolean" + }, + "node_id": { + "type": "keyword" + }, + "node_master": { + "type": "boolean" + }, + "os": { + "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "cfs_quota_micros": { + "type": "long" + }, + "control_group": { + "type": "keyword" + }, + "stat": { + "properties": { + "number_of_elapsed_periods": { + "type": "long" + }, + "number_of_times_throttled": { + "type": "long" + }, + "time_throttled_nanos": { + "type": "long" + } + } + } + } + }, + "cpuacct": { + "properties": { + "control_group": { + "type": "keyword" + }, + "usage_nanos": { + "type": "long" + } + } + }, + "memory": { + "properties": { + "control_group": { + "type": "keyword" + }, + "limit_in_bytes": { + "type": "keyword" + }, + "usage_in_bytes": { + "type": "keyword" + } + } + } + } + }, + "cpu": { + "properties": { + "load_average": { + "properties": { + "15m": { + "type": "half_float" + }, + "1m": { + "type": "half_float" + }, + "5m": { + "type": "half_float" + } + } + } + } + } + } + }, + "process": { + "properties": { + "cpu": { + "properties": { + "percent": { + "type": "half_float" + } + } + }, + "max_file_descriptors": { + "type": "long" + }, + "open_file_descriptors": { + "type": "long" + } + } + }, + "thread_pool": { + "properties": { + "bulk": { + "properties": { + "queue": { + "type": "integer" + }, + "rejected": { + "type": "long" + }, + "threads": { + "type": "integer" + } + } + }, + "generic": { + "properties": { + "queue": { + "type": "integer" + }, + "rejected": { + "type": "long" + }, + "threads": { + "type": "integer" + } + } + }, + "get": { + "properties": { + "queue": { + "type": "integer" + }, + "rejected": { + "type": "long" + }, + "threads": { + "type": "integer" + } + } + }, + "index": { + "properties": { + "queue": { + "type": "integer" + }, + "rejected": { + "type": "long" + }, + "threads": { + "type": "integer" + } + } + }, + "maanagement": { + "properties": { + "queue": { + "type": "integer" + }, + "rejected": { + "type": "long" + }, + "threads": { + "type": "integer" + } + } + }, + "search": { + "properties": { + "queue": { + "type": "integer" + }, + "rejected": { + "type": "long" + }, + "threads": { + "type": "integer" + } + } + }, + "watcher": { + "properties": { + "queue": { + "type": "integer" + }, + "rejected": { + "type": "long" + }, + "threads": { + "type": "integer" + } + } + } + } + } + } + }, + "shard": { + "properties": { + "index": { + "type": "keyword" + }, + "node": { + "type": "keyword" + }, + "primary": { + "type": "boolean" + }, + "relocating_node": { + "type": "keyword" + }, + "shard": { + "type": "long" + }, + "state": { + "type": "keyword" + } + } + }, + "source_node": { + "properties": { + "host": { + "type": "keyword" + }, + "ip": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "timestamp": { + "type": "date", + "format": "date_time" + }, + "transport_address": { + "type": "keyword" + }, + "uuid": { + "type": "keyword" + } + } + }, + "state_uuid": { + "type": "keyword" + }, + "timestamp": { + "type": "date", + "format": "date_time" + }, + "type": { + "type": "keyword" + } + } + } + }, + "aliases": {} + } +} \ No newline at end of file