Splunk Search

Why are fields not being extracted using props.conf on my universal forwarder?

rajnish1202
Explorer

Hi,

I have been using a props.conf file to extract fields in my event logs, but it does not seem to be working. Below are the sample props.conf and event. Any help is much appreciated.

C:\Program Files\SplunkUniversalForwarder\etc\apps\my_app\local\props.conf

[Script:WinService]
EXTRACT-service = SERVICE_NAME: (?<service_name>\S*)
EXTRACT-state = STATE\s*?: [0-9]\s*(?<state>\S*) 

and the event is shown in attached image.

Many thanks in advance.

Regards,
Rajnish Kumar

0 Karma
1 Solution

masonmorales
Influencer

You need to place the props.conf containing field extractions on your search head. A Universal Forwarder will ignore EXTRACT configurations in props.conf.

View solution in original post

0 Karma

masonmorales
Influencer

You need to place the props.conf containing field extractions on your search head. A Universal Forwarder will ignore EXTRACT configurations in props.conf.

0 Karma

rajnish1202
Explorer

Thanks Mason for your response. My app resides on my forwarder as shown in my question. In this case which directory I should put my props.conf file in on my search head?

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...