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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...