Splunk® App for VMware (Legacy)

Installation and Configuration Guide

On August 31, 2022, the Splunk App for VMware will reach its end of life. After this date, Splunk will no longer maintain or develop this product. The functionality in this app is migrating to a content pack in Data Integrations. Learn about the Content Pack for VMware Dashboards and Reports.
This documentation does not apply to the most recent version of Splunk® App for VMware (Legacy). For documentation on the most recent version, go to the latest release.

Credentials.pl

What it does

Obfuscates passwords for your engine.conf files.

Where it is

The credentials.pl file is located in the $SPLUNK_HOME/etc/apps/Splunk_TA_vmware/bin directory.

You must run credentials.pl from $SPLUNK_HOME/etc/apps/Splunk_TA_vmware/local

For example:

../bin/credentials.pl <arguments>

Prerequisites  

1. Create a credentials.conf file in $SPLUNK_HOME/etc/apps/Splunk_TA_vmware/local. You can give this file any name.

2.Run the credentials.pl script using the splunkadmin login.

Credentials.conf reference

Separate multiple hosts using a pipe. For example:

host1.splunk|host2.splunk|host3.splunk|

Note: Ensure there is a trailing |.

For ActiveDirectory accounts, use Domain\UID.

Example credentials.conf

[default] 
host= 
username=guest 
password=guest

[host] 
host=esx1234.mycompany.com|esx1235.mycompany.com|
username=foo 
password=bar

[host2] 
host=1.2.3.4 
username=baz 
password=biz

Arguments

-f

Specifies the file name you want to use. For example, if you names your file credentials.conf, then you would type -f credentials.conf.

-i

Runs credentials.pl in interactive mode. In interactive mode, the script prompts you for user IDs and passwords and then creates a credentials.conf file.

How to run the tool

First, modify engine.template as needed in the $SPLUNK_HOME/etc/apps/local directory.

../bin/credentials.pl -f <your_credentials.conf>

Encrypts passwords written in your_credentials.conf.

../bin/credentials.pl -i

Interactive mode, which prompts you to enter your_credentials.conf. Enter your user ID and password, then press CTRL-D.
Last modified on 14 September, 2012
Enginebuilder.py   Go to Splunkbase

This documentation applies to the following versions of Splunk® App for VMware (Legacy): 1.0, 1.0.1


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters