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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...