All Apps and Add-ons

Is it possible to use an AD service account instead of local account?

bmileitch
Engager

Part of the install guide requires us to create a local account on each ESX host named splunkadmin, through the logincreator.pl script.

Instead of using a local account, is it possible to set the account name to an AD service account name we specify?

This would be a tremendous help to reduce deployment costs.

0 Karma

tfletcher_splun
Splunk Employee
Splunk Employee

Yes you can use AD accounts. The first thing you need to do is ensure that your hosts are joined to the domain already. Assuming that is done you can still use the logincreator.pl tool to create the roles necessary for the active directory user.

To permission an existing active directory user on a single host:

./logincreator.pl --target esxhost1.splunk.com --ad esxhostadmin --adpwd esxhostadminpwd123 --newuser MYDOMAIN\MYDOMAINUSER --newpwd DomainUserPassword

To permission an existing active directory user on all hosts for a particular vCenter:

./logincreator.pl --target vcenter.splunk.com --ad vcadmin --adpwd vcadminpassword --newuser MYDOMAIN\MYDOMAINUSER --newpwd DomainUserPassword --allhosts

That should get your active directory users permissioned correctly. Then you just specify them in your engine.conf or credential.conf just like any other user, though you must include the domain.

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...