Single Line Logs (SAP)
Hi! Please help,
Is it possible to collect single line logs from file, without newline characters (SAP for example) with NxLog?
In Splunk Heavy Forwarder this function work with Line Breaker(Regex)
LINE_BREAKER = ([23])[A-Z][A-Z][A-Z0-9]\d{14}00
Hi! Please help,
Is it possible to collect single line logs from file, without newline characters (SAP for example) with NxLog?
In Splunk Heavy Forwarder this function work with Line Breaker(Regex)
LINE_BREAKER = ([23])[A-Z][A-Z][A-Z0-9]\d{14}00
Hi Aleksandr,
You can use regular expressions to replace the new line characters.
Exec $raw_event =~ s/\R/ / ;