All Apps and Add-ons

REST Modular Input terminates unexpectedly

yitzarad
Path Finder

Hi!

The REST API Modular Input App is really good!

However, I suffer from a situation where the application suddenly stops working. Well, The app itself does work, but the process which have to poll my REST API stops, and the only way to get it to continue polling, is to restart Splunk..

It happens when the site it have to poll is temporary down. I hold about 40 such input tasks, so this situation is likely to happen often.

When diving into the code, it seems that the "while True" catches very specific exceptions. In my case, requests.exceptions.ConnectionError is thrown from the first step (requests.get), so the whole loop is broken out.

Maybe, there should be a more robust mode (configurable), so no exception will break the loop?

0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

Thanks for the feedback.

I just uploaded a new release incorporating your feedback , version1.0.5beta.

It should be available on Splunkbase in the next 30 mins.

View solution in original post

0 Karma

Damien_Dallimor
Ultra Champion

Thanks for the feedback.

I just uploaded a new release incorporating your feedback , version1.0.5beta.

It should be available on Splunkbase in the next 30 mins.

0 Karma

sivapuvvada
Path Finder

Hi Damien ,

I have installed this app on SH and i am not seeing any REST input under datainputs , Could you please help me on this ,

0 Karma

yitzarad
Path Finder

what a quick response! i'll test it in a day or two. thanks!

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...