repeatedly / fluent-plugin-multi-format-parser

Multi format parser for Fluentd
108 stars 16 forks source link

how to use multiparser using multiformat plugin #17

Open akshayubale1 opened 3 years ago

akshayubale1 commented 3 years ago

Can you please tell me how to use parse the tomcat logs(debus,error which is a multiline) and access logs from the stdout.. It will be helpfull if you share the logic

hetii commented 1 year ago

@akshayubale1 From the logic that we can see inside this project I assume this multiparser has no his own logic. What it does it just make an instances of existing parsers and try get result from it, if no success then it try the next one. It means by that you probably need to find a working parser for your logs eg tomcat and then if that success use it as a one of the pattern, then you repeat the steps for another type of the logs eg errors or other stdouts formats.