# Rollup feature can't create job - Index pattern must match indices that contain time fields

**URL:** https://discuss.elastic.co/t/rollup-feature-cant-create-job-index-pattern-must-match-indices-that-contain-time-fields/291436
**Category:** Kibana
**Created:** [December 10, 2021, 3:01pm UTC](https://discuss.elastic.co/t/rollup-feature-cant-create-job-index-pattern-must-match-indices-that-contain-time-fields/291436 "2021-12-10T15:01:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cjabrantes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjabrantes/32/78091_2.png) [@cjabrantes](https://discuss.elastic.co/u/cjabrantes)
#### Post date: [December 10, 2021, 3:01pm UTC](https://discuss.elastic.co/t/rollup-feature-cant-create-job-index-pattern-must-match-indices-that-contain-time-fields/291436/1 "2021-12-10T15:01:24Z")

</div>

Hi,

I was exploring the rollup data feature, but i m not able to create a job via kibana UI, but i get the following error:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/0/103a5812a1d7d9342dca26a691e05a18ad323a77.png)

Nevertheless i have date fields in the indice.

Any ideas?

Thanks,

---

<div class="post-metadata">

### Author: ![cjabrantes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjabrantes/32/78091_2.png) [@cjabrantes](https://discuss.elastic.co/u/cjabrantes)
#### Post date: [December 10, 2021, 3:32pm UTC](https://discuss.elastic.co/t/rollup-feature-cant-create-job-index-pattern-must-match-indices-that-contain-time-fields/291436/2 "2021-12-10T15:32:59Z")

</div>

I think this may be related to date vs date\_nanos, seems that when is date\_nanos its not detected as time fields.

Does it make sense?

---

<div class="post-metadata">

### Author: ![cjabrantes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjabrantes/32/78091_2.png) [@cjabrantes](https://discuss.elastic.co/u/cjabrantes)
#### Post date: [December 10, 2021, 5:07pm UTC](https://discuss.elastic.co/t/rollup-feature-cant-create-job-index-pattern-must-match-indices-that-contain-time-fields/291436/3 "2021-12-10T17:07:16Z")

</div>

Hi,

I added a new field in LS and its confirmed.

The error is gone if we have a field date, but does not work with date\_nanos, is this a bug?

Thanks,

---

<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: [January 7, 2022, 5:07pm UTC](https://discuss.elastic.co/t/rollup-feature-cant-create-job-index-pattern-must-match-indices-that-contain-time-fields/291436/4 "2022-01-07T17:07:52Z")

</div>

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