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!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...