Hi!
I have filebeat, logstash and json log format in application.
It looks like this:
{"timestamp":1459152943492,"date":"Mar 28, 2016 10:15:43 AM","hostname":"hostname","username":"tomcat","level":"INFO","thread":"SimpleAsyncTaskExecutor-3","classname":"com.ju.source.download.service.DownloadServiceImpl","filename":"DownloadServiceImpl.java","linenumber":159,"methodname":"downloadSources","message":"full message here"}
How can i ship it to Elastic more quickly and maybe community have best practise for this?)
Not its working like this:
if [type] == "json" {
json {
source => "message"
}
}
It works pretty good, but some problems goes on too:
- I will not use any filters
- Timestamp not matched to real field and matched as additional
- Thats all
Maybe anyone have experience with json?