Splunk Search

Which of these field extractions defined in props.conf will Splunk consider for this field?

pavanae
Builder

I'd extracted 2 fields in props.conf as below:

[abc_xml_v1]
EXTRACT-abc_rac_cd_instance = ^/(cs|app)/abc/.*/adump/(?[^o][^_]+) in source
EXTRACT-abc_single_cd_instance = ^/(cs|app)/abc/(?[^/]+)/.*/adump/o in source

Which means I'd extracted two fields in a source with the same field name "cd_instance". In such cases, which extraction will Splunk consider for the field "cd_instance" ?

Any idea?

0 Karma
1 Solution

TStrauch
Communicator

Hi,

Splunk always processes the props.conf sequential. Which means if you define the same field in two or more Extractions it will always be the value of the last called EXTRACT in props.conf.

Just give me a feedback if this is what you wanted to know. Im not quite sure about.

View solution in original post

0 Karma

TStrauch
Communicator

Hi,

Splunk always processes the props.conf sequential. Which means if you define the same field in two or more Extractions it will always be the value of the last called EXTRACT in props.conf.

Just give me a feedback if this is what you wanted to know. Im not quite sure about.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...