I am trying to post my log details via logstash. This is how my filter looks
input {
file {
path =>"/opt/projects/logs/Marketplace.log"
start_position => "beginning"
}
}
filter {
grok {
match => [ "message", "%{DATE_US:date} %{TIME:time} %{LOGLEVEL:logger} Method Details: %{DATA:message}"]
}
}
output {
stdout { }
elasticsearch{
action => index
host => "xxx.yyy.net"
index => myIndex
protocol => "http"
}
LogStash configtest is OK. Yet I dont see any output on the console or elastic search server. What could be wrong?
Thanks,
Sriram