Monitoring Splunk

Splunk modular input: calls to splunk API never get a response ONLY when triggered from the UI,Splunk modular input API calls to splunkd are timing out ONLY after being triggered from UI?

New Member

Hi, I've been working on a splunk add on and inside the validate_input section, I make an API call to splunkd to get an unencrypted version of the input to validate it. However all my api calls from the add on script to the splunk API (ie calling localhost:8089/servicesNS/nobody/my-addon/my-addon) to get this data never receive a response and eventually timeout BUT ONLY when the validate_input section is called from the UI (for example after an input data change). If I hit the endpoint in postman with the same headers/paramters it goes through fine. External calls to websites like work fine, and return responses when triggered from the UI.

Does anyone have any idea as to why call originating from the UI would always cause these timeouts ONLY when calling splunkd? Any tips on how I could go about debugging this issue?

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Maximize the Value from Microsoft Defender with Splunk

<P style=" text-align: center; "><span class="lia-inline-image-display-wrapper lia-image-align-center" ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

<FONT size="5"><FONT size="5" color="#FF00FF">Get the latest news and updates from the Splunk Community ...