Dashboards & Visualizations

Set a default index for all INPUTS within a specific app only

eden881
Path Finder

I have an app with a long list of inputs. I want to set them to go to a specific index (let's say index = my_index).
I can achieve this by placing index = my_index under the [default] stanza in the app.

However, will this affect other apps on the forwarder with their inputs set to default?
I deploy this app with a Deployment Server to several UFs.

0 Karma
1 Solution

eden881
Path Finder

Eventually I tried it out myself, and found out that the [default] stanza only affects the inputs in it's specific app.

View solution in original post

0 Karma

eden881
Path Finder

Eventually I tried it out myself, and found out that the [default] stanza only affects the inputs in it's specific app.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Settings in .conf files are not app-specific, they are stanza-specific. Values in the [default] stanza apply to all inputs in all apps unless overwritten by the [default] stanza in another app that is processed first. btool can tell you what settings will apply.

---
If this reply helps you, Karma would be appreciated.

eden881
Path Finder

I think this is incorrect, as I tried it and found out that [default] only affects the inputs in the specific app...

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