cdillc / cdillc.splunk / 0.24.2 / filter / reltime_to_sec convert a relative time expression into a number of seconds | "added in version" 0.16 of cdillc.splunk" Authors: unknowncdillc.splunk.reltime_to_sec (0.24.2) — filter
Install with ansible-galaxy collection install cdillc.splunk:==0.24.2
collections: - name: cdillc.splunk version: 0.24.2
Convert a human friendly time span as an number of seconds (integer)
_input: description: - Relative time expression - 'Supported suffixes include: C(y) years, C(mon) months, C(w) weeks, C(d) days, C(h) hours, C(m) minutes, and (s) seconds.' required: true type: str
_value: description: Number of seconds represented by the given relative-time expression type: int