-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Filebeat] Syslog parse error with Cisco Switch logs #10654
Comments
This document states that the non-compliant part of the message is a sequence number. It also suggests how to disable the sequence number, but for my version of IOS or hardware this had no effect.
|
I added support for the sequence number but I am running into another issue concerning the host format still need some work on my side. |
* Adding Cisco support for the Syslog parser Add support for the "sequence" number in the log format send by Cisco switch devices. Fixes: #10654
@ph would you consider making the colon after the sequence number optional? Newer/non-Catalyst Cisco switches do not include the colon and you cannot currently disable sequence numbers. With:
Without:
Would be great appreciated! |
@emes Yes, can you create an issue for that? sorry for the delay. |
Adding Cisco support for the Syslog parser * Adding Cisco support for the Syslog parser Add support for the "sequence" number in the log format send by Cisco switch devices. Fixes: elastic#10654, elastic#15979 (cherry picked from commit dd92b6f)
Adding Cisco support for the Syslog parser * Adding Cisco support for the Syslog parser Add support for the "sequence" number in the log format send by Cisco switch devices. Fixes: #10654, #15979 (cherry picked from commit dd92b6f) Co-authored-by: Pier-Hugues Pellerin <[email protected]>
I am trying to ingest syslog data from a Cisco 3750 switch and I get an error from Filebeat.
Filebeat error:
{"level":"error","timestamp":"2019-02-08T18:55:32.305Z","logger":"syslog","caller":"syslog/input.go:131","message":"can't parse event as syslog rfc3164","message":"<190>589265: Feb 8 18:55:31.306: %SEC-6-IPACCESSLOGP: list 177 denied udp 10.100.7.196(53640) -> 10.100.7.255(15600), 1 packet"}
PCAP of Syslog Traffic:
Version:
Filebeat Config:
Cisco 3750 Config:
logging host 10.100.5.130 transport udp port 9002
The text was updated successfully, but these errors were encountered: