All Apps and Add-ons

REST Incrementing Start & End

richardphung
Communicator

This may be trivial...

I have a REST API URL:

...api.thiswebsite.com/client/v4/xxxxxxxxxxxxxxx/logs?start=(date-time-format)&end=(date-time-format)

The date-time-format they are requesting is RFC-3339 format:
e.g.
2020-01-29T17:00:21Z

The json that is returned looks like this:

{"ClientIP":"XXX.XXX.XXX","EndTimestamp":"2020-01-29T17:18:47Z","ResponseBytes":11627,"ResponseStatus":200,"StartTimestamp":"2020-01-29T17:18:47Z""}

Ideally, the start and end times would increment...
But I am unsure how to do this with the Add-On builder.

https://docs.splunk.com/Documentation/AddonBuilder/3.0.1/UserGuide/ConfigureDataCollection
https://docs.splunk.com/Documentation/AddonBuilder/3.0.1/UserGuide/ConfigureDataCollection#Use_check...

  • Checkpoint parameter name
  • Checkpoint field path
  • Checkpoint initial value

Please advise.

0 Karma
Get Updates on the Splunk Community!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...