Get all Idices on a cluster

Hi,

How do I get all the indices names of a single cluster? Didn't find it on
the documentation.

Regards,
Ophir

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Ophir,

How do I get all the indices names of a single cluster? Didn't find it on the documentation.

You should find that information in the cluster state API:

http://www.elasticsearch.org/guide/reference/api/admin-cluster-state/

Cheers,
Dan

Dan Fairs | dan.fairs@gmail.com | @danfairs | secondsync.com

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

http://:9200/_cluster/state?filter_routing_table=true&filter_nodes=true&filter_blocks=true&pretty

then process the JSON that comes back using Python, ruby etc.

{
"cluster_name" : "MyCluster",
"metadata" : {
"templates" : { },
"indices" : {

Philip

On Sun, Jul 28, 2013 at 5:06 AM, Ophir Michaeli [via ElasticSearch
Users] ml-node+s115913n4038760h14@n3.nabble.com wrote:

Hi,

How do I get all the indices names of a single cluster? Didn't find it on
the documentation.

Regards,
Ophir

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.


If you reply to this email, your message will be added to the discussion
below:
http://elasticsearch-users.115913.n3.nabble.com/Get-all-Idices-on-a-cluster-tp4038760.html
To unsubscribe from ElasticSearch Users, click here.
NAML