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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...