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 validateinput 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 validateinput 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