How to parse Netgear Switch Syslog messages? #4157
Replies: 4 comments 3 replies
-
The following configuration is better to keep
|
Beta Was this translation helpful? Give feedback.
-
Another solution like this:
|
Beta Was this translation helpful? Give feedback.
-
Hmm, while there are workarounds, this raises the question of whether The rfc3164 syslog format consists of The focus is on whether we should allow space between
The current https://www.rfc-editor.org/rfc/rfc3164#section-4.1.2 says:
"will" is used, not "must". (If there is no other possibility, "must" should be used.) |
Beta Was this translation helpful? Give feedback.
-
I think the best solution for this issue is using
|
Beta Was this translation helpful? Give feedback.
-
Hi There,
I'm having some issues parsing syslog messages from Netgear Network switches and would appreciate any guidance on the correct parser setup.
The syslog messages are formatted as such:
So far I've tried using the Syslog parser and the Regex parser to no avail. Here is what I've tried and the error messages I'm seeing:
Syslog Parser
This resulted in the following error:
I also tried adding a space at the start of the time format because the source syslog message seems to deviate from RFC-3164 Log
specification in that respect. This looked like
time_format " %b %d %H:%M:%S"
and resulted in my messages being totally ignored.Regex Parser
Note the added space between the match group and the match group (added because Netgear includes those spaces.
This resulted in the following error message:
Any thoughts on how I could parse this message?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions