# Index pattern test\* is not time based

**URL:** <https://discuss.elastic.co/t/index-pattern-test-is-not-time-based/113751>\
**Category:** Kibana\
**Created:** [January 2, 2018, 10:22am UTC](https://discuss.elastic.co/t/index-pattern-test-is-not-time-based/113751 "2018-01-02T10:22:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hari\_Baskar](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@Hari\_Baskar](https://discuss.elastic.co/u/Hari_Baskar)\
**Post date:** [January 2, 2018, 10:22am UTC](https://discuss.elastic.co/t/index-pattern-test-is-not-time-based/113751/1 "2018-01-02T10:22:23Z")

</div>

Hi. I tried to create a machine learning. But I got this error. So Please help to resolve this.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [January 2, 2018, 5:53pm UTC](https://discuss.elastic.co/t/index-pattern-test-is-not-time-based/113751/2 "2018-01-02T17:53:47Z")

</div>

It means that the index pattern you've configured, `test*`, does not have a time field defined. Is the data you've got in the matching indices time-based data? If so, tell Kibana what field to use for the time when you configure the index pattern. If not, you can't use that data with Machine Learning.

---

<div class="post-metadata">

**Author:** ![Hari\_Baskar](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@Hari\_Baskar](https://discuss.elastic.co/u/Hari_Baskar)\
**Post date:** [January 4, 2018, 4:58am UTC](https://discuss.elastic.co/t/index-pattern-test-is-not-time-based/113751/3 "2018-01-04T04:58:13Z")

</div>

Hi Joe,

Thanks for replied. I got your point. But I do not get my time field in Kibana. It's showing in String. But I have configured in date format in config file.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [January 9, 2018, 10:54pm UTC](https://discuss.elastic.co/t/index-pattern-test-is-not-time-based/113751/4 "2018-01-09T22:54:03Z")

</div>

[Check the mapping in your index](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-mapping.html), it's possible that if you just let Elasticsearch infer the field mappings, that it didn't know how to parse the date string it got and just make the field into a string.

---

<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:** [February 6, 2018, 10:54pm UTC](https://discuss.elastic.co/t/index-pattern-test-is-not-time-based/113751/5 "2018-02-06T22:54:08Z")

</div>

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