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!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...