All Apps and Add-ons

REST API Modular Input : Polling interval is not consistant

Lucas_K
Motivator

I checked an issue with a rest api data input and found that the scheduling of the poll is inconsistent.

With the polling interval set to 300 there is a 5 second difference each and every time the job is run.

This causes an issue for calls that utilize point in time updates or require more accurate polling. 

I can mitigate this issue for the most part by looking at the internal logs for the time the inputs are trigger and offset the schedule by that time it is still out by around 1 second however so we still miss events.

 

Labels (1)
Tags (1)
0 Karma

yoho
Contributor

This has no relationship with the REST API Modular Input, it's due to the Splunk scheduler. Indeed, it's not meant to be precise but reliable.

If you need precision, it's up to the server to implement a way for you to ask the status at a specific time. Otherwise, you will always be subject to traffic congestion, server or client resource exchaustion, downtimes, etc... Another way around is by using HEC: it's up to your server to push data to splunk.

0 Karma
Get Updates on the Splunk Community!

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...