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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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