Getting Data In

Error in getting REST API Data into Splunk

Naren26
Path Finder

I have configured the Data Input REST API settings as per the following link. While trying with the REST URL in browser I am getting the JSON response. But, when I tried to test it in Splunk, I am getting the following error in splunkd

-0500 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\rest_ta\bin\rest.py"" Exception performing request: HTTPSConnectionPool(host='api.nytimes.com', port=443): Max retries exceeded with url: /svc/search/v2/articlesearch.json?api-key=7d61953a50c1446e9e95aa634f35fa9c&sort=newest&q=snow (Caused by <class 'socket.error'>: [Errno 10054] An existing connection was forcibly closed by the remote host)

I am getting the same error for any REST API. I have used REST API Modular Input app, Splunk Add-on Builder App to test this REST API Input, but with no luck.

0 Karma
Get Updates on the Splunk Community!

3 Ways to Make OpenTelemetry Even Better

My role as an Observability Specialist at Splunk provides me with the opportunity to work with customers of ...

What's New in Splunk Cloud Platform 9.2.2406?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2406 with many ...

Enterprise Security Content Update (ESCU) | New Releases

In August, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...