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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...