Hi,
I'm having some performance issues. I got a index with some netflow data in it and even though the total size is only 18MB, once I try to visualize more than a week of data in Kibana (couple of aggegrations) performance thanks, browsers crash and a ton of heap space is required.
I'm running on AWS elasticservice (t.2medium, 2gb heap) so unfortunately there is very little I can provide as far as logs go.
How can I check what is causing these issues? It doesn't look like the queries itself are that heavy nor do I have that much data in my indeces. I also don't get why I can see heap size growing to nearly 2gb even though the total data set is only 18MB.
{
"_shards": {
"total": 2,
"successful": 2,
"failed": 0
},
"_all": {
"primaries": {
"docs": {
"count": 160495,
"deleted": 0
},
"store": {
"size_in_bytes": 18537477
},
"indexing": {
"index_total": 149,
"index_time_in_millis": 166,
"index_current": 0,
"index_failed": 0,
"delete_total": 0,
"delete_time_in_millis": 0,
"delete_current": 0,
"noop_update_total": 0,
"is_throttled": false,
"throttle_time_in_millis": 0
},
"get": {
"total": 0,
"time_in_millis": 0,
"exists_total": 0,
"exists_time_in_millis": 0,
"missing_total": 0,
"missing_time_in_millis": 0,
"current": 0
},
"search": {
"open_contexts": 0,
"query_total": 424,
"query_time_in_millis": 97876,
"query_current": 0,
"fetch_total": 0,
"fetch_time_in_millis": 0,
"fetch_current": 0,
"scroll_total": 0,
"scroll_time_in_millis": 0,
"scroll_current": 0,
"suggest_total": 0,
"suggest_time_in_millis": 0,
"suggest_current": 0
},
"merges": {
"current": 0,
"current_docs": 0,
"current_size_in_bytes": 0,
"total": 0,
"total_time_in_millis": 0,
"total_docs": 0,
"total_size_in_bytes": 0,
"total_stopped_time_in_millis": 0,
"total_throttled_time_in_millis": 0,
"total_auto_throttle_in_bytes": 41943040
},
"refresh": {
"total": 12,
"total_time_in_millis": 114,
"listeners": 0
},
"flush": {
"total": 2,
"total_time_in_millis": 20
},
"warmer": {
"current": 0,
"total": 7,
"total_time_in_millis": 0
},
"query_cache": {
"memory_size_in_bytes": 407376,
"total_count": 846,
"hit_count": 410,
"miss_count": 436,
"cache_size": 42,
"cache_count": 42,
"evictions": 0
},
"fielddata": {
"memory_size_in_bytes": 6552,
"evictions": 0
},
"completion": {
"size_in_bytes": 0
},
"segments": {
"count": 9,
"memory_in_bytes": 101356,
"terms_memory_in_bytes": 64698,
"stored_fields_memory_in_bytes": 14160,
"term_vectors_memory_in_bytes": 0,
"norms_memory_in_bytes": 4992,
"points_memory_in_bytes": 6150,
"doc_values_memory_in_bytes": 11356,
"index_writer_memory_in_bytes": 0,
"version_map_memory_in_bytes": 0,
"fixed_bit_set_memory_in_bytes": 0,
"max_unsafe_auto_id_timestamp": 1518673926047,
"file_sizes": {}
},
"translog": {
"operations": 3180,
"size_in_bytes": 1444518,
"uncommitted_operations": 0,
"uncommitted_size_in_bytes": 86
},
"request_cache": {
"memory_size_in_bytes": 545570,
"evictions": 0,
"hit_count": 88,
"miss_count": 248
},
"recovery": {
"current_as_source": 0,
"current_as_target": 0,
"throttle_time_in_millis": 114
}