All Apps and Add-ons

Is there any documentation that can help with the actual format that should be followed for the fields defined in the HTTP Alert Action App?

mapercivaldangl
New Member

Not sure I am following the correct format for the fields defined in the app. I have added the HTTP Alert Action to my alert and entered the required values but I am unable to confirm if the field format is correct?

Tags (1)
0 Karma

brendanmacooper
Explorer

I personally use the excellent RequestBin.com site to test all my config.

  • Endpoint = https://xxxxxxxxxxx.x.pipedream.net/
  • Query string params (optional) - Query string is commonly denoted keyvalues after a question mark. IE www.example.splunkcloud.com/en-GB/account/login?loginType=splunk. In this example loginType=splunk is a querystring.
  • Custom headers (optional) = These allow you to add custom headers. This is most commonly used for basic authentication.
  • Payload = If your search returns the fields Test & Source then you could specify source={source};test={test}. To send JSON in this version of the app. You must construct the JSON string in your SPL search IE |eval json="{source:'".source."',test:'".test."'}" and then reference that field IE Payload = {json} I admit this is clunky and would be hard to maintain for long JSON values; I'd suggest a purpose-built app if your JSON is complex or nested.
  • HTTP Method =POST
  • Ingest response to index = If you wish you ingest the response, specific the index here
  • Ingest Safety Max Size = This is the safety net to stop ingesting values greater than expected. If you don't want to ingest the response, set the value to 0

Should be able to identify errors with the following search. "index=_internal sourcetype=splunkd component=sendmodalert action="send_custom_rest_request"

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...