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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...