Skip to content

Instantly share code, notes, and snippets.

@chrisronline
Last active August 4, 2020 15:28
Show Gist options
  • Save chrisronline/a002d91b51f0fdb1beb1aa2af31718b3 to your computer and use it in GitHub Desktop.
Save chrisronline/a002d91b51f0fdb1beb1aa2af31718b3 to your computer and use it in GitHub Desktop.
{
"properties": {
"type": {
"type": "keyword"
},
"cluster_uuid": {
"type": "keyword"
},
"timestamp": {
"type": "date",
"format": "date_time"
},
"job_stats": {
"properties": {
"job_id": {
"type": "keyword"
}
}
},
"cluster_state": {
"properties": {
"node_hash": {
"type": "integer"
}
}
},
"indices_stats": {
"properties": {
"_all": {
"properties": {
"total": {
"properties": {
"search": {
"properties": {
"query_total": {
"type": "long"
},
"query_time_in_millis": {
"type": "long"
}
}
},
"indexing": {
"properties": {
"index_total": {
"type": "long"
}
}
}
}
},
"primaries": {
"properties": {
"indexing": {
"properties": {
"index_total": {
"type": "long"
},
"index_time_in_millis": {
"type": "long"
}
}
}
}
}
}
}
}
},
"state_uuid": {
"type": "keyword"
},
"shard": {
"properties": {
"primary": {
"type": "boolean"
},
"index": {
"type": "keyword"
},
"node": {
"type": "keyword"
},
"state": {
"type": "keyword"
}
}
},
"node_stats": {
"properties": {
"node_id": {
"type": "keyword"
},
"os": {
"properties": {
"cgroup": {
"properties": {
"cpu": {
"properties": {
"stat": {
"properties": {
"time_throttled_nanos": {
"type": "long"
},
"number_of_elapsed_periods": {
"type": "long"
},
"number_of_times_throttled": {
"type": "long"
}
}
},
"cfs_quota_micros": {
"type": "long"
}
}
},
"cpuacct": {
"properties": {
"usage_nanos": {
"type": "long"
}
}
}
}
},
"cpu": {
"properties": {
"load_average": {
"properties": {
"1m": {
"type": "half_float"
}
}
}
}
}
}
},
"process": {
"properties": {
"cpu": {
"properties": {
"percent": {
"type": "half_float"
}
}
}
}
},
"jvm": {
"properties": {
"mem": {
"properties": {
"heap_used_percent": {
"type": "half_float"
},
"heap_used_in_bytes": {
"type": "long"
},
"heap_max_in_bytes": {
"type": "long"
}
}
},
"gc": {
"properties": {
"collectors": {
"properties": {
"old": {
"properties": {
"collection_time_in_millis": {
"type": "long"
},
"collection_count": {
"type": "long"
}
}
},
"young": {
"properties": {
"collection_count": {
"type": "long"
},
"collection_time_in_millis": {
"type": "long"
}
}
}
}
}
}
}
}
},
"fs": {
"properties": {
"total": {
"properties": {
"available_in_bytes": {
"type": "long"
}
}
},
"io_stats": {
"properties": {
"total": {
"properties": {
"read_operations": {
"type": "long"
},
"operations": {
"type": "long"
},
"write_operations": {
"type": "long"
}
}
}
}
}
}
},
"indices": {
"properties": {
"indexing": {
"properties": {
"index_total": {
"type": "long"
},
"index_time_in_millis": {
"type": "long"
},
"throttle_time_in_millis": {
"type": "long"
}
}
},
"segments": {
"properties": {
"memory_in_bytes": {
"type": "long"
},
"terms_memory_in_bytes": {
"type": "long"
},
"count": {
"type": "integer"
},
"points_memory_in_bytes": {
"type": "long"
},
"doc_values_memory_in_bytes": {
"type": "long"
},
"norms_memory_in_bytes": {
"type": "long"
},
"fixed_bit_set_memory_in_bytes": {
"type": "long"
},
"stored_fields_memory_in_bytes": {
"type": "long"
},
"version_map_memory_in_bytes": {
"type": "long"
},
"term_vectors_memory_in_bytes": {
"type": "long"
},
"index_writer_memory_in_bytes": {
"type": "long"
}
}
},
"search": {
"properties": {
"query_total": {
"type": "long"
},
"query_time_in_millis": {
"type": "long"
}
}
},
"request_cache": {
"properties": {
"memory_size_in_bytes": {
"type": "long"
}
}
},
"fielddata": {
"properties": {
"memory_size_in_bytes": {
"type": "long"
}
}
},
"query_cache": {
"properties": {
"memory_size_in_bytes": {
"type": "long"
}
}
}
}
},
"thread_pool": {
"properties": {
"index": {
"properties": {
"queue": {
"type": "integer"
},
"rejected": {
"type": "long"
}
}
},
"bulk": {
"properties": {
"queue": {
"type": "integer"
},
"rejected": {
"type": "long"
}
}
},
"write": {
"properties": {
"queue": {
"type": "integer"
},
"rejected": {
"type": "long"
}
}
},
"search": {
"properties": {
"queue": {
"type": "integer"
},
"rejected": {
"type": "long"
}
}
},
"get": {
"properties": {
"queue": {
"type": "integer"
},
"rejected": {
"type": "long"
}
}
}
}
}
}
},
"source_node": {
"properties": {
"uuid": {
"type": "keyword"
},
"name": {
"type": "keyword"
}
}
},
"index_stats": {
"properties": {
"index": {
"type": "keyword"
},
"total": {
"properties": {
"store": {
"properties": {
"size_in_bytes": {
"type": "long"
}
}
},
"indexing": {
"properties": {
"index_total": {
"type": "long"
},
"index_time_in_millis": {
"type": "long"
},
"throttle_time_in_millis": {
"type": "long"
}
}
},
"search": {
"properties": {
"query_total": {
"type": "long"
},
"query_time_in_millis": {
"type": "long"
}
}
},
"segments": {
"properties": {
"memory_in_bytes": {
"type": "long"
},
"terms_memory_in_bytes": {
"type": "long"
},
"points_memory_in_bytes": {
"type": "long"
},
"count": {
"type": "integer"
},
"doc_values_memory_in_bytes": {
"type": "long"
},
"norms_memory_in_bytes": {
"type": "long"
},
"stored_fields_memory_in_bytes": {
"type": "long"
},
"fixed_bit_set_memory_in_bytes": {
"type": "long"
},
"term_vectors_memory_in_bytes": {
"type": "long"
},
"version_map_memory_in_bytes": {
"type": "long"
},
"index_writer_memory_in_bytes": {
"type": "long"
}
}
},
"query_cache": {
"properties": {
"memory_size_in_bytes": {
"type": "long"
}
}
},
"fielddata": {
"properties": {
"memory_size_in_bytes": {
"type": "long"
}
}
},
"request_cache": {
"properties": {
"memory_size_in_bytes": {
"type": "long"
}
}
},
"merges": {
"properties": {
"total_size_in_bytes": {
"type": "long"
}
}
},
"refresh": {
"properties": {
"total_time_in_millis": {
"type": "long"
}
}
}
}
},
"primaries": {
"properties": {
"indexing": {
"properties": {
"index_total": {
"type": "long"
},
"index_time_in_millis": {
"type": "long"
},
"throttle_time_in_millis": {
"type": "long"
}
}
},
"store": {
"properties": {
"size_in_bytes": {
"type": "long"
}
}
},
"docs": {
"properties": {
"count": {
"type": "long"
}
}
},
"segments": {
"properties": {
"count": {
"type": "integer"
}
}
},
"refresh": {
"properties": {
"total_time_in_millis": {
"type": "long"
}
}
},
"merges": {
"properties": {
"total_size_in_bytes": {
"type": "long"
}
}
}
}
}
}
},
"ccr_stats": {
"properties": {
"remote_cluster": {
"type": "keyword"
},
"leader_index": {
"type": "keyword"
},
"operations_written": {
"type": "long"
},
"leader_max_seq_no": {
"type": "long"
},
"follower_global_checkpoint": {
"type": "long"
},
"leader_global_checkpoint": {
"type": "long"
},
"shard_id": {
"type": "integer"
},
"follower_index": {
"type": "keyword"
},
"time_since_last_read_millis": {
"type": "long"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment