Filebeat collects different formats in the same log file

Filebeat collects different formats in the same log file ,
the logs record all in one file ,line by line , but the formath is different ,anyone know how to solve this?

13:04:57.607 [send]{"servicetype":"verify","errorinfo":"Success","url":"verficatecode","email":"1562251984@qq.com"}


11-Apr-2017 14:52:39.803 INFO [http] com.starbucks.web.UserLoginServlet.doGet 14:52:39.792 [login] {"time":"1491893559"}


31-Mar-2017 14:29:55.645 INFO [http-nio-8080-exec-3] com.starbucks.web.WebDataServlet.doGet 14:29:55.644

It's not clear what you are asking. It seems like you are asking how to change the format of your logger output?

There are different formats of logs in the same file,
i want to use different filed

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.