Cluster is having an index with my-index-name and data is getting updated every 15 mins in Production Cluster. Only when executing with watcher (as mentioned above), i'm not getting either result or getting error. And this watcher script is working fine in lower environments. Not sure what is causing this issue.
Thanks a lot for all your efforts and help Great . Thank you
Here is the response and getting my-index-name in results
"took" : 6,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : 1440,
"max_score" : 0.0,
"hits" : [
{
"_index" : ".monitoring-es-6-2020.05.12",
"_type" : "doc",
"_id" : "FQJCB3IBdrgwRM7r2QS4",
"_score" : 0.0,
"_source" : {
"cluster_uuid" : "xb2Aq6BrSpSw3jKwWd5MAg",
"timestamp" : "2020-05-12T05:02:01.100Z",
"interval_ms" : 10000,
"type" : "index_stats",
"source_node" : {
"uuid" : "1UtanIgTR_WjL6EF5DZA_w",
"host" : "ohlvelsmt002dp.oh.prd.dat.aws.vz-connect.net",
"transport_address" : "10.59.92.108:9300",
"ip" : "10.59.92.108",
"name" : "ohlvelsmt002dp.oh.prd.dat",
"timestamp" : "2020-05-12T05:02:00.940Z"
},
"index_stats" : {
"index" : "my-index-name-20200509",
"uuid" : "4MHWDxYxQhubxpeH4dTYDg",
"created" : 1588982401188,
"status" : "green",
"shards" : {
"total" : 3,
"primaries" : 1,
"replicas" : 2,
"active_total" : 3,
"active_primaries" : 1,
"active_replicas" : 2,
"unassigned_total" : 0,
"unassigned_primaries" : 0,
"unassigned_replicas" : 0,
"initializing" : 0,
"relocating" : 0
},
"total" : {
"docs" : {
"count" : 3103533
},
"store" : {
"size_in_bytes" : 76247101579
},
"indexing" : {
"index_total" : 3103758,
"index_time_in_millis" : 8039840,
"throttle_time_in_millis" : 0
},
"search" : {
"query_total" : 2,
"query_time_in_millis" : 19
},
"merges" : {
"total_size_in_bytes" : 391866338464
},
"refresh" : {
"total_time_in_millis" : 3817155
},
"query_cache" : {
"memory_size_in_bytes" : 0,
"hit_count" : 0,
"miss_count" : 0,
"evictions" : 0
},
"fielddata" : {
"memory_size_in_bytes" : 0,
"evictions" : 0
},
"segments" : {
"count" : 74,
"memory_in_bytes" : 48825703,
"terms_memory_in_bytes" : 1734313,
"stored_fields_memory_in_bytes" : 8590536,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 0,
"points_memory_in_bytes" : 38270966,
"doc_values_memory_in_bytes" : 229888,
"index_writer_memory_in_bytes" : 0,
"version_map_memory_in_bytes" : 0,
"fixed_bit_set_memory_in_bytes" : 0
},
"request_cache" : {
"memory_size_in_bytes" : 0,
"evictions" : 0,
"hit_count" : 0,
"miss_count" : 0
}
},
"primaries" : {
"docs" : {
"count" : 1034511
},
"store" : {
"size_in_bytes" : 25391493813
},
"indexing" : {
"index_total" : 1034588,
"index_time_in_millis" : 2694707,
"throttle_time_in_millis" : 0
},
"search" : {
"query_total" : 2,
"query_time_in_millis" : 19
},
"merges" : {
"total_size_in_bytes" : 132902877589
},
"refresh" : {
"total_time_in_millis" : 1275398
},
"query_cache" : {
"memory_size_in_bytes" : 0,
"hit_count" : 0,
"miss_count" : 0,
"evictions" : 0
},
"fielddata" : {
"memory_size_in_bytes" : 0,
"evictions" : 0
},
"segments" : {
"count" : 21,
"memory_in_bytes" : 16235950,
"terms_memory_in_bytes" : 575215,
"stored_fields_memory_in_bytes" : 2861744,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 0,
"points_memory_in_bytes" : 12755459,
"doc_values_memory_in_bytes" : 43532,
"index_writer_memory_in_bytes" : 0,
"version_map_memory_in_bytes" : 0,
"fixed_bit_set_memory_in_bytes" : 0
},
"request_cache" : {
"memory_size_in_bytes" : 0,
"evictions" : 0,
"hit_count" : 0,
"miss_count" : 0
}
}
}
}
}
]
},
"aggregations" : {
"indices" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 0,
"buckets" : [
{
"key" : "my-index-name-20200505",
"doc_count" : 180,
"statistics" : {
"count" : 180,
"min" : 3221835.0,
"max" : 3221835.0,
"avg" : 3221835.0,
"sum" : 5.799303E8
}
},
{
"key" : "my-index-name-20200506",
"doc_count" : 180,
"statistics" : {
"count" : 180,
"min" : 3320862.0,
"max" : 3320862.0,
"avg" : 3320862.0,
"sum" : 5.9775516E8
}
},
{
"key" : "my-index-name-20200507",
"doc_count" : 180,
"statistics" : {
"count" : 180,
"min" : 3594315.0,
"max" : 3594315.0,
"avg" : 3594315.0,
"sum" : 6.469767E8
}
},
{
"key" : "my-index-name-20200508",
"doc_count" : 180,
"statistics" : {
"count" : 180,
"min" : 3478368.0,
"max" : 3478368.0,
"avg" : 3478368.0,
"sum" : 6.2610624E8
}
},
{
"key" : "my-index-name-20200509",
"doc_count" : 180,
"statistics" : {
"count" : 180,
"min" : 3103533.0,
"max" : 3103533.0,
"avg" : 3103533.0,
"sum" : 5.5863594E8
}
},
{
"key" : "my-index-name-20200510",
"doc_count" : 180,
"statistics" : {
"count" : 180,
"min" : 2534076.0,
"max" : 2534076.0,
"avg" : 2534076.0,
"sum" : 4.5613368E8
}
},
{
"key" : "my-index-name-20200511",
"doc_count" : 180,
"statistics" : {
"count" : 180,
"min" : 3239199.0,
"max" : 3239199.0,
"avg" : 3239199.0,
"sum" : 5.8305582E8
}
},
{
"key" : "my-index-name-20200512",
"doc_count" : 180,
"statistics" : {
"count" : 180,
"min" : 387060.0,
"max" : 397305.0,
"avg" : 392500.4555555555,
"sum" : 7.0650082E7
}
}
]
},
"total_max" : {
"value" : 2.2889493E7
},
"total_min" : {
"value" : 2.2879248E7
}
}
}