Hi,
My telegraf input is getting the up time from Unbound in seconds. I would like to transform it into days, hours, minutes and seconds.
Is there a function that can do that ?
Thanks
Hi,
My telegraf input is getting the up time from Unbound in seconds. I would like to transform it into days, hours, minutes and seconds.
Is there a function that can do that ?
Thanks
Should be fairly close to what you want.
time( now() - yourQueryHereThatReturnsUptimeInSeconds * 1000000000 )
When I use time function it gives me no data. I looked and the use seems correct.
Is the uptime query returning a string instead of a number (data type mismatch ) ?