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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...