Splunk Search

Field extraction not working (props.conf)

pal_sumit1
Path Finder

I have one props placed in location , opt splunk etc apps appname local props Below is the code

 [db_accounts]
         DATETIME_CONFIG =
        EXTRACT-AUTHID = \s+(?<AUTHID>[A-Za-z]\w+)(,|\n)
        EVAL-sourcetype = if(source like "%rgn%","db_log_summaries",sourcetype)
        EXTRACT-PRIM_ID,CORR_ID,DATE,TIME,TABLE,DBASE,TBLSPACE,UPS,DES,NS = (?<PRIM_ID>\w+)\s+(?<CORR_ID>(\W\w+|\w+))\s+(?<DATE>\d{4}-\d{2}-\d{2})\s+(?<TIME>[^\s]+)\s+(?<TABLE>[^\s]+)\s+(?<DBASE>[^\s]+)\s+(?<TBLSPACE>[^\s]+)\s+(?<UPS>[^\s]+)\s+(?<DES>[^\s]+)\s+(?<NS>[^\s]+)
        EXTRACT-TextFile = ((?=rgn|admini)(?<TextFile>.*)) in source
        LINE_BREAKER = ([\r\n]+)
        NO_BINARY_CHECK = true
        SHOULD_LINEMERGE = false
        TRANSFORMS-null = eliminate_header1
        category = Custom
        disabled = false

Above props is not extracting the fields at all but If I update the same code in opt splunk etc apps search local props the fields are extracting properly. I am not sure what could be reason for this behavior.

Thanks in advance.

0 Karma

oscar84x
Contributor

Is this a distributed deployment? If so, in what instance(s) are you editing this configuration?
You should run btool when your config is in /opt/splunk/etc/apps/appname/local to see if Splunk is picking it up and troubleshoot from there.

>splunk btool props list --debug
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...