Unable to create index

Hi All,

I am unable to create index in Kibana dashboard and even deafault index also not showing. Some one please suggest what could be the reason behind this. Please find below screen shot.

Regards
Raja

Do you have data in Elasticsearch?

Yes, I have data in elasticsearch

What index name(s) does it have?

Sorry I am not getting your question.
I am not able to see any index in Kibana , it does mean nothing is there in elasticsearch right?

I have just created the conf file in logstash to read the logs. In output property i have configured below

elasticsearch
{
hosts => ["localhost:9200"]
}

It means elasticsearch index with default one right?
Regards
Raja

Have a look at the _cat/indices API, what does it show?

root@61a76e54g043:/# curl -XGET 'http://localhost:9200/_cat/indices'

yellow open .kibana Zb-chW6CTi-ODtGQGwPPrg 1 1 1 0 3.2kb 3.2kb

Ok, so you don't have any data in ES (the .kibana index doesn't count here).

If you are using Logstash, then posting your config would be useful.

input
{
file
{
path => "/etc/logstash/*.log"
}
}
filter
{
}
output
{
elasticsearch
{
hosts => ["localhost:9200"]
}
}

Are you adding more data to that input file?

No, just 100 lines of logs

Then this is likely to be a sincedb issue, so have a look at the file input documentation for that.

Hi Mark,

The data is just a elasticsearch logs. How it will relate to sincedb issue?

Regards
Raja

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.