# Time-Field Name Not Clearing After Delete and Recreate of Index

**URL:** <https://discuss.elastic.co/t/time-field-name-not-clearing-after-delete-and-recreate-of-index/25060>\
**Category:** Kibana\
**Created:** [July 7, 2015, 3:32pm UTC](https://discuss.elastic.co/t/time-field-name-not-clearing-after-delete-and-recreate-of-index/25060 "2015-07-07T15:32:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshheil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshheil/32/3609_2.png) [@joshheil](https://discuss.elastic.co/u/joshheil)\
**Post date:** [July 7, 2015, 3:32pm UTC](https://discuss.elastic.co/t/time-field-name-not-clearing-after-delete-and-recreate-of-index/25060/1 "2015-07-07T15:32:27Z")

</div>

I'm fairly new to ELK and I'm working with a custom index in ES. I set the index in Kibana and selected the time-based field for one of the properties on the document, which returns 0 results. I have two questions here.

The first question is if this custom datetime field is formatted as so, 2015-07-06T17:02:34.2664295-04:00 then do I need to change the formatting fields in the settings of Kibana? Right now I am getting 0 results back on a \* query, when I know there's data in ES.

The second question I have is when I delete and recreate the index in Kibana attempting to create it without the time-based field, the same field is still set as the time based field. This seems like a bug but it could be my lack of knowledge with Kibana. If that's the case, then I can enter a bug, but I wanted to get some input from the community before creating either a known bug or something that is not a bug at all.

Any help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 8, 2015, 5:52am UTC](https://discuss.elastic.co/t/time-field-name-not-clearing-after-delete-and-recreate-of-index/25060/2 "2015-07-08T05:52:14Z")

</div>

> [@joshheil](#):
>
> The first question is if this custom datetime field is formatted as so, 2015-07-06T17:02:34.2664295-04:00 then do I need to change the formatting fields in the settings of Kibana? Right now I am getting 0 results back on a \* query, when I know there's data in ES.

If Kibana allows you to configure a field as a time-based field, then it recognizes it. Are you searching for \* across a large enough time interval? The default is "Last 15 minutes".

> [@joshheil](#):
>
> The second question I have is when I delete and recreate the index in Kibana attempting to create it without the time-based field, the same field is still set as the time based field.

I'm experiencing the same problem. I was able to work around it by manually deleting the index in ES (it's stored in .kibana/index-pattern/your\_index\_name), but I'd file this as an issue in [Issues · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues)

---

<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:** [July 6, 2017, 2:16pm UTC](https://discuss.elastic.co/t/time-field-name-not-clearing-after-delete-and-recreate-of-index/25060/3 "2017-07-06T14:16:55Z")

</div>


