Splunk Dev

What happens when I set the permissions to "Global"?

sondradotcom
Path Finder

Team,

I'm trying to better understand the under-the-hood part of splunk. I thought that when you set the permissions to global of, say, a field extraction that the system actually moved those lines from the "etc/apps/search/local/props.conf" file to the "etc/default/local/props.conf" file. Am I wrong about that? As it stands, I have some field extractions that are set to "global" but that still live in "etc/apps/search/local/props.conf"

Thanks!
-S.

Tags (1)

jbsplunk
Splunk Employee
Splunk Employee

Setting permissions to global isn't going to move those field extractions into the default directory. The default directory is the initial, 'default' Splunk configuration. Additional configuration can be made available globally, but they will still exist within the conf file where they were created, in your case /etc/apps/search/local/props.conf. It is not recommended to edit the files in /default, as they would be overwritten on upgrade and any customizations would not be retained.

0 Karma

hazekamp
Builder

sondra,

Setting permissions to global makes a change to your app's (in this case search's) local.meta in SPLUNK_HOME/etc/apps/<app>/metadata/local.meta. It is the .meta files that control what is "global", not the location of the resources. Location of resources instead affects the precedence by which configuration files are read.

proctorgeorge
Path Finder

Remember to accept hazedav's answer as correct!

0 Karma

sondradotcom
Path Finder

Ah, perfect! Thanks!
-S.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...