Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kibana doesn't seem to follow aliases #852

Closed
jro opened this issue Jan 20, 2014 · 1 comment
Closed

kibana doesn't seem to follow aliases #852

jro opened this issue Jan 20, 2014 · 1 comment

Comments

@jro
Copy link

jro commented Jan 20, 2014

I ended up with a situation around the beginning of the year where logstash logged some data to 2013.01.XX and some to 2014.01.XX because of a bug in an output plugin. I backed up the 2014.01.XX indexes and reimported them as logstash-partial-2014.01.XX. Then I setup aliases for logstash-2014.01.XX to point to both the 2013 and 2014 data sets.

Kibana does not seem to follow the aliases from what I can tell. I can query though them and retrieve counts just fine, however.

curl -XGET 'http://localhost:9200/logstash-2014.01.06/_count/?pretty=true'
{
  "count" : 22298717,
  "_shards" : {
    "total" : 10,
    "successful" : 10,
    "failed" : 0
  }
}
curl -XGET 'localhost:9200/_alias/logstash-2014.01.06?pretty=true'
{
  "logstash-2013.01.06" : {
    "aliases" : {
      "logstash-2014.01.06" : { }
    }
  },
  "logstash-partial-2014.01.06" : {
    "aliases" : {
      "logstash-2014.01.06" : { }
    }
  }
}
@rashidkpc
Copy link
Contributor

Kibana does not know the difference between an index and an alliance. I'm guessing there is some other issue here, we have tested against aliases extensively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@jro @rashidkpc and others