All Apps and Add-ons

Splunk addon builder REST API input Checkpoint return current date & time

ansif
Motivator

The following url needs to be called for Networker Backup tool.

Is ther an option to return currentdate and time in the below format and append it to URL in Splunk addon builder:

2019-01-01T10:15:00

https://networker-server-hostname:9090/nwrestapi/v3/global/backups?q=saveTime:['*2019-01-01T10:00:00...' TO '2019-01-01T10:15:00']

And first timestamp in the URL can be used as checkpoint

2019-01-01T10:00:00

Any idea?

0 Karma