Exclude some indexes from elasticsearch request

I use _all as an index pattern, and this causes kibana-4 to search for all possible indexes. Since kibana-4 has its own .kibana index, it tries to find the required data in the .kibana index, and since it does not parse the data there, it throws some exceptions for parsing. So, is there any way I can configure kibana-4 to exclude .kibana for search.

+6
source share
2 answers

I was able to successfully ignore the .kibana index using the following query:

 curl 'localhost:9200/*,-*kibana/_search?q=*:*' 

This will search for all indexes (first "*"), excluding all indexes that end with "Kibana".

+5
source

You can create your own alias similar to _all and use it in kibana. Or you can simply exclude the .kibana index from the alias of the all index.

0
source

Source: https://habr.com/ru/post/986348/


All Articles