Kibana and index patterns performance

Hi all,

I'm collecting information with filebeat, procesing it with logstash and storing in elasticsearch. I have different types and sub-types of information, and indexing the information with something similar to

For the same "type" i have several "sub_type".

Then we have one dashboard with several charts and tables getting data from those indexes.

The question is regarding performance, what is the best option:

  1. having one index pattern type* and then in the charts adding filters for sub_type.keyword:XX for the different sub_type


  1. having one index pattern for each sub_type: type-sub_type* and in this case not using the filter



Assuming you have a large amount of data to query, the second pattern should be more performant, because there will be less indices queried.

pattern 1:
pattern 2:
With pattern2 you will basically pre-filter you data. You won't notice much difference at a small amount of data, but at large scale this should have a better performance

1 Like

Thanks Matthias, and in case of second patter with indexes like:


When you filter by dates in dashboards, does it go all over all indexes or kibana knows the index format and go over the related indexes?


In this case there is no further optimization by the index name, like eg you define a range of a month, you want kibana just to use


that's currently not possible

1 Like

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