All Apps and Add-ons

How to do bulk add of storage accounts and inputs

ksoori
New Member

We have more than 300 storage accounts in Azure and are looking to collect metrics into splunk using this add on.

There is no way to do bulk update. Eitehr i have to manually do it thru UI or update the config files manually. Is there an automated way to do this or i have to come up with a custom way?

0 Karma

aglerj
Engager

Try setting up one account via the GUI, then goto the config file(s) to copy/paste then edit the others you need to add?

https://docs.splunk.com/Documentation/AddOns/released/MSCloudServices/Configureazureappaccount

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
client_id Client ID Use the Client ID that Azure AD 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 Microsoft Azure AD

0 Karma

ksoori
New Member

I am not trying to add Azure App Accounts. i am trying to add Azure Storage Accounts.

I was able to do it manually by updating the .conf files.

I was just trying to see if there is a better automated way

0 Karma
Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...