Splunk Search

Ingest processor rex problem

Keith_NZ
Explorer

Hi,

I am new to Ingest Processor and have had some success but am having an issue with the rex command so I have created a very simple example copied from the manual here https://docs.splunk.com/Documentation/SCS/current/SearchReference/RexCommandExamples#2._Regular_expr...

But I am getting this error:

Keith_NZ_1-1741132027512.png

Any ideas why?

Thanks

 

 

 

Labels (1)
0 Karma
1 Solution

sainag_splunk
Splunk Employee
Splunk Employee

 

  1. Traditional SPL: (?<name>pattern)
  2. SPL2 (Edge/Ingest Processor): (?P<name>pattern)

 

View solution in original post

sainag_splunk
Splunk Employee
Splunk Employee

 

  1. Traditional SPL: (?<name>pattern)
  2. SPL2 (Edge/Ingest Processor): (?P<name>pattern)

 

Keith_NZ
Explorer

Thanks Sainag,

Just confusing doco then as this page: https://docs.splunk.com/Documentation/SCS/current/SearchReference/rexcommandexample

which is all about SPL2 

in section 2 has examples without the P after the ? 

but section 3 has the P

all good, thanks

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...