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?

gurtajkhatraexp
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 google.com 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!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...