Alerting

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

boz_8058
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

harsmarvania57
Ultra Champion

Hi,

I'll suggest below directory structure for tmp file.

myApp
    tmp
    bin
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...