puppet-splunk icon indicating copy to clipboard operation
puppet-splunk copied to clipboard

How we configure splunk authentication while setting up splunk forwarder for user, password and role

Open Balajiswz opened this issue 6 years ago • 1 comments

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet:
  • Ruby:
  • Distribution:
  • Module version:

How to reproduce (e.g Puppet code you use)

splunk_authentication

What are you seeing

Am not seeing any documentation or default type to set this (or I couldn't find it)

What behaviour did you expect instead

Documentation on setting up the splunk_authentication with user and role which I can do it manually with,

"splunk cmd splunkd rest --noauth POST /services/authentication/users "name=admin&password=xxxxxxx&roles=admin"

Output log

Any additional information you'd like to impart

Balajiswz avatar Jul 31 '19 21:07 Balajiswz

Agreed - it would be nice to be able to do something like this:

class { '::splunk::forwarder': package_ensure => 'latest', seed_password => true, admin_user => 'admin4splunk', password_hash => '$hashashashihashB.', }

MattWeatherford avatar May 06 '20 21:05 MattWeatherford