Splunk Dev

How to add storage account input having sub-folder path in Azure for Splunk Add-on for Microsoft Cloud Services

jaihingorani
Path Finder

Hi i have installed  Splunk Add-on for Microsoft Cloud Services in my heavy forwarder instance, and the app has been working as expected, with 7-8 inputs configured (storage account inputs). Now i am trying to add a new storage account where the container resides in a sub-folder.

My existing inputs folder pattern in Azure(which works fine) :

Storage account -> containers -> <my_container_name>

inputs.conf as below

[mscs_storage_blob://myfirstblob]
account = my_account_name
blob_mode = append
collection_interval = 300
container_name = <my_container_name>
index = index1
sourcetype = mscs:storage:blob:myfirstblob
python.version = python2

I Need help with configure this patter path :

Storage account -> containers -> <my_folder> -> <my_container_name>

i have tried multiple patterns like below but does not seems to be working

inputs.conf

[mscs_storage_blob://myfirstblob]
account = my_account_name
blob_mode = append
collection_interval = 300
container_name = containers/<my_folder>/<my_container_name> (OR this as well /<my_folder>/<my_container_name>)
index = index1
sourcetype = mscs:storage:blob:myfirstblob
python.version = python2

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...