Configure Azure Virtual Network inputs for the Splunk Add on for Microsoft Azure - splunk/splunk-add-on-microsoft-azure GitHub Wiki

Warning

This functionality has moved to the Splunk Add-on for Microsoft Cloud Services.

Before you enable inputs, complete the previous steps in the configuration process:

Configure your inputs on the Splunk platform instance responsible for collecting data for this add-on, usually a heavy forwarder. You can configure inputs using Splunk Web, which is a best practice, or by using the configuration files.

Configure inputs using Splunk Web

Configure your inputs using Splunk Web on the Splunk platform instance responsible for collecting data for this add-on, usually a heavy forwarder.

  1. In the Splunk Add-on for Microsoft Azure, click Inputs.
  2. Click Create New Input and then select Azure Virtual Network.
  3. Enter the Name, Interval, Index, Azure App Account, Tenant ID, Environment, and other parameters using the information in the input parameter table below.

Configure inputs using configuration files

Configure your inputs using the configuration files on the Splunk platform instance responsible for collecting data for this add-on, usually a heavy forwarder.

  1. Create or modify a file named inputs.conf under $SPLUNK_HOME/etc/apps/TA-MS-AAD/local.
  2. Add the following stanza:
[azure_virtual_network://<input_stanza_name>]
azure_app_account = <value>
collect_network_interface_data = <value>
collect_public_ip_address_data = <value>
collect_security_group_data = <value>
collect_virtual_network_data = <value>
environment = <value>
index = <value>
interval = <value>
network_interface_sourcetype = <value>
public_ip_sourcetype = <value>
security_group_sourcetype = <value>
subscription_id = <value>
tenant_id = <value>
virtual_network_sourcetype = <value>
  1. Save and restart the Splunk platform.

Verify that the value listed for azure_app_account matches the account entry in ta_ms_aad_account.conf.

Input Parameters

Each attribute in the following table corresponds to a field in Splunk Web.

Attribute Corresponding field in Splunk Web Description
[azure_virtual_network://input_stanza_name] Name A friendly name for your input.
azure_app_account Azure Account The Azure App account from which you want to gather data.
collect_virtual_network_data Collect Virtual Network Data Toggle for collecting virtual network data.
virtual_network_sourcetype Virtual Network Sourcetype The sourcetype to use for virtual network data.
collect_network_interface_data Collect Network Interface Data Toggle for collecting network interface data.
network_interface_sourcetype Network Interface Sourcetype The sourcetype to use for network interface data.
collect_public_ip_address_data Collect Public IP Address Data Toggle for collecting public IP address data.
public_ip_sourcetype Public IP Sourcetype The sourcetype to use for public IP address data.
collect_security_group_data Collect Security Group Data Toggle for collecting network security group data.
security_group_sourcetype Security Group Sourcetype The sourcetype to use for network security group data.
environment Environment The Azure environment. Valid options are public and gov.
tenant_id Tenant ID The Azure Active Directory Tenant ID (a.k.a. Directory ID).
subscription_id Subscription ID The Azure Subscription ID.
interval Interval The number of seconds to wait before the Splunk platform runs the command again.
index Index The index in which to store Azure data.
⚠️ **GitHub.com Fallback** ⚠️