Configure inputs for the Splunk Add-on for Microsoft Hyper-V
The Splunk Add-on for Microsoft Hyper-V collects data through the Splunk platform's native PowerShell and peformance monitoring, and event log collection capabilities. After you install the add-on to the forwarder installed on your Microsoft Hyper-V server, you need to configure the forwarder to collect data.
The table below lists the inputs you can enable through Microsoft PowerShell, Performance monitor, and Windows event log
|PowerShell v3 inputs|
|Local performance monitoring|
|Event log collection|
If your forwarder has Splunk Web enabled, you can use Splunk Web to configure inputs. If your forwarder does not have Splunk Web, configure your inputs in
Configure inputs through Splunk Web
- Log into Splunk Web on the forwarder installed on your Microsoft Hyper-V server.
- Select Settings > Data inputs > Local inputs.
- Select PowerShell v3 Modular Input and click Enable to enable the type of data you want to collect via Microsoft PowerShell.
- Select Local performance monitoring and click Enable to enable the type of data you want to collect via performance monitor.
- Select Event log collection and click Enable to enable the type of data you want to collect via windows event log.
- (Optional) If you want to increase the collection interval for larger deployments, click the input metric and modify the CRON schedule for the PowerShell input or decrease the frequency of script running for the performance input.
Configure inputs through inputs.conf
- Create a file named
%SPLUNK_HOME%\etc\apps\Splunk_TA_microsoft-hyperv\defaultand copy the stanzas that you want to the local file you just created.
- Change the
disabled=0for each input that you want to enable.
- (Optional) To increase the collection interval for larger deployments, modify the CRON schedule for the PowerShell inputs or increase the interval for the performance monitoring scripts.
- Save the file.
- Restart the forwarder.
Upgrade the Splunk Add-on for Microsoft Hyper-V
Troubleshoot the Splunk Add-on for Microsoft Hyper-V
This documentation applies to the following versions of Splunk® Supported Add-ons: released