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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...