# Create two different index pattern for a single index for time filter

**URL:** <https://discuss.elastic.co/t/create-two-different-index-pattern-for-a-single-index-for-time-filter/214501>\
**Category:** Elasticsearch\
**Created:** [January 9, 2020, 10:12pm UTC](https://discuss.elastic.co/t/create-two-different-index-pattern-for-a-single-index-for-time-filter/214501 "2020-01-09T22:12:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [January 9, 2020, 10:12pm UTC](https://discuss.elastic.co/t/create-two-different-index-pattern-for-a-single-index-for-time-filter/214501/1 "2020-01-09T22:12:44Z")

</div>

I have a index-2019 which has two date field, and they are different date/time then each other.

I have a requirement to use both date for different graph

is it possible to create two different index pattern with two separate "time filter field"

index-2019 is name of the index

index patter I have is index-\* ( with completed(date format) as time filter field)

I have another date field in this called submitted. and I want to use that as well.

what is best way to achieve this?

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [January 10, 2020, 7:53pm UTC](https://discuss.elastic.co/t/create-two-different-index-pattern-for-a-single-index-for-time-filter/214501/2 "2020-01-10T19:53:04Z")

</div>

well what I did is

index pattern = index-\* ( with completed date)  
index pattern = index-2\* ( with submitted date)

and got around this. incase if anyone is having such requirement

---

<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 7, 2020, 7:53pm UTC](https://discuss.elastic.co/t/create-two-different-index-pattern-for-a-single-index-for-time-filter/214501/3 "2020-02-07T19:53:15Z")

</div>

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