Getting Data In

INFO sendmodalert - action=call_api_script - Alert action script completed in duration=57 ms with exit code=0

Athildjax64
New Member

I am trying to run an API call based on a detection. After a few tries, the script is running, but it is ending with an exit code of 0 and I am not seeing the API call hit the web server.
I am concerned that the information from the stdin is not getting to the script and that is why it is failing. It runs normally from the CLI.

Tags (2)
0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...