Splunk Search

regular expression

bellaed
Path Finder

Help me with a regular expression to include all the log details after a certain field,including newline tab etc something(?P.*) is not working, it is excepting new line..
Thanks
Bella

0 Karma
1 Solution

Ayn
Legend

You need to need the s regex modifier.

(?s)(?<restoflogevent>.*)

http://www.regular-expressions.info/modifiers.html

View solution in original post

Ayn
Legend

You need to need the s regex modifier.

(?s)(?<restoflogevent>.*)

http://www.regular-expressions.info/modifiers.html

bellaed
Path Finder

With Build regex expression test it is working fine, but
...|table restoflogevent
gives the same result.

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...