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!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...