Hi @A_B ,
As you suggested
"Anyhow, if you have Kibana available then I would suggest using Kibana > Dev Tools > Grok Debugger
to work on your Grok pattern."
Here i am getting correct json data.
As you suggested:
" You can also test your Logstash config from STDIN to STDOUT. Here is an example."
Here it is printing out correct data but not in json format. why?
For me most important is why it is not picking data from input path and writing in output file as i posted initially.
input {
file {
path => "C:/EVRY/evry/projects/workingProjects/ELK-searchEngine/tomcatlog.log"
start_position => "beginning"
sincedb_path => "NUL"
type => "logs"
}
}
Please help. Thanks in advance.