Beats: Support multiline in syslog input

Created on 13 Jul 2018  路  4Comments  路  Source: elastic/beats

multiline is currently not supported in syslog input, there was a question about that in discuss.

We probably need to keep in mind for this input that lines can include the hostname and the username as preffix (for example if the log is sent using the logger command).

Filebeat Integrations Backlog enhancement good first issue

Most helpful comment

@jsoriano Yes, we need to add support for that. @kvch is doing a lot of refactoring around our readers in Filebeat to make them reusable and allowing us to support this use case.

All 4 comments

@jsoriano Yes, we need to add support for that. @kvch is doing a lot of refactoring around our readers in Filebeat to make them reusable and allowing us to support this use case.

Hey, all. Just a thought, but maybe you could log a message that says you're ignoring all multiline options in the config for type: syslog? Would have saved me a day and a half of debugging before I found this...

I am sorry you had to debug this for a day. The list of currently supported config options can be found here: https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-syslog.html

Unfortunately, our configuration validation is not able to detect such problems yet. We are adding a configuration schema to avoid such issues soon.

I am trying to work around this issue by using a dissect filter to remove leading fields like timestamp, host e.t.c.

I use the log input type as all logs are available via SMB.

Where i am stuck is at applying multiline after dissect has taken place.

Maybe create a distinct multiline processor? It could solve my issue by allowing me to control the order of execution.
This way there can be more fine grained control and many possibilities to solve this type of issues.

Was this page helpful?
0 / 5 - 0 ratings