Hi Nitesh,
If you don't fill in a Message Pattern as part of the configuration, the HTTP Receiver protocol will accept the entire POST request Body as an event payload, including any newline characters, so the event will be preserved in a multiline form. If you provide a Message pattern, the body will be split up on any newline, carriage return, or null characters and each line will be checked against the Message pattern to see if it is a valid line.
So unless you need to selectively include only certain lines, just leave the Message Pattern blank and your full multiline payload should be preserved.
Cheers
Colin
------------------------------
COLIN HAY
IBM Security
------------------------------
Original Message:
Sent: Wed June 02, 2021 07:38 AM
From: Nitesh Sinha
Subject: Unable to save the "Override event delimiter" configuration in DSM
Any inputs @Colin?!
How do we handle the multiline JSON events I send over HTTP and received by HTTP Receiver?
------------------------------
Nitesh Sinha
Original Message:
Sent: Mon May 31, 2021 12:25 PM
From: Nitesh Sinha
Subject: Unable to save the "Override event delimiter" configuration in DSM
Thanks Colin for the response!
How do we handle the multiline JSON events I send over HTTP and received by HTTP Receiver?
------------------------------
Nitesh Sinha
Original Message:
Sent: Mon May 31, 2021 10:35 AM
From: COLIN HAY
Subject: Unable to save the "Override event delimiter" configuration in DSM
Hi Nitesh,
This setting does not persist, it's just for your current session in the DSM Editor. Note that it does not affect how QRadar collects or parses real events as they are obtained, it just affects how the DSM Editor perceives events in the Workspace, and determines how those sample events are used in the Log Activity Preview, to ensure multiline events are treated as a single event instead of broken up into multiple events, one per line.
To change how QRadar actually processes multiline events in realtime, you'd need to use one of the protocol types with support for multiline data, like TCP Multiline Syslog, UDP Multiline Syslog, TLS Syslog or Log File.
Cheers
Colin
------------------------------
COLIN HAY
IBM Security
Original Message:
Sent: Fri May 28, 2021 08:26 AM
From: Nitesh Sinha
Subject: Unable to save the "Override event delimiter" configuration in DSM
In QRadar 741, even though I provided the "Override event delimiter" configuration in DSM Editor and Saved it, I do not see the "Override event delimiter" configuration saved. When I open the DSM again, I find that the "Override event delimiter" configuration value has disappeared. Please help.<o:p></o:p>
------------------------------
Nitesh Sinha
------------------------------