[syslog-ng] Does Syslog-NG Support Multiline Messages
balazs.scheidler at balabit.com
Sun Mar 26 18:02:30 UTC 2017
Theres also grouping-by() for your usecase for aggregating multiple
messages into a single one.
On Mar 26, 2017 19:55, "Jim Hendrick" <james.r.hendrick at gmail.com> wrote:
> It does if the source does (check the documentation for file() or syslog()
> I also had a log source that sent related events in separate messages that
> were interleaved with other messages and ended up using the program()
> destination to send the logs to a custom handler I wrote.
> Essentially I had multiple "keys" for incoming email messages that tied
> events together like:
> - a single incoming SMTP session (potentially with multiple messages)
> - a single message ID with multiple events about the message (recipients,
> attachments, anti-malware, etc)
> - a single delivery connection (again with multiple messages)
> - a single delivery message ID again with multiple events
> The program parsed these in realtime incoming stream, building internal
> data structures (hash of hashes) and when it looked *complete* (including a
> timeout) for a particular thing it would send the data across as JSON to
> the destination (Elasticsearch in this case)
> So - long answer to your question - Yes - in a few different ways :-)
> On Sun, Mar 26, 2017 at 10:02 AM, Traiano Welcome <traiano at gmail.com>
>> Does syslog-ng support multiline log messages?
>> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
>> Documentation: http://www.balabit.com/support/documentation/?product=
>> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the syslog-ng