# Extract hour from timestamp in Timelion

**URL:** <https://discuss.elastic.co/t/extract-hour-from-timestamp-in-timelion/99120>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [September 1, 2017, 11:44am UTC](https://discuss.elastic.co/t/extract-hour-from-timestamp-in-timelion/99120 "2017-09-01T11:44:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Juma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexandre_juma/32/21704_2.png) [@Alexandre\_Juma](https://discuss.elastic.co/u/Alexandre_Juma)\
**Post date:** [September 1, 2017, 11:44am UTC](https://discuss.elastic.co/t/extract-hour-from-timestamp-in-timelion/99120/1 "2017-09-01T11:44:56Z")

</div>

Hi all,

Kibana scripted fields aren't working with Timelion and unfortunately I can't change the logstash for this index to create a native "hour" field.

Does anyone know any other way to filter a range of hours in Timelion? I.e: All documents between 08AM and 11PM (08h to 23h)?

Does timelion support any sort of groovy/painless script input?

Also, if anyone knows any source of complete/detailed timelion documentation, please do share.

Many thanks  
Alex

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [September 1, 2017, 7:03pm UTC](https://discuss.elastic.co/t/extract-hour-from-timestamp-in-timelion/99120/2 "2017-09-01T19:03:12Z")

</div>

Unfortunately this isn't supported, but you can add your feedback here: [https://github.com/elastic/kibana/issues/9022](https://github.com/elastic/kibana/issues/9022)

---

<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:** [September 29, 2017, 7:03pm UTC](https://discuss.elastic.co/t/extract-hour-from-timestamp-in-timelion/99120/3 "2017-09-29T19:03:14Z")

</div>

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