We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(This issue was originally filed by @fajabird at elastic/logstash#2812)
RFC3164 states the following:
But logstash's syslog-input expects the TAG-Field to be terminated by a ":" which will not match some syslog-conform messages.
I manually modified the file "logstash/patterns/linux-syslog" to become the TAG optional:
OLD: SYSLOGBASE2 (?:%{SYSLOGTIMESTAMP:timestamp}|%{TIMESTAMP_ISO8601:timestamp8601}) (?:%{SYSLOGFACILITY} )?%{SYSLOGHOST:logsource} %{SYSLOGPROG}:
NEW: SYSLOGBASE2 (?:%{SYSLOGTIMESTAMP:timestamp}|%{TIMESTAMP_ISO8601:timestamp8601}) (?:%{SYSLOGFACILITY} )?%{SYSLOGHOST:logsource}( %{SYSLOGPROG}:)?
Could this become available in the upstream?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(This issue was originally filed by @fajabird at elastic/logstash#2812)
RFC3164 states the following:
hostname or IP address of the device"
field."
assumed to be the starting character of the CONTENT field."
But logstash's syslog-input expects the TAG-Field to be terminated by a ":" which will not match some syslog-conform messages.
I manually modified the file "logstash/patterns/linux-syslog" to become the TAG optional:
OLD:
SYSLOGBASE2 (?:%{SYSLOGTIMESTAMP:timestamp}|%{TIMESTAMP_ISO8601:timestamp8601}) (?:%{SYSLOGFACILITY} )?%{SYSLOGHOST:logsource} %{SYSLOGPROG}:
NEW:
SYSLOGBASE2 (?:%{SYSLOGTIMESTAMP:timestamp}|%{TIMESTAMP_ISO8601:timestamp8601}) (?:%{SYSLOGFACILITY} )?%{SYSLOGHOST:logsource}( %{SYSLOGPROG}:)?
Could this become available in the upstream?
The text was updated successfully, but these errors were encountered: