# Index Patterns - data types (range)

**URL:** <https://discuss.elastic.co/t/index-patterns-data-types-range/167291>\
**Category:** Kibana\
**Created:** [February 6, 2019, 1:30pm UTC](https://discuss.elastic.co/t/index-patterns-data-types-range/167291 "2019-02-06T13:30:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![diogopontual](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@diogopontual](https://discuss.elastic.co/u/diogopontual)\
**Post date:** [February 6, 2019, 1:30pm UTC](https://discuss.elastic.co/t/index-patterns-data-types-range/167291/1 "2019-02-06T13:30:37Z")

</div>

Hello,

I am writing a control to search over date\_range fields ([https://github.com/elastic/kibana/issues/26341#issuecomment-456816140](https://github.com/elastic/kibana/issues/26341#issuecomment-456816140)) and I saw that kibana doesn't recognize this data type. Is there any workaround?

Thank you

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [February 8, 2019, 6:05pm UTC](https://discuss.elastic.co/t/index-patterns-data-types-range/167291/2 "2019-02-08T18:05:38Z")

</div>

Hi Diogo, Kibana allows users to restrict searches by date via the time-picker in the top right corner. We're updating this to be more featureful and easier to use in [https://github.com/elastic/kibana/pull/29204](https://github.com/elastic/kibana/pull/29204). Will this address your use case?

---

<div class="post-metadata">

**Author:** ![diogopontual](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@diogopontual](https://discuss.elastic.co/u/diogopontual)\
**Post date:** [February 11, 2019, 11:57am UTC](https://discuss.elastic.co/t/index-patterns-data-types-range/167291/3 "2019-02-11T11:57:07Z")

</div>

Hello @cjcenizal, thank you!!!

Actually I need to search over multiple date\_range fields. I am working to solve this issue, but apparently the data\_type is not known by kibana... The issue is: [https://github.com/elastic/kibana/issues/26341](https://github.com/elastic/kibana/issues/26341).

Since I am learning a bit on kibana's internalsm I think that I will create some controls to handle date fields.

The validity field, on the image, is a date\_range.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/1/6181b91d1a637374b7b4b8dc5236b94f6e3fa1d0.png)

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [February 11, 2019, 6:30pm UTC](https://discuss.elastic.co/t/index-patterns-data-types-range/167291/4 "2019-02-11T18:30:42Z")

</div>

Thanks Diogo, you did the right thing by participating in that issue! You're engaging the right people there and that will be the right place for this discussion moving forward.

---

<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 11, 2019, 6:30pm UTC](https://discuss.elastic.co/t/index-patterns-data-types-range/167291/5 "2019-03-11T18:30:50Z")

</div>

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