Getting Data In

how transforms.conf and props.conf works?

DataOrg
Builder

what is the difference between props.conf and transforms.conf and how its works

0 Karma
1 Solution

deepashri_123
Motivator

Hey premranjithj !

The props.conf lives on the indexer,heavy forwarder, and/or search head and this applies "rules" while the data is getting parsed. You can specify how it gets timestamped, the format of the timestamp, how the events should break etc..

So basically, the props.conf will apply your configuration settings to your data while being indexed

http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf

An example of a stanza in props.conf will look like this

[log4j]
SHOULD_LINEMERGE=true
BREAK_ONLY_BEFORE = ^\$\$\s[A-Z]{5}\s\$\$
TRUNCATE = 30000
MAX_EVENTS = 100000

You can refer this answers link as well:
https://answers.splunk.com/answers/119/what-is-role-of-transforms-conf-vs-props-conf-for-field-extra...

Transforms is used for configuring regex.
https://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf

Hope this helps!!

View solution in original post

deepashri_123
Motivator

Hey premranjithj !

The props.conf lives on the indexer,heavy forwarder, and/or search head and this applies "rules" while the data is getting parsed. You can specify how it gets timestamped, the format of the timestamp, how the events should break etc..

So basically, the props.conf will apply your configuration settings to your data while being indexed

http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf

An example of a stanza in props.conf will look like this

[log4j]
SHOULD_LINEMERGE=true
BREAK_ONLY_BEFORE = ^\$\$\s[A-Z]{5}\s\$\$
TRUNCATE = 30000
MAX_EVENTS = 100000

You can refer this answers link as well:
https://answers.splunk.com/answers/119/what-is-role-of-transforms-conf-vs-props-conf-for-field-extra...

Transforms is used for configuring regex.
https://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf

Hope this helps!!

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...