Install the Add-on
Install the Splunk Technology Add-on for VMware vCenter
You downloaded the Splunk Technology Add-on for VMware vCenter (TA-VC) from Splunkbase and are now ready to install it.
- Unzip the file,
"Splunk_TA_vcenter-1.0.1-130116.zip"
, into the apps directory under %SPLUNK_HOME%\etc\apps. The following is an example of how it can look: - A new sub-directory, "Splunk_TA_vcenter", now contains the TA-VC files.
- Using the windows command shell (or file explorer), create a "local" directory in the expanded
Splunk_TA_vcenter
app - Copy the
inputs.conf
fromSplunk_TA_vcenter\default\
to the newSplunk_TA_vcenter\local\
directory, for example, copy - In the
Splunk_TA_vcenter\local\
directory, edit theinputs.conf
file and setdisabled=false
. Save and close the file. - Restart Splunk. For more information about starting, stopping, or restarting Splunk, see Start and stop Splunk in the Splunk Admin Manual. For example, you can go to
%SPLUNK_HOME%\bin
and run this command: - You can also restart Splunk using Windows services: Start>Administrative Tools> Services> Splunkd restart.
- Open Splunk Web on the indexer and use the following search command to verify that the time zone is set correctly:
index=vmware sourcetype=vmware:vclog* | head 10 | rename _raw AS raw | table _time, raw
- The raw field shows the local time of the vCenter server. Make sure to verify that the
_time
fields show corresponding local time of the indexer.
C:\Program Files\SplunkUniversalForwarder\etc\apps or C:\Program Files\Splunk\etc\apps
%SPLUNK_HOME%\etc\apps\Splunk_TA_vcenter
%SPLUNK_HOME%\etc\apps\Splunk_TA_vcenter\local
%SPLUNK_HOME%\etc\apps\Splunk_TA_vcenter\default\inputs.conf
to
%SPLUNK_HOME%\etc\apps\Splunk_TA_vcenter\local\inputs.conf
> splunk restart
Now you have data from your vCenter machines being forwarded to the Splunk indexer/search head. This data is mapped to the Splunk for VMware app that contains sample views.
Did you install successfully?
Look at the VMware Data Health views in the App to see if the correct data is being collected.. After you set up the Splunk Technology Add-on for VMware vCenter, you must allow some time (a few minutes) for the data to be collected and the views in the App to be populated.
To check your data:
- Launch Splunk Web in a browser. Use the default login (admin/changeme) if you have not already changed it.
- Click VMware on the Home page or choose Apps > VMware from the Home screen Apps menu.
- Click Solution Administration > Time Data Health Overview from the main navigation menu.
- In the Timekeeping Events panel, check that the vCenter is listed with the host identified by the VC instance name and it should have an acceptable time difference. If it is not, the TA-VC may not be configured correctly, or the clock on your vCenter Server may be set incorrectly. The time on the vCenter server must be set correctly for the solution to work.
- You must restart the forwarder after resetting the time on your vCenter machine. Wait for the data to load, then look at the Time health view to verify that you are seeing an acceptable time.
- Check that you are collecting vCenter logs.
- In the Splunk App for VMware on the Solution Administration menu, look at the vCenter Server Log Data Health view. Check that your vCenter machine is listed with at least one log source. It may take some time for all of the views to populate. Wait for all of the sources or the two graphs at the end of the page will not yet be populated. vCenter logs are generally very large and take some time to transfer to Splunk.
About the Add-on | Install the FA VM |
This documentation applies to the following versions of Splunk® App for VMware (Legacy): 1.0, 1.0.1
Feedback submitted, thanks!