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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...