How to filter out system indices?

(Jinggang Diao) #1

I cannot find any documentation on system indices. I want to retrieve all non-system indices and the way I am doing it is to get all indices first and filter out system indices.

The filter I am using is "does the index name start with a dot? Like .task, .kibana, .monitoring".

I don't think that's a very good/safe filter. It also means a user cannot have an index name starting with a dot. But what else filter can I use?

I know one inconvenient solution which is to add aliases to non-system indices. Any easy solutions on a better filter logic?


(David Pilato) #2

It's a convention. System indices start with a dot.

(system) #3

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