Can someone please let me know, if below config is correct. The content of logs in JSON but extension is .log.
- type: log
paths:- /opt/Application.log
json.keys_under_root: true
json.add_error_key: true
- /opt/Application.log
Below is the example of log's content
{"@timestamp":"2020-09-17T16:54:47.752+05:30","@version":"1","message":"Dwr classpath scanning detected candidate DTO [com.prospecta.mdo2.hib.hibMODEL.mdoSourcing.RfxHeaderModel] processed by converter type [bean]","logger_name":"org.directwebremoting.spring.DwrClassPathBeanDefinitionScanner","thread_name":"ServerService Thread Pool -- 93","level":"INFO","level_value":20000}
{"@timestamp":"2020-09-17T16:54:47.758+05:30","@version":"1","message":"Dwr classpath scanning detected candidate DTO [com.prospecta.mdo2.hib.hibMODEL.mdoSourcing.RfxInvitiesModel$QuoteAnalysisStatus] processed by converter type [bean]","logger_name":"org.directwebremoting.spring.DwrClassPathBeanDefinitionScanner","thread_name":"ServerService Thread Pool -- 93","level":"INFO","level_value":20000}
{"@timestamp":"2020-09-17T16:54:47.761+05:30","@version":"1","message":"Dwr classpath scanning detected candidate DTO [com.prospecta.mdo2.hib.hibMODEL.mdoSourcing.RfxInvitiesModel$RfxInvitiesStatus] processed by converter type [bean]","logger_name":"org.directwebremoting.spring.DwrClassPathBeanDefinitionScanner","thread_name":"ServerService Thread Pool -- 93","level":"INFO","level_value":20000}