# Converting Timeticks value to Duration value

**URL:** <https://discuss.elastic.co/t/converting-timeticks-value-to-duration-value/351903>\
**Category:** Kibana\
**Tags:** data-views, visualisation\
**Created:** [January 26, 2024, 10:55pm UTC](https://discuss.elastic.co/t/converting-timeticks-value-to-duration-value/351903 "2024-01-26T22:55:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)\
**Post date:** [January 26, 2024, 10:55pm UTC](https://discuss.elastic.co/t/converting-timeticks-value-to-duration-value/351903/1 "2024-01-26T22:55:06Z")

</div>

Hello,

I am polling snmp using Elastic's SNMP input. I am retrieving two values

sysUptimeInstance : 2,029,071,549  
ifLastChange: 2,026,800,920

These are time tick values or centiseconds (1/100th of a second).

I want to visualize these fields as duration or if possible a timestamp.  
Any ideas how to do this with Lens/Visualizations?

Thanks,  
Erik

---

<div class="post-metadata">

**Author:** ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)\
**Post date:** [January 26, 2024, 11:34pm UTC](https://discuss.elastic.co/t/converting-timeticks-value-to-duration-value/351903/2 "2024-01-26T23:34:13Z")

</div>

I figured it out:  
Just divide by 100 then change the value format to Duration  
You can then choose Duration : Seconds to Friendly Proximate

It should work!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 23, 2024, 11:34pm UTC](https://discuss.elastic.co/t/converting-timeticks-value-to-duration-value/351903/3 "2024-02-23T23:34:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
