Warning

This app is archived. App archiving documentation

SA-croniter app icon

SA-croniter

Custom command to parse cron notation into epoch timestamps. Takes the search earliest time of the search as time from whence the next occurrence of the cron will be.

Built by
splunk product badge
screenshot

Latest Version 0.4.1
July 27, 2020
Compatibility
Splunk Enterprise
Platform Version: 9.4, 9.3, 9.2, 9.1, 9.0, 8.2, 8.1, 8.0, 7.3, 7.2, 7.1, 7.0
Rating

0

(0)

Log in to rate this app
Support
SA-croniter support icon
Not Supported
Custom command to parse cron notation into epoch timestamps. Takes the search earliest time of the search as time from whence the next occurrence of the cron will be. Parameters are input=fieldname and timerange=numberInSeconds default to just providing next_epoch Example: index=_internal [ | makeresults | eval cronstring="*/5 * * * *" | croniter input=cronstring timerange="1" | eval nice_next_epoch=strftime(next_epoch,"%Y-%m-%d %H:%M:%S") | fields earliest,latest | format ] Will search events one second before the cron task runs till one second after

Categories

Utilities

Created By

Dominique Vocat

Type

addon

Downloads

824

Resources

Log in to report this app listing