Getting Data In

Deployment script troubleshooting

mansel_scheffel
Explorer

Hi,

I am trying to use this script: https://answers.splunk.com/answers/34896/simple-installation-script-for-universal-forwarder.html

Everything installs splunk fine via hosts file, however it will not make the deployment.conf file or set the deployment server option. Any thoughts on why this could happen?

Thanks!

0 Karma

echalex
Builder

Hi,

I believe you're looking for the wrong file. The file name should be deploymentclient.conf.

Try searching for that and see if it's correctly set up:

$ find /opt/splunkforwarder/etc -name deploymentclient.conf
/opt/splunkforwarder/etc/system/local/deploymentclient.conf

HTH

0 Karma

mansel_scheffel
Explorer

Sorry, I left that the rest of the name out in my question.. That is the file that isnt being copied though.. I have checked everywhere.. perhaps its a permissions problem ? - should I sudo the initial bash command?

0 Karma

sowings
Splunk Employee
Splunk Employee

Are we doing your architect exam homework for you?

0 Karma

Masa
Splunk Employee
Splunk Employee

lol
sowings, please give me solution so that I can get certified 🙂

0 Karma

echalex
Builder

It could be a permission issue. What is the owner of the splunkforwarder directory? Can you post an example line from your hosts line to ensure it contains the user name of the account you're trying to use?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...