# Timelion & Unix Timestamp

**URL:** https://discuss.elastic.co/t/timelion-unix-timestamp/177293
**Category:** Kibana
**Tags:** timelion
**Created:** [April 17, 2019, 12:47pm UTC](https://discuss.elastic.co/t/timelion-unix-timestamp/177293 "2019-04-17T12:47:06Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Andy\_Barber](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Andy\_Barber](https://discuss.elastic.co/u/Andy_Barber)
#### Post date: [April 17, 2019, 12:47pm UTC](https://discuss.elastic.co/t/timelion-unix-timestamp/177293/1 "2019-04-17T12:47:07Z")

</div>

Hi All, Firstly I am new to ELK and Kibana in general so I don't know what I don't know. I have some data where I have a unix timestamp that I would like to sue as the timefield in a timelion visual should timelion be able to sue this as the time field?

thanks in advance

Andy

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [April 17, 2019, 1:48pm UTC](https://discuss.elastic.co/t/timelion-unix-timestamp/177293/2 "2019-04-17T13:48:29Z")

</div>

Hi Andy

About using epoch time in Timelion kibana - if it is mapped as a date field it will work - regardless of  
the input form - be it milliseconds epochs or an ISO formatted string.

Cheers,  
Rashmi

---

<div class="post-metadata">

### Author: ![Andy\_Barber](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Andy\_Barber](https://discuss.elastic.co/u/Andy_Barber)
#### Post date: [April 17, 2019, 2:13pm UTC](https://discuss.elastic.co/t/timelion-unix-timestamp/177293/3 "2019-04-17T14:13:05Z")

</div>

cheers my mapping is set to below, so from your description it should all be fine for timelion

"LastChangedAt": {  
"type": "date",  
"format": "epoch\_millis"  
}

cheers Andy

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [April 17, 2019, 2:15pm UTC](https://discuss.elastic.co/t/timelion-unix-timestamp/177293/4 "2019-04-17T14:15:21Z")

</div>

Yes, in this case you should be able to use it for Timelion. Are you not able to use it ? Can you please provide more details- like steps , logs, screenshots etc...

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![Andy\_Barber](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Andy\_Barber](https://discuss.elastic.co/u/Andy_Barber)
#### Post date: [April 26, 2019, 8:26am UTC](https://discuss.elastic.co/t/timelion-unix-timestamp/177293/5 "2019-04-26T08:26:31Z")

</div>

thanks for the help and info, I was experiencing some issues but I think it was case sensitive AND in my query 🙂 all work now as expected. thanks again Andy

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [May 21, 2019, 10:44pm UTC](https://discuss.elastic.co/t/timelion-unix-timestamp/177293/6 "2019-05-21T22:44:10Z")

</div>

Glad it worked..  
Cheers  
Rashmi

---

<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: [June 18, 2019, 10:54pm UTC](https://discuss.elastic.co/t/timelion-unix-timestamp/177293/7 "2019-06-18T22:54:35Z")

</div>

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