Splunk Search

What syntax or format of regex does Splunk support?

Simeon
Splunk Employee
Splunk Employee

I have created regular expressions (regex) to extract fields and want to know what syntax style Splunk supports.

Tags (3)
1 Solution

Simeon
Splunk Employee
Splunk Employee

Splunk uses the Perl Compatible Regular Expression (PCRE) library. Therefore, you should utilize the perl syntax for creating regular expressions (regex).

View solution in original post

Simeon
Splunk Employee
Splunk Employee

Splunk uses the Perl Compatible Regular Expression (PCRE) library. Therefore, you should utilize the perl syntax for creating regular expressions (regex).

gkanapathy
Splunk Employee
Splunk Employee

References on PCRE are here: http://www.pcre.org/

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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