# Timelion display just 12h and 00h?

**URL:** <https://discuss.elastic.co/t/timelion-display-just-12h-and-00h/127506>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [April 10, 2018, 2:42pm UTC](https://discuss.elastic.co/t/timelion-display-just-12h-and-00h/127506 "2018-04-10T14:42:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![data\_scientist](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@data\_scientist](https://discuss.elastic.co/u/data_scientist)\
**Post date:** [April 10, 2018, 2:42pm UTC](https://discuss.elastic.co/t/timelion-display-just-12h-and-00h/127506/1 "2018-04-10T14:42:41Z")

</div>

please can you help me how can i display the points just of 12h and 00h?  
I made this request but it will not work:  
// .es (q = 'Date: yyyy-MM-12 AND yyyy-MM-00', index = data1, timefield = Date, metric = max: W\_BLG)  
thank you ![Fig1](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef8535b38a3979dee4460c3d24233c15b197c01c.png)

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 11, 2018, 6:54pm UTC](https://discuss.elastic.co/t/timelion-display-just-12h-and-00h/127506/2 "2018-04-11T18:54:02Z")

</div>

@data_scientist are you trying to only see the data point for those specific dates at 12h and 00h? Using a timelion query to the following, substituting the "ticks" of the specific dates that you're looking for should work: `.es(q="@timestamp:[1521936000000 TO 1521939600000] OR @timestamp:[1521979200000 TO 1521982800000]")`

---

<div class="post-metadata">

**Author:** ![data\_scientist](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@data\_scientist](https://discuss.elastic.co/u/data_scientist)\
**Post date:** [April 12, 2018, 8:51am UTC](https://discuss.elastic.co/t/timelion-display-just-12h-and-00h/127506/3 "2018-04-12T08:51:11Z")

</div>

thank you for your answer, but the answer is just for one day. so, I want to display the values of every day of 12h and 00h ?

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [April 12, 2018, 12:42pm UTC](https://discuss.elastic.co/t/timelion-display-just-12h-and-00h/127506/4 "2018-04-12T12:42:03Z")

</div>

@data_scientist to perform this type of filtering using Timelion, you'll have to extract the "hour of the day" into a separate field that is indexed with your data, so you can use this new "hour of the day" field as your filter.

If you could potentially use the other Visualization types in Kibana, which support [scripted fields](https://www.elastic.co/guide/en/kibana/current/scripted-fields.html), you can skip having to extract this field during ingest and use the scripted fields functionality to extract this field dynamically from your data

---

<div class="post-metadata">

**Author:** ![data\_scientist](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@data\_scientist](https://discuss.elastic.co/u/data_scientist)\
**Post date:** [April 12, 2018, 2:53pm UTC](https://discuss.elastic.co/t/timelion-display-just-12h-and-00h/127506/5 "2018-04-12T14:53:32Z")

</div>

Thank you Brandon\_Kobe

---

<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:** [May 10, 2018, 2:53pm UTC](https://discuss.elastic.co/t/timelion-display-just-12h-and-00h/127506/6 "2018-05-10T14:53:38Z")

</div>

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