Splunk Dev

Where does splunk put things you develop?

cmeo
Contributor

I find myself continually mystified by Splunk's strategy for placing things like event types, saved searches etc. How can this behaviour be controlled, and how can I tell splunk e.g. I do not want my saved search to be saved in etc/users/username/[app]/local but in the app savedsearches.conf itself?

Is there any enhancement in prospect to be able to control where a new is object is placed when you create it? Or at least display the current context so you can find the darn thing easily later?

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Well, in general a new object will always be placed in the user directory (private) until it is promoted to be App or Global shared. It would be worthwhile ER to ask for some mode or role or setting to allow some users (with appropriate permissions) to automatically have objects made App-shared.

As for which app, well, it just happens which one you came from, and it is subtle, but when you create an object in the GUI, it does present a drop-down at the top to change the app, though the default is the one you were last in. I do realize this is fail behavior, but I'm not entirely sure what would work better.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...