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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...