Skip to content

Instantly share code, notes, and snippets.

@barakseri1
Created December 23, 2019 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barakseri1/979f0253066cca01b31c7c0686d16dd3 to your computer and use it in GitHub Desktop.
Save barakseri1/979f0253066cca01b31c7c0686d16dd3 to your computer and use it in GitHub Desktop.
{
"took": 665,
"timed_out": false,
"_shards": {
"total": 7,
"successful": 7,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 6,
"relation": "eq"
},
"max_score": null,
"hits": [
{
"_index": ".monitoring-es-7-2019.12.17",
"_type": "_doc",
"_id": "wvf5EW8BxdpSlRsoF-Qw",
"_score": null,
"_source": {
"cluster_uuid": "vd63AAWCTc6rZ1RiIRSK4g",
"timestamp": "2019-12-17T03:48:54.635Z",
"interval_ms": 10000,
"type": "cluster_stats",
"source_node": {
"uuid": "yNxtuJaRQySfySaoimiJwQ",
"host": "172.30.1.176",
"transport_address": "172.30.1.176:9300",
"ip": "172.30.1.176",
"name": "ip-172-30-1-176.ec2.internal",
"timestamp": "2019-12-17T03:48:54.470Z"
},
"cluster_name": "elasticsearch-prod",
"version": "7.2.0",
"license": {
"status": "active",
"uid": "98139a77-1ac8-4f46-94fa-cc228a229258",
"type": "basic",
"issue_date": "2019-04-30T12:17:29.795Z",
"issue_date_in_millis": 1556626649795,
"max_nodes": 1000,
"issued_to": "elasticsearch-prod",
"issuer": "elasticsearch",
"start_date_in_millis": -1
},
"cluster_stats": {
"cluster_uuid": "vd63AAWCTc6rZ1RiIRSK4g",
"timestamp": 1576554534613,
"status": "green",
"indices": {
"count": 18,
"shards": {
"total": 62,
"primaries": 24,
"replication": 1.5833333333333333,
"index": {
"shards": {
"min": 2,
"max": 21,
"avg": 3.4444444444444446
},
"primaries": {
"min": 1,
"max": 7,
"avg": 1.3333333333333333
},
"replication": {
"min": 1.0,
"max": 2.0,
"avg": 1.4444444444444444
}
}
},
"docs": {
"count": 92727063,
"deleted": 4946999
},
"store": {
"size_in_bytes": 520183072079
},
"fielddata": {
"memory_size_in_bytes": 30268,
"evictions": 0
},
"query_cache": {
"memory_size_in_bytes": 358623657,
"total_count": 3476899021,
"hit_count": 2049269385,
"miss_count": 1427629636,
"cache_size": 939415,
"cache_count": 111186618,
"evictions": 110247203
},
"completion": {
"size_in_bytes": 123471293597
},
"segments": {
"count": 987,
"memory_in_bytes": 125769037973,
"terms_memory_in_bytes": 125672639959,
"stored_fields_memory_in_bytes": 78704672,
"term_vectors_memory_in_bytes": 0,
"norms_memory_in_bytes": 584320,
"points_memory_in_bytes": 10072448,
"doc_values_memory_in_bytes": 7036574,
"index_writer_memory_in_bytes": 200923758,
"version_map_memory_in_bytes": 10262035,
"fixed_bit_set_memory_in_bytes": 1338272,
"max_unsafe_auto_id_timestamp": 1576551888616,
"file_sizes": {}
}
},
"nodes": {
"count": {
"total": 16,
"data": 9,
"coordinating_only": 2,
"master": 5,
"ingest": 9
},
"versions": [
"7.2.0"
],
"os": {
"available_processors": 168,
"allocated_processors": 168,
"names": [
{
"name": "Linux",
"count": 16
}
],
"pretty_names": [
{
"pretty_name": "Amazon Linux 2",
"count": 16
}
],
"mem": {
"total_in_bytes": 903568879616,
"free_in_bytes": 224862515200,
"used_in_bytes": 678706364416,
"free_percent": 25,
"used_percent": 75
}
},
"process": {
"cpu": {
"percent": 59
},
"open_file_descriptors": {
"min": 577,
"max": 1050,
"avg": 787
}
},
"jvm": {
"max_uptime_in_millis": 9146043018,
"versions": [
{
"version": "12.0.1",
"vm_name": "OpenJDK 64-Bit Server VM",
"vm_version": "12.0.1+12",
"vm_vendor": "Oracle Corporation",
"bundled_jdk": true,
"using_bundled_jdk": true,
"count": 16
}
],
"mem": {
"heap_used_in_bytes": 192457219568,
"heap_max_in_bytes": 315524251648
},
"threads": 1516
},
"fs": {
"total_in_bytes": 9660993318912,
"free_in_bytes": 9080402153472,
"available_in_bytes": 8692946952192
},
"plugins": [
{
"name": "discovery-ec2",
"version": "7.2.0",
"elasticsearch_version": "7.2.0",
"java_version": "1.8",
"description": "The EC2 discovery plugin allows to use AWS API for the unicast discovery mechanism.",
"classname": "org.elasticsearch.discovery.ec2.Ec2DiscoveryPlugin",
"extended_plugins": [],
"has_native_controller": false
},
{
"name": "repository-s3",
"version": "7.2.0",
"elasticsearch_version": "7.2.0",
"java_version": "1.8",
"description": "The S3 repository plugin adds S3 repositories",
"classname": "org.elasticsearch.repositories.s3.S3RepositoryPlugin",
"extended_plugins": [],
"has_native_controller": false
}
],
"network_types": {
"transport_types": {
"security4": 16
},
"http_types": {
"security4": 16
}
},
"discovery_types": {
"zen": 16
},
"packaging_types": [
{
"flavor": "default",
"type": "rpm",
"count": 16
}
]
}
},
"cluster_state": {
"nodes_hash": -1617896219,
"status": "green",
"cluster_uuid": "vd63AAWCTc6rZ1RiIRSK4g",
"version": 43579,
"state_uuid": "VdfqhGuMRdOSGZ7DCk9Ryw",
"master_node": "yNxtuJaRQySfySaoimiJwQ",
"nodes": {
"1N90K53yQRiEZer2Jqo4dg": {
"name": "ip-172-30-0-48.ec2.internal",
"ephemeral_id": "7hleOlulQKWRIqDN38F4XA",
"transport_address": "172.30.0.48:9300",
"attributes": {
"aws_availability_zone": "us-east-1a",
"ml.machine_memory": "66010615808",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"Xd6Ex6OXRdac4pwZCxyTEQ": {
"name": "ip-172-30-1-6.ec2.internal",
"ephemeral_id": "yykEZM_BQaiyFoXTLYeF0A",
"transport_address": "172.30.1.6:9300",
"attributes": {
"aws_availability_zone": "us-east-1b",
"ml.machine_memory": "16626966528",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"Pulg8N-8R0KfX5yUwiC_dQ": {
"name": "ip-172-30-2-198.ec2.internal",
"ephemeral_id": "yNSnzzDtRiqj50sJkyNxyQ",
"transport_address": "172.30.2.198:9300",
"attributes": {
"aws_availability_zone": "us-east-1c",
"ml.machine_memory": "133656322048",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"1ogTu-_qQcCMCwLATVjDpg": {
"name": "ip-172-30-1-41.ec2.internal",
"ephemeral_id": "IrsH5ZMeT-SRlAZQOvbU8A",
"transport_address": "172.30.1.41:9300",
"attributes": {
"aws_availability_zone": "us-east-1b",
"ml.machine_memory": "67534430208",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"yNxtuJaRQySfySaoimiJwQ": {
"name": "ip-172-30-1-176.ec2.internal",
"ephemeral_id": "TIsubmBgTIOD8nkx3mZNrQ",
"transport_address": "172.30.1.176:9300",
"attributes": {
"aws_availability_zone": "us-east-1b",
"ml.machine_memory": "16820563968",
"xpack.installed": "true",
"ml.max_open_jobs": "20"
}
},
"5SmrUGH4SRuLDYLdrOt77g": {
"name": "ip-172-30-1-242.ec2.internal",
"ephemeral_id": "G1v6wDcaR6iio_tr4ajLuw",
"transport_address": "172.30.1.242:9300",
"attributes": {
"aws_availability_zone": "us-east-1b",
"ml.machine_memory": "133656322048",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"zJiqfiIZQIGtELtjY7jnxg": {
"name": "ip-172-30-0-148.ec2.internal",
"ephemeral_id": "T5-yHwR_ShafZognjIj7-w",
"transport_address": "172.30.0.148:9300",
"attributes": {
"ml.machine_memory": "8362668032",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"hkMoT0WES-C2F-OnUnc-_A": {
"name": "ip-172-30-2-91.ec2.internal",
"ephemeral_id": "CfbGhwBoTCaWqjkQjVVDfw",
"transport_address": "172.30.2.91:9300",
"attributes": {
"aws_availability_zone": "us-east-1c",
"ml.machine_memory": "66010615808",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"rcWaUYZTSUaAviidjIESRA": {
"name": "ip-172-30-0-225.ec2.internal",
"ephemeral_id": "yNUAdC7nTqCcGnK-XpMR2g",
"transport_address": "172.30.0.225:9300",
"attributes": {
"aws_availability_zone": "us-east-1a",
"ml.machine_memory": "67534430208",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"qN0zCaZhTCGPGu849drP1Q": {
"name": "ip-172-30-0-54.ec2.internal",
"ephemeral_id": "3LTpzVViSICI6BbMRoyLow",
"transport_address": "172.30.0.54:9300",
"attributes": {
"aws_availability_zone": "us-east-1a",
"ml.machine_memory": "16820563968",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"lYPBVwzbQhuprJql2Lamdg": {
"name": "ip-172-30-2-13.ec2.internal",
"ephemeral_id": "VSZlTM_fS3Gr8AONuYc7cw",
"transport_address": "172.30.2.13:9300",
"attributes": {
"aws_availability_zone": "us-east-1c",
"ml.machine_memory": "67534430208",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"EODGswyyT0WpM8FMUcIRSQ": {
"name": "ip-172-30-0-248.ec2.internal",
"ephemeral_id": "Cs83E-saTwmxLLblIiW_Qw",
"transport_address": "172.30.0.248:9300",
"attributes": {
"aws_availability_zone": "us-east-1a",
"ml.machine_memory": "16626966528",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"e0bwfaScSHmflJ1MSqXdxA": {
"name": "ip-172-30-2-197.ec2.internal",
"ephemeral_id": "dLHLLY6zSfC9Hi9UST9-dA",
"transport_address": "172.30.2.197:9300",
"attributes": {
"aws_availability_zone": "us-east-1c",
"ml.machine_memory": "67534430208",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"If_ODG8WQnKKWLiU7PmRdw": {
"name": "ip-172-30-0-37.ec2.internal",
"ephemeral_id": "jjpe0Q7uQ9ib7G4sSKNDXw",
"transport_address": "172.30.0.37:9300",
"attributes": {
"ml.machine_memory": "8362668032",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"FcGYX-cHSNSnszWd2xO0Rg": {
"name": "ip-172-30-2-48.ec2.internal",
"ephemeral_id": "c8_lsSoeTGu1FTCGOOlxmQ",
"transport_address": "172.30.2.48:9300",
"attributes": {
"aws_availability_zone": "us-east-1c",
"ml.machine_memory": "16820563968",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
},
"MAgVF9bpRC6lAOwNxWNj7A": {
"name": "ip-172-30-0-217.ec2.internal",
"ephemeral_id": "bdauGFO9SeGunEVrnmwayw",
"transport_address": "172.30.0.217:9300",
"attributes": {
"aws_availability_zone": "us-east-1a",
"ml.machine_memory": "133656322048",
"ml.max_open_jobs": "20",
"xpack.installed": "true"
}
}
}
},
"stack_stats": {
"apm": {
"found": false
},
"xpack": {
"security": {
"available": true,
"enabled": false,
"ssl": {
"http": {
"enabled": false
},
"transport": {
"enabled": false
}
}
},
"monitoring": {
"available": true,
"enabled": true,
"collection_enabled": true,
"enabled_exporters": {
"local": 1
}
},
"watcher": {
"available": false,
"enabled": true,
"execution": {
"actions": {
"_all": {
"total": 0,
"total_time_in_ms": 0
}
}
},
"watch": {
"input": {
"_all": {
"total": 0,
"active": 0
}
},
"trigger": {
"_all": {
"total": 0,
"active": 0
}
}
},
"count": {
"total": 0,
"active": 0
}
},
"ml": {
"available": false,
"enabled": true,
"jobs": {
"_all": {
"count": 0,
"detectors": {
"total": 0.0,
"min": 0.0,
"avg": 0.0,
"max": 0.0
},
"created_by": {},
"model_size": {
"total": 0.0,
"min": 0.0,
"avg": 0.0,
"max": 0.0
},
"forecasts": {
"total": 0,
"forecasted_jobs": 0
}
}
},
"datafeeds": {
"_all": {
"count": 0
}
},
"node_count": 16
},
"ilm": {
"policy_count": 1,
"policy_stats": [
{
"phases": {
"delete": {
"min_age": 604800000,
"actions": [
"delete"
]
}
},
"indices_managed": 0
}
]
},
"data_frame": {
"available": true,
"enabled": true
},
"logstash": {
"available": false,
"enabled": true
},
"ccr": {
"available": false,
"enabled": true,
"follower_indices_count": 0,
"auto_follow_patterns_count": 0
},
"graph": {
"available": false,
"enabled": true
},
"sql": {
"available": true,
"enabled": true,
"features": {
"having": 0,
"subselect": 0,
"limit": 0,
"orderby": 0,
"where": 0,
"groupby": 0,
"join": 0,
"command": 0,
"local": 0
},
"queries": {
"rest": {
"total": 0,
"paging": 0,
"failed": 0
},
"cli": {
"total": 0,
"paging": 0,
"failed": 0
},
"canvas": {
"total": 0,
"paging": 0,
"failed": 0
},
"odbc": {
"total": 0,
"paging": 0,
"failed": 0
},
"jdbc": {
"total": 0,
"paging": 0,
"failed": 0
},
"odbc32": {
"total": 0,
"paging": 0,
"failed": 0
},
"odbc64": {
"total": 0,
"paging": 0,
"failed": 0
},
"_all": {
"total": 0,
"paging": 0,
"failed": 0
},
"translate": {
"count": 0
}
}
},
"rollup": {
"available": true,
"enabled": true
}
}
}
},
"fields": {
"cluster_uuid": [
"vd63AAWCTc6rZ1RiIRSK4g"
]
},
"sort": [
1576554534635
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment