Connect to your Azure app account with the Splunk Add-on for Microsoft Cloud Services¶
Connect between the Splunk Add-on for Microsoft Cloud Services and your Azure App account so that you can ingest your Microsoft Cloud Services data into the Splunk platform. You can configure this connection using Splunk Web on your data collection node, or using the configuration files. To create an Azure App account, you need a Global Administrator to grant you the permissions.
Prerequisites¶
Before you complete these steps, follow the directions in Configure an Active Directory Application in Azure Active Directory for the Splunk Add-on for Microsoft Cloud Services to prepare your Microsoft account for this integration.
Connect to your account using Splunk Web¶
Access Splunk Web on the node of your Splunk platform installation that collects data for this add-on.
- Launch the add-on, then select Configuration.
- Select Azure App Account > Add Azure App Account.
- Enter a friendly Name for the account.
- Enter the Client ID , Key (Client Secret) and Tenant ID using the following Account attributes table.
- Select Add.
Connect to your account using configuration files¶
If you do not have access to Splunk Web on your data collection node, you can configure the connection to your account using the configuration files.
- Create or open $SPLUNK_HOME/etc/apps/Splunk_TA_microsoft-cloudservices/local/mscs_azure_accounts.conf.
- Add the following stanza:
[<account_stanza_name>] client_id = <value> client_secret = <value> tenant_id = <value>
Account attributes¶
Attribute | Corresponding name in Splunk Web | Description |
---|---|---|
account_stanza_name |
Name | Enter a friendly name for your Azure app account. Account name cannot contain any whitespace. |
client_id |
Client ID | Use the Client ID that Azure Active Directory automatically assigned to your integration application |
client_secret |
Key (Client Secret) | Enter the password for Client ID |
tenant_id |
Tenant ID | Enter the Tenant ID when you Create an application in the Splunk add-on for Microsoft Azure |