Hello All,
First thanks a lotfor the great work on the ELK stack! 

This post is both about elasticsearch and kibana3. There is something I 
dont get in the breaking change changelog of 1.4 about alias api: 

« The get alias api will return a section for aliases even if there are no 
aliases. This ensures that the following two examples are equivalent:
curl -XGET 'http://localhost:9200/_all/_aliases'
curl -XGET 'http://localhost:9200/_aliases' »


The behaviour I had with 1.2.1 is
curl -XGET 'http://localhost:9200/_all/_aliases'
will return a json that list all indices in the cluster even when no alias. 
Like :
# curl 'localhost:9200/_all/_aliases?pretty'
{
  "blabla-pouet" : {    <- non aliased index
    "aliases" : { }
  },
…
  "blabla-prout" : {    <- aliased index
    "aliases" : {
      "blabla-yeah" : { }
    }
  },
…
}

The behaviour I get with 1.4.1 is
curl -XGET 'http://localhost:9200/_all/_aliases'
shows only the indices that do have at least one alias. When no alias it 
shows nothing. Like :
# curl 'localhost:9200/_all/_aliases?pretty'
{
  "blabla-prout" : {    <- aliased index only
    "aliases" : {
      "blabla-yeah" : { }
    }
  }
}

To me it seems the change is rather: 1.4 no longer show indices that don't 
have aliases in the /_all/_aliases, but as a non excellent english speaker 
I may misunderstand it. 

The scond thing is I have the impression that it breaks my kibana3 setup as 
when loading a dashboard, I can see kibana send a query for 
http://es-api-endpoint>:9200/<timestamped-indices-list>/_aliases?ignore_unavailable=true&ignore_missing=true
 
and since 1.4 this results in an empty list. After that kibana only sohw a 
warning about 'there is no index that match your query'

I am able to work around by adding a dummy alias to all the indices. This 
allow the aforementionned call from kibana3 to succeed and data is 
displayed. I post this here as I dont really know if it belongs to 
elasticsearch or kibana3, and if someone had the same problem and have a 
better solution,please say it!


Thanks & have a nice day!
Erick

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b8670004-0c98-43c0-8886-28c1551b6935%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to