Kibana search for last 24h wait for warm nodes

(Maxim N Kostrikin) #1

We have a ELK stack with hot/warm ES nodes, 3 node for hot and 3 node for warm.
We keep 7 days in hot, older moved to warm.
We expect searches for last 24 hour will load only hot ES nodes, but kibana keep waiting for reply ( we guess ) from warm ES nodes. Load of ES nodes are monitored and one of the warm node is 100% CPU busy, during test searches.
ES 2.2.2 version, Kibana 4.4.0
Searching for similar issues gives nothing.

Please advise.

(Christian Dahlqvist) #2

How have you specified your index patterns in Kibana?

(Maxim N Kostrikin) #3

Settings for index patterns are:
Index contains time-based events - CHECKED
Use event times to create index names - UNCHECKED
Do not expand index pattern when searching - UNCHECKED
Time-field name "@timestamp"

(Christian Dahlqvist) #4

I am not sure if Kibana 4.4 was able to limit the amount of indices queried based on the field stats API. so by using a wildcard pattern it is possible that you are hitting all shards. For earlier versions of Kibana, before the field stats API was available, it was generally beneficial to configure the date pattern in the Kibana index pattern.

(Maxim N Kostrikin) #5

I have tried logstash-* , with and without Do not expand index pattern when searching
All are loading warm nodes by search on last 24h.

I am going to try same searches on 2.4 or 5.1 ES cluster.

(Christian Dahlqvist) #6

You will need to enable Use event times to create index names and leave Do not expand index pattern when searching disabled. You can use Chrome developer tools (or similar functionality in other browsers) to inspect the request and verify that it is rewritten to only target a subset of the available indices.

(Maxim N Kostrikin) #7

This is payload for search last 24h.
It does not select any indeces. I guess, kibana selects indeces for search.

As I mentioned before, [logstash-]YYYY.MM.DD with enabled Use event times to create index names and disabled Do not expand index pattern when searching. Last one hidden with Use event... - gives the same problems. warm nodes are got loaded.

(system) #8

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.