Getting Data In

transforms on mult-line events

a212830
Champion

Hi,

Does transforms recognize multi-line events? If I have a multi-line event, and I want to filter out based upon some text in it, is that possible? Or does it look at each line individually?

Tags (2)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Sure, working with multilines is no biggie. Remember to use (?s) and (?m) flags appropriately to influence the matching behavior of ., ^, and $ according to your needs.

Any specific examples?

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...