-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mikrotik: Add parser for multiline DHCP events #2627
Comments
Hello @ehlo550 , To develop a more generalized parser, could you provide additional log samples for further analysis? This would allow us to look for the patterns across various event types. You can create a support ticket and attach the PCAP file there. |
Hi, Regards |
Yes that will work. You can also post the support ticket number here, this will help in better tracking. |
Ok. I will add the pcap to the case but I fear this mikrotik device only emits dhcp logs. |
We checked the pcap and observed multiple multiline logs, but we could not find enough information that can be used to combine the logs. Here is a brief about how we group multine logs into one. We usually use grouping-by() parser method, which allows multiple logs to be combined into a single log before forwarding them to Splunk. This method works by defining a specific triggering condition to decide when the logs should be grouped. Common trigger conditions include:
When the trigger condition is met, all logs, including the one that satisfies the condition, are grouped and sent to Splunk as a single entry. But here in case of the Mikrotik multiline logs, we've noticed there is no consistent pattern marking the end of each log entry. This lack of a clear trigger point makes it challenging to identify log boundaries and to develop an effective parser based on these criteria. Additionally, only the first log in each group contains the program value, whereas we aim to locate this value in all the logs of each group to assign the program to the grouped logs accurately (this is not necessary until we have something to identify that the log is supposed to be grouped). Without these details it is difficult to make reliable parser. I am closing this ticket for now, please feel free to reopen if you have some insights that could help us write this parser. |
What is the sc4s version?
3.32.0
Is there a pcap available? If so, would you prefer to attach it to this issue or send it to Splunk support?
Splunk support
What the vendor name?
Mikrotik
What's the product name?
routeros
Do you have syslog documentation or a manual for that device??
https://help.mikrotik.com/docs/spaces/ROS/pages/328094/Log
Feature Request description:
This routers are able to emit dhcp logs.
Unfortunately these logs are Multiline logs with indentation
Do you want to have it for local usage or prepare a github PR?
I would take either
The text was updated successfully, but these errors were encountered: