Splunk Search

Problem with fields extractions using configuration files

SalimRahmani
Explorer

Hello,

I'm creating an add-on that sets a data source and fields extractions.
First, I modify inputs.conf to set the UDP port. Then, using props.conf and tranforms.conf, I perform the field extractions. When I check on the web platform, (Manage -> Fields -> select the app) I can clearly see the list of fields. However, running the search none of the fields has been extracted.

Please note that I've restarted the splunk instance to apply changes, double checked the name of the config files. Plus, everything was working perfectly yesterday.

Please is there anyone who can help,

0 Karma
1 Solution

SalimRahmani
Explorer

Sorry buddy, I found the problem. It was a referencing problem between props.conf and transforms.conf ! Yeah sometimes I'm dumb haha! though I appreciate your help!

View solution in original post

SalimRahmani
Explorer

Sorry buddy, I found the problem. It was a referencing problem between props.conf and transforms.conf ! Yeah sometimes I'm dumb haha! though I appreciate your help!

somesoni2
Revered Legend

You can see the field extraction logic( defined in props.conf and/or transforms.conf) from the Splunk Web, right? Just take the regex's and test them if they still work (in case the data got changed and due to which they might not be working).

0 Karma

SalimRahmani
Explorer

actually can you tell me which log file to look in ?!

0 Karma

somesoni2
Revered Legend

Has anything changes in the logs events since yesterday? Validate if the field extractions are still valid (try with search manually). Since it was working till yesterday, I am assuming sharing permissions are still good.

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...