Alerting
Highlighted

Where can I store alert action temp files within the app structure?

Explorer

I am writing a custom webhook alert action and want to include a retry function which will last more than a few retrys.

To do this, I want to store the file that I am sending within the alert action app structure, however after reviewing the Splunk App Structure website, I am none the wiser.

Should it go here:

myApp
    appserver
        static
            file.csv

Or should I create my own directory for temp files under the bin directory:

myApp
    bin
        temp
            file.csv
Labels (1)
0 Karma
Highlighted

Re: Where can I store alert action temp files within the app structure?

SplunkTrust
SplunkTrust

Hi,

I'll suggest below directory structure for tmp file.

myApp
    tmp
    bin
0 Karma
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.