# Timelion : Where can I configure the date field

**URL:** <https://discuss.elastic.co/t/timelion-where-can-i-configure-the-date-field/75899>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [February 21, 2017, 3:04pm UTC](https://discuss.elastic.co/t/timelion-where-can-i-configure-the-date-field/75899 "2017-02-21T15:04:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergio\_PR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergio_pr/32/42585_2.png) [@Sergio\_PR](https://discuss.elastic.co/u/Sergio_PR)\
**Post date:** [February 21, 2017, 3:04pm UTC](https://discuss.elastic.co/t/timelion-where-can-i-configure-the-date-field/75899/1 "2017-02-21T15:04:04Z")

</div>

Hi,

I need your help about Timelion.  
The line drawn by the Timelion values ​​is always 0.  
Data are stored in "velib\_map" index. This index has a datetime field named "last\_update".  
How can I specifie that timefield for Timelion is "last\_update" and not "@timestamp" ?

![](https://us1.discourse-cdn.com/elastic/original/2X/5/54f56ae8c8a78a76d2fc1adae4032c4317316815.png)

Do I need to configure a file? (Eg timelion.json). If so, where is the configuration file?

Thank you in advance

Regards,  
Sergio PEIXOTO

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [February 21, 2017, 3:31pm UTC](https://discuss.elastic.co/t/timelion-where-can-i-configure-the-date-field/75899/2 "2017-02-21T15:31:21Z")

</div>

hi @Sergio_PR,

is this because there are no documents in that time-range from Feb 16 to Feb 20?

In that screenshot, I can't see the value in the time-picker, but on the top-right of Kibana, there is a time-picker that allows you to pick the time interval. Use it to select a time-range that matches your data.

---

<div class="post-metadata">

**Author:** ![Sergio\_PR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergio_pr/32/42585_2.png) [@Sergio\_PR](https://discuss.elastic.co/u/Sergio_PR)\
**Post date:** [February 21, 2017, 3:49pm UTC](https://discuss.elastic.co/t/timelion-where-can-i-configure-the-date-field/75899/3 "2017-02-21T15:49:04Z")

</div>

Thanks Thomasneirynck for the reply.

The time-range is configured for the last 30 days. I have some data in this range.  
I have tested with anoher index who is containing data in this scope. But the result is the same.  
The graphic stays over the 0 line.

---

<div class="post-metadata">

**Author:** ![Sergio\_PR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergio_pr/32/42585_2.png) [@Sergio\_PR](https://discuss.elastic.co/u/Sergio_PR)\
**Post date:** [February 21, 2017, 4:16pm UTC](https://discuss.elastic.co/t/timelion-where-can-i-configure-the-date-field/75899/4 "2017-02-21T16:16:19Z")

</div>

I found the problem !  
Timelion expected a @timestamp field for time dimension. But documents stored on "velib\_map" index contains a datetime field called "last\_update".

So, I need to define the time field in Timelion instruction.  
The command is :  
.es(index="velib\_map", timefield="last\_update")

Now I can see the result :

 ![](https://us1.discourse-cdn.com/elastic/original/2X/6/6fc64ece3825aad89d0fcb605e5956735c84bb23.png)

---

<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:** [March 21, 2017, 4:16pm UTC](https://discuss.elastic.co/t/timelion-where-can-i-configure-the-date-field/75899/5 "2017-03-21T16:16:40Z")

</div>

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