# Timelion date format

**URL:** <https://discuss.elastic.co/t/timelion-date-format/93530>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [July 18, 2017, 8:58am UTC](https://discuss.elastic.co/t/timelion-date-format/93530 "2017-07-18T08:58:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlosvega](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlosvega/32/28433_2.png) [@carlosvega](https://discuss.elastic.co/u/carlosvega)\
**Post date:** [July 18, 2017, 8:58am UTC](https://discuss.elastic.co/t/timelion-date-format/93530/1 "2017-07-18T08:58:26Z")

</div>

When using "auto", Timelion shows only the hour and not the date for long spans of times such as **now-10d to now** is there any way to fix this?

Greetings

 ![](https://us1.discourse-cdn.com/elastic/original/3X/c/6/c63d85dcdf10e1c973ac978847bfadc73163dd12.png)

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [July 19, 2017, 7:00pm UTC](https://discuss.elastic.co/t/timelion-date-format/93530/2 "2017-07-19T19:00:00Z")

</div>

I wasn't able to reproduce that issue. I didn't see any issues for it in the Github repo either.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/e/9/e92cae7f08578e1b963bf7067cd9c51ac3cc8a4b.png)

- Which version of Kibana is this?
- Is the screenshot from a Dashboard, in the Timelion chart builder or in a Timelion sheet?
- Can you share your expression?

---

<div class="post-metadata">

**Author:** ![carlosvega](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlosvega/32/28433_2.png) [@carlosvega](https://discuss.elastic.co/u/carlosvega)\
**Post date:** [July 20, 2017, 9:30am UTC](https://discuss.elastic.co/t/timelion-date-format/93530/3 "2017-07-20T09:30:30Z")

</div>

With which time spans have you tried?  
If you use now-7d and small time spans, it happens.

> Which version of Kibana is this?

4.6.4

> Is the screenshot from a Dashboard, in the Timelion chart builder or in a Timelion sheet?

The screenshot is from a kibana **dashboard** but it does happen as well in the **timelion** builder and the **kibana timelion** builder (it is saved to support kibana queries)

> Can you share your expression?

Here it is

```
.es(index="traffic*bps", metric="avg:bps_in", split="interfaz_id:10").divide(1000000).label('Incoming traffic, interface $1', '.*:(.*)>.*').points(1, 2, show=true).lines(2, show=true).yaxis(label='Mbps').legend('nw', 3), 

.es(index="traffic*bps", metric="max:bps_in", split="interfaz_id:10").divide(1000000).label('Max. incoming traffic, interface $1', '.*:(.*)>.*').points(1, 2, show=true).lines(2, show=true).yaxis(label='Mbps').hide(), 

.es(index="traffic*bps", metric="avg:max_interface").divide(1000000).label('Max.').points(1).color('red').hide()

```

Thanks !

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [July 22, 2017, 1:42am UTC](https://discuss.elastic.co/t/timelion-date-format/93530/4 "2017-07-22T01:42:19Z")

</div>

I'm using Kibana 5.5.0 and I've tried last 10 years and last 5 years. I've tried various selections of the bucket interval sizes, and even tried a few different data sets I have. I used some splits and label regexes and Y-Axis labels. I couldn't get this to happen in the Timeline builder, trying with fullscreen as well, or embedded in a dashboard.

Unfortunately it doesn't look like there are any specific changes in the Kibana Github repo that would have addressed this issue, but there is the possibility that there was an unrelated change or dependency upgrade that would have fixed this.

Would you be be to test in a newer version of Kibana?

---

<div class="post-metadata">

**Author:** ![carlosvega](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlosvega/32/28433_2.png) [@carlosvega](https://discuss.elastic.co/u/carlosvega)\
**Post date:** [July 22, 2017, 6:23pm UTC](https://discuss.elastic.co/t/timelion-date-format/93530/5 "2017-07-22T18:23:39Z")

</div>

> [@tsullivan](#):
>
> I've tried last 10 years and last 5 years.

It happens with small spans, like now-10d to now or 1 week. With bigger spans it shows the dates

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [July 24, 2017, 5:33pm UTC](https://discuss.elastic.co/t/timelion-date-format/93530/6 "2017-07-24T17:33:39Z")

</div>

> [@carlosvega](#):
>
> It happens with small spans, like now-10d to now or 1 week. With bigger spans it shows the dates

Oops, my mistake!

I tried with some historical data, and used absolute times in the time picker. I actually do see this now, and I'm still using Kibana 5.5.0.

I could get it to happen when I'm looking at a time window of 2-5 days, but at 6 days and higher, I don't see it.

It looks like a valid bug, and I didn't see any record of it in the Kibana Github, so I filed a bug report for it: [[Timelion] X-Axis shows times but not dates in the X-Axis for certain time picker ranges · Issue #13065 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/13065)

---

<div class="post-metadata">

**Author:** ![carlosvega](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlosvega/32/28433_2.png) [@carlosvega](https://discuss.elastic.co/u/carlosvega)\
**Post date:** [July 27, 2017, 10:52am UTC](https://discuss.elastic.co/t/timelion-date-format/93530/7 "2017-07-27T10:52:44Z")

</div>

Thanks for opening the issue 🙂  
It would be great being able to change the date format with an .xaxis option.

---

<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:** [August 24, 2017, 10:53am UTC](https://discuss.elastic.co/t/timelion-date-format/93530/8 "2017-08-24T10:53:01Z")

</div>

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