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