How can fast show the cluster closed indices?


(andy_zhou) #1

how can fast show the cluster closed indices ? and open them onces.


(andy_zhou) #2

not login?


#3

Hi,
as far as I know curator is the best tool for that.

You can do something like this to show closed indices

~ # cat curator_show.sh
#!/bin/bash

/usr/local/bin/curator_cli
--loglevel INFO
--logfile /var/log/curator.log
--host sn1565
show_indices
--filter_list '[{"filtertype":"opened","exclude":"true"}]'

To open indices, see https://www.elastic.co/guide/en/elasticsearch/client/curator/current/open.html

-AB


(system) #4

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