I am using logstash 2.0 and this is my config file. For some reason the file isnt being read, but I am able to feed it an input using stdin, for which it shows me a result.
input {
file{
path => "/home/finalelkcut/logs/t2.log"
sincedb_path => "/home/finalelkcut/logs/.sincedb*"
start_position => "beginning"
}
stdin{}
}
filter{
grok{
match => { "message" => "%{COMBINEDAPACHELOG}" }
}
date {
match => ["timestamp" , "dd/MMM/yyyy:HH:mm:ss Z"]
}
}
output {
stdout{ codec => rubydebug}
elasticsearch {
hosts => "10.61.157.79:9200"
}
}