Getting Data In

Local props.conf and transforms.conf

balcv
Contributor

When creating the local/props.conf and local/transforms.conf, do I need to copy the entire default/props.conf and default/transforms.conf files into local/ or do I simply start with blank files and add the sections I need?

0 Karma
1 Solution

wwhite12
Path Finder

No you do not, local will always take precedence and will not be overwritten when updating the app. Whereas best practice with default is to leave alone as it will be overwritten if app is ever updated so you don't want to lose your changes by putting them there.
https://docs.splunk.com/Documentation/Splunk/8.0.3/Admin/Wheretofindtheconfigurationfiles#How_Splunk...

View solution in original post

wwhite12
Path Finder

No you do not, local will always take precedence and will not be overwritten when updating the app. Whereas best practice with default is to leave alone as it will be overwritten if app is ever updated so you don't want to lose your changes by putting them there.
https://docs.splunk.com/Documentation/Splunk/8.0.3/Admin/Wheretofindtheconfigurationfiles#How_Splunk...

balcv
Contributor

Thanks for that. Just wanted to make sure before I made too many changes.

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

No you do not, only the settings you want to overwrite or change from the default.

There is a default stanza that all props inherit settings from, you can find that in default.

If you run btool --debug against your sourcetype, you will be able see all the settings that are applied and inherited from the default, along with which files Splunk is reading the configuration from. Good to always check!

0 Karma
Get Updates on the Splunk Community!

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 ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...