Replies: 8 comments 7 replies
-
Hi Carlos, You have two ways to parse the logs.
After parsing you can create a rule base on defined parameter or else for syslog you can define rule like logx.syslog.message "include" than keyword which you want to check in syslog. But the better way is to parse the syslogs properly using logtash and than create the rules Please refer the below link for logtash parser. Regards, |
Beta Was this translation helpful? Give feedback.
-
Hi @agauttam, Yes, I know that using grok patterns, but how can I apply it inside UTMStack ? Let me deails what I already tried https://grokconstructor.appspot.com/do/match#result The log data The pattern And this work Using UTMStack I create a new Pattern Pipeline in Sysylog Generic With the same content that I previous tested Regards |
Beta Was this translation helpful? Give feedback.
-
Hi Carlos, First install the Logtash, write the complete logtash parser where you can test bulk logs. Your parser is not parsing entire syslogs thats why you are getting grokparsefailure. you can try to copy the entire parser from reference link which i shared in my last response Regards, |
Beta Was this translation helpful? Give feedback.
-
Try with the below file may be it will fulfill your requirement Make sure remove input and output section. |
Beta Was this translation helpful? Give feedback.
-
@agauttam Regards |
Beta Was this translation helpful? Give feedback.
-
Sure, even this, this does not work as expected I have created new filter file. And remove the config in UTMStack Im getting error |
Beta Was this translation helpful? Give feedback.
-
Hi @agauttam, Yes, replacing the default syslog filter by other, it works But, just to know to correct mode to create new "filters" inside UTMStack!? Regards Carlos |
Beta Was this translation helpful? Give feedback.
-
Hi @agauttam, Have you any tip about crete a new "filter" without replace the default Syslog ? Regards |
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like how to create filters/rules to generic Syslog events. I did not found documentation about it.
Currently I have this kind of Syslog
And I would like to split it into fields. How to I can do it in UTMstack ?
Regards
Carlos
Beta Was this translation helpful? Give feedback.
All reactions