Skip to content

Instantly share code, notes, and snippets.

@redhawk19
Created December 31, 2019 20:00
Show Gist options
  • Save redhawk19/150974056395d00f60489d81e8bd80f1 to your computer and use it in GitHub Desktop.
Save redhawk19/150974056395d00f60489d81e8bd80f1 to your computer and use it in GitHub Desktop.
{
"took" : 987,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 2745,
"relation" : "eq"
},
"max_score" : null,
"hits" : [
{
"_index" : ".monitoring-es-7-2019.12.31",
"_type" : "_doc",
"_id" : "f3SKXW8BKNWC4djNjFg8",
"_score" : null,
"_source" : {
"cluster_uuid" : "CMlK79u5T4eeaLIyR-jB5g",
"timestamp" : "2019-12-31T19:59:18.580Z",
"interval_ms" : 10000,
"type" : "cluster_stats",
"source_node" : {
"uuid" : "RfJNHOfLRKuOSxViu-wbbA",
"host" : "172.16.20.29",
"transport_address" : "172.16.20.29:9300",
"ip" : "172.16.20.29",
"name" : "nagios",
"timestamp" : "2019-12-31T19:59:18.505Z"
},
"cluster_name" : "nebula-cluster",
"version" : "7.4.2",
"license" : {
"status" : "active",
"uid" : "b48e8b08-96a0-43ca-9e38-617336186676",
"type" : "basic",
"issue_date" : "2019-12-31T09:54:54.533Z",
"issue_date_in_millis" : 1577786094533,
"max_nodes" : 1000,
"issued_to" : "nebula-cluster",
"issuer" : "elasticsearch",
"start_date_in_millis" : -1
},
"cluster_stats" : {
"cluster_uuid" : "CMlK79u5T4eeaLIyR-jB5g",
"timestamp" : 1577822358542,
"status" : "green",
"indices" : {
"count" : 10,
"shards" : {
"total" : 28,
"primaries" : 15,
"replication" : 0.8666666666666667,
"index" : {
"shards" : {
"min" : 2,
"max" : 6,
"avg" : 2.8
},
"primaries" : {
"min" : 1,
"max" : 3,
"avg" : 1.5
},
"replication" : {
"min" : 0.0,
"max" : 1.0,
"avg" : 0.9
}
}
},
"docs" : {
"count" : 46074,
"deleted" : 2659
},
"store" : {
"size_in_bytes" : 55780089
},
"fielddata" : {
"memory_size_in_bytes" : 2592,
"evictions" : 0
},
"query_cache" : {
"memory_size_in_bytes" : 13632,
"total_count" : 187,
"hit_count" : 3,
"miss_count" : 184,
"cache_size" : 3,
"cache_count" : 3,
"evictions" : 0
},
"completion" : {
"size_in_bytes" : 0
},
"segments" : {
"count" : 128,
"memory_in_bytes" : 1248186,
"terms_memory_in_bytes" : 885459,
"stored_fields_memory_in_bytes" : 49744,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 25344,
"points_memory_in_bytes" : 25911,
"doc_values_memory_in_bytes" : 261728,
"index_writer_memory_in_bytes" : 22976544,
"version_map_memory_in_bytes" : 223018,
"fixed_bit_set_memory_in_bytes" : 13184,
"max_unsafe_auto_id_timestamp" : 1577821018561,
"file_sizes" : { }
}
},
"nodes" : {
"count" : {
"total" : 3,
"coordinating_only" : 0,
"data" : 2,
"ingest" : 3,
"master" : 1,
"ml" : 3,
"voting_only" : 0
},
"versions" : [
"7.4.2"
],
"os" : {
"available_processors" : 4,
"allocated_processors" : 4,
"names" : [
{
"name" : "Linux",
"count" : 3
}
],
"pretty_names" : [
{
"pretty_name" : "CentOS release 6.10 (Final)",
"count" : 2
},
{
"pretty_name" : "CentOS Linux 7 (Core)",
"count" : 1
}
],
"mem" : {
"total_in_bytes" : 12281524224,
"free_in_bytes" : 4230856704,
"used_in_bytes" : 8050667520,
"free_percent" : 34,
"used_percent" : 66
}
},
"process" : {
"cpu" : {
"percent" : 10
},
"open_file_descriptors" : {
"min" : 275,
"max" : 367,
"avg" : 332
}
},
"jvm" : {
"max_uptime_in_millis" : 24302819,
"versions" : [
{
"version" : "1.8.0_232",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "25.232-b09",
"vm_vendor" : "Oracle Corporation",
"bundled_jdk" : true,
"using_bundled_jdk" : false,
"count" : 1
},
{
"version" : "13.0.1",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "13.0.1+9",
"vm_vendor" : "AdoptOpenJDK",
"bundled_jdk" : true,
"using_bundled_jdk" : true,
"count" : 2
}
],
"mem" : {
"heap_used_in_bytes" : 734701312,
"heap_max_in_bytes" : 5333843968
},
"threads" : 113
},
"fs" : {
"total_in_bytes" : 50491011072,
"free_in_bytes" : 35429965824,
"available_in_bytes" : 33609482240
},
"plugins" : [ ],
"network_types" : {
"transport_types" : {
"security4" : 3
},
"http_types" : {
"security4" : 3
}
},
"discovery_types" : {
"zen" : 3
},
"packaging_types" : [
{
"flavor" : "default",
"type" : "rpm",
"count" : 3
}
]
}
},
"cluster_state" : {
"nodes_hash" : -1182362472,
"status" : "green",
"cluster_uuid" : "CMlK79u5T4eeaLIyR-jB5g",
"version" : 260,
"state_uuid" : "8iGrow-SQzGmXDzQIUf59g",
"master_node" : "RfJNHOfLRKuOSxViu-wbbA",
"nodes" : {
"R22234sFQH2M4r24MwDShw" : {
"name" : "Test-Usama",
"ephemeral_id" : "q6_a7aKzQsaJcDPcJGYkhA",
"transport_address" : "172.16.20.5:9300",
"attributes" : {
"ml.machine_memory" : "4153835520",
"ml.max_open_jobs" : "20",
"xpack.installed" : "true"
}
},
"RfJNHOfLRKuOSxViu-wbbA" : {
"name" : "nagios",
"ephemeral_id" : "uahQimYfQB6wrh6Sa5tX7Q",
"transport_address" : "172.16.20.29:9300",
"attributes" : {
"ml.machine_memory" : "3973873664",
"xpack.installed" : "true",
"ml.max_open_jobs" : "20"
}
},
"DAOldKtZTPKIeSSONsNA9w" : {
"name" : "localhost.localdomain",
"ephemeral_id" : "TzrsG0jZRcKM7pL5eluNbA",
"transport_address" : "172.16.20.21:9300",
"attributes" : {
"ml.machine_memory" : "4153815040",
"ml.max_open_jobs" : "20",
"xpack.installed" : "true"
}
}
}
},
"stack_stats" : {
"apm" : {
"found" : false
},
"xpack" : {
"flattened" : {
"available" : true,
"enabled" : true
},
"security" : {
"available" : true,
"enabled" : false,
"ssl" : {
"http" : {
"enabled" : false
},
"transport" : {
"enabled" : false
}
}
},
"monitoring" : {
"available" : true,
"enabled" : true,
"collection_enabled" : true,
"enabled_exporters" : {
"local" : 1
}
},
"vectors" : {
"available" : true,
"enabled" : true,
"dense_vector_fields_count" : 0,
"sparse_vector_fields_count" : 0,
"dense_vector_dims_avg_count" : 0
},
"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
}
},
"analytics" : {
"available" : true,
"enabled" : true,
"stats" : [
{
"cumulative_cardinality_usage" : 0
},
{
"cumulative_cardinality_usage" : 0
},
{
"cumulative_cardinality_usage" : 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
}
},
"data_frame_analytics_jobs" : {
"_all" : {
"count" : 0
}
},
"node_count" : 3
},
"ilm" : {
"policy_count" : 2,
"policy_stats" : [
{
"phases" : {
"delete" : {
"min_age" : 604800000,
"actions" : [
"delete"
]
}
},
"indices_managed" : 0
},
{
"phases" : {
"hot" : {
"min_age" : 0,
"actions" : [
"rollover"
]
},
"delete" : {
"min_age" : 7776000000,
"actions" : [
"delete"
]
}
},
"indices_managed" : 0
}
]
},
"data_frame" : {
"available" : true,
"enabled" : true
},
"voting_only" : {
"available" : true,
"enabled" : true
},
"frozen_indices" : {
"available" : true,
"enabled" : true,
"indices_count" : 0
},
"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,
"local" : 0,
"command" : 0
},
"queries" : {
"cli" : {
"total" : 0,
"paging" : 0,
"failed" : 0
},
"rest" : {
"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
},
"translate" : {
"count" : 0
},
"_all" : {
"total" : 0,
"paging" : 0,
"failed" : 0
}
}
},
"spatial" : {
"available" : true,
"enabled" : true
},
"rollup" : {
"available" : true,
"enabled" : true
}
}
}
},
"fields" : {
"cluster_uuid" : [
"CMlK79u5T4eeaLIyR-jB5g"
]
},
"sort" : [
1577822358580
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment