Welcome!
You can use the _cat API.
Something like:
curl localhost:9200/_cat/indices | wc -l
You can try something like:
curl localhost:9200/_cat/indices/*,-.* | wc -l
Not tested but I think it should exclude indices starting with a dot.
Welcome!
You can use the _cat API.
Something like:
curl localhost:9200/_cat/indices | wc -l
You can try something like:
curl localhost:9200/_cat/indices/*,-.* | wc -l
Not tested but I think it should exclude indices starting with a dot.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.