input {
file {
path => "E:\wo\examples\xxxxxx.log.2015-12-19.log"
start_position => "beginning"
sincedb_path => "C:\Users\Akash katakam\null"
}
}
filter {
grok {
match => { "message" => "%{TOMCATLOG %{TOMCAT_DATESTAMP:timestamp} | %{LOGLEVEL:level} | %{JAVACLASS:class} - %{JAVALOGMESSAGE:logmessage}}"}
}
}
output {
elasticsearch {
index => "splog"
}
stdout {}
}
this is my conf file.