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!

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