Problem with ElasticSearch Logstash and kibana


(strt) #1

I have installed

Logstash ElasticSearch Kibana

on an EC2 instance.

I can visit http://example.com:9200 Here I get

{
"status" : 200,
"name" : "Aleta Ogord",
"version" : {
"number" : "1.1.0",
"build_hash" : "2181e113dea80b4a9e31e58e9686658a2d46e363",
"build_timestamp" : "2014-03-25T15:59:51Z",
"build_snapshot" : false,
"lucene_version" : "4.7"
},
"tagline" : "You Know, for Search"
}
So elastic search is working, but when I go to

http://example.com/kibana

I get "No results There were no results because no indices were found that match your selected time span"

I have a config file in

/etc/logstash/conf.d/ that contains the following:-

input {
file {
path => "/var/log/apache/access.log"
type => "apache-access"
}
}

filter {
grok {
type => "apache-access"
pattern => "%{COMBINEDAPACHELOG}"
}
}

output {
stdout { }

elasticsearch {
host => "127.0.0.1"
}
}
I have checked the logstash log file, and there are no relevent error messages

Please help


(system) #2