I am using ES 2.2/Shield 2.2 and for some reason it fails to acknowledge that logstash-* indexes exist.
Theses are the indexes I currently have:
curl -u admin 'localhost:9200/_cat/indices?v'
Enter host password for user 'admin':
health status index pri rep docs.count docs.deleted store.size pri.store.size
yellow open logstash-2016.02.27 5 1 140220 0 33.4mb 33.4mb
yellow open logstash-2016.02.26 5 1 634279 0 158.3mb 158.3mb
yellow open logstash-2016.02.25 5 1 1323298 0 322.8mb 322.8mb
yellow open .kibana 1 1 3 0 12.4kb 12.4kb
yellow open logstash-2016.02.24 5 1 1383081 0 338.6mb 338.6mb
yellow open logstash-2016.02.23 5 1 382714 0 95.4mb 95.4mb
However, the following command returns index_not_found_exception:
curl -XGET localhost:9200/logstash-/_field_stats?fields=@timestamp
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","index":"[logstash-]"}],"type":"index_not_found_exception","reason":"no such index","index":"[logstash-*]"},"status":404}
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.