Splunk Search

How do I update the extracted part of the source field in props.conf and transforms.conf?

apurva1707
New Member

For example:

source = D:\Users\ABC\Desktop\splunk\abc.log

I have extracted the part of string I wanted using (?\w+\.\w+). My sourcetype=log4j

What changes need to be made in props.conf and transforms.conf so that it can reflect in Splunk?

0 Karma

alemarzu
Motivator

Hi apurva,

For search-time extractions add this to your props.conf

[log4j]
EXTRACT-my_ext = your_regex    

Hope it helps.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...