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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...