Splunk Search

What syntax or format of regex does Splunk support?

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

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

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

Splunk Employee
Splunk Employee

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

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!