Deployment Architecture

DeploymentClient : haven't configured correct index yet still working; do I need to delete old configs?

krussell101
Path Finder

I have something working and I'm not sure why it's working.

All of my forwarders are now set up as deployment clients. And all seems to be working correctly. Except I just found an error in my server class "production_servers" so it was not getting deployed. And that's where I set an index=prod. I can't find any other server classes where the index is set to prod. Yet all the appropriate events are still being put in the prod index.

Is this configuration coming from the old $SPLUNK_HOME/etc/system/local/inputs.conf file on the production forwarders? I did not remove those files from any of my deployment clients. I saw nothing explicit in the documentation to tell me to do something.

Is that file taking precedence over what the deployment server is sending? All guidance appreciated.

Thanks!

Tags (1)
0 Karma

jsb22
Path Finder

If you're deploying your configuration via a deployment server, I believe the config files you are editing on a deployment server should be pushed to etc/apps/deploymentapp, not under etc/system/local. I know in my environment, I don't have anything more than the "[default] host=hostname" in etc/system/local/inputs.conf file, and specify the other items (index=indexname) n the etc/apps/deploymentapp/local/inputs.conf. I would assume(and maybe i shouldn't) that your deployment app should be deployed to etc/apps/production_servers/local/inputs.conf. If your etc/system/local/inputs.conf specifies "index=prod", then I believe it will default all data to that unless otherwize specified in the deployment app in etc/apps/production_server/local/inputs.conf

0 Karma

krussell101
Path Finder

To summarize, you DO think I will have to remove etc/apps/deploymentapp/local/inputs.conf on the clients? I guess that makes sense. I wish it had been explicitly called out in the documentation.

This probably goes to configuration file precedence which I am certainly not an expert on.

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