Getting Data In

how do i install a Universal Forwarder in silent installation and configuring in same time inputs.conf ?

Path Finder

Hi,

I want to use silent instillation of splunk forwarder on a windows server.
The splunk server architecture is : 3 indexers and 1 deployment server which is also the head search .
How do i use silent installation to install the forwarder + tell it to work with deployment server (i guess the indexers are not relevant in the installation) + configure inputs.conf so it will index the logs i need on the server with the required sourcetype.

Any idea ?

Thanks Folks.

0 Karma

Path Finder

i have managed to install but my deployment server thinks its an indexer and gives the server the conf files of an indexer instead of forwarder.

any idea ?

0 Karma

Ultra Champion

Have you configured different deployment classes for both indexers and forwarders?

If so you might want to check your regex in the server class whitelisting to make sure its not pushing the wrong applications

0 Karma

Path Finder

Yes this was the problem.

is there any way to edit the inputs.conf in the installation itself and not by publish it through the deployment server ?

0 Karma

Contributor

Hi,

this is how you do the unattended install:

set src=%~dp0

start /wait msiexec /i %src%source\splunkforwarder-6.1.3-220630-x64-release.msi AGREETOLICENSE="yes" /lv* %temp%\splunkforwarder-6.1.3-220630-x64-release.msi.log /qb-

after that set the admin password and deployment server:

splunk edit user admin -password Splunky -auth admin:changeme
splunk set deploy-poll mydsserver:8089

then deploy an app configuring inputs.conf and outputs.conf

same for the indexer. deploy splunk.msi and use forwarder-mangement to configure inputs.conf, indexes.conf etc.

Regards,

Andreas

Path Finder

Hi,

can you please elaborate more about the command? what is the meaning of each variable and when do i need to fill the details according to my own splunk architecture?

maybe an example with explanation can be great ! 🙂

Thanks

0 Karma