# Create button does not work when trying to "Use event times to create index names"

**URL:** <https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781>\
**Category:** Kibana\
**Created:** [August 20, 2015, 5:31pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781 "2015-08-20T17:31:22Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![smcgilvray](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@smcgilvray](https://discuss.elastic.co/u/smcgilvray)\
**Post date:** [August 20, 2015, 5:31pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/1 "2015-08-20T17:31:22Z")

</div>

When I put the settings in the attached image and click create nothing happens. Does anyone know what this would be?

 ![](https://us1.discourse-cdn.com/elastic/original/2X/2/247bda63e8029be37ed88866d4c2895e18188c0d.png)

Thank you,

Sean McGilvray

---

<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:** [August 21, 2015, 5:32am UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/2 "2015-08-21T05:32:36Z")

</div>

Seems like it should work. What version are you using?

Also, is this Kibana instance protected by Shield, by chance? I've seen this behavior when logged-in user didn't have permissions to create index patterns in at the Shield level.

---

<div class="post-metadata">

**Author:** ![smcgilvray](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@smcgilvray](https://discuss.elastic.co/u/smcgilvray)\
**Post date:** [August 21, 2015, 1:52pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/3 "2015-08-21T13:52:20Z")

</div>

Hello Tanya,

Thanks for the reply. I do not have Shield installed. I wish it was just that easy 😄

My version is in the image below. It looks like a code error from what I am seeing when I inspect the button and there is nothing popping up to say what that error actually is. Anyone got any suggestions on this?

![](https://us1.discourse-cdn.com/elastic/original/2X/5/572737260fd6f9644f2cc3118b8a9bad47b06a6d.png)

 ![](https://us1.discourse-cdn.com/elastic/original/2X/d/dec2054e4ad4eaf5f723041c0d8a496f0683288f.png)

---

<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:** [August 21, 2015, 3:47pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/4 "2015-08-21T15:47:20Z")

</div>

Thanks! And what browser are you using?

---

<div class="post-metadata">

**Author:** ![smcgilvray](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@smcgilvray](https://discuss.elastic.co/u/smcgilvray)\
**Post date:** [August 21, 2015, 3:59pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/5 "2015-08-21T15:59:50Z")

</div>

I have tried both IE and Chrome. The same thing happens on both.

---

<div class="post-metadata">

**Author:** ![smcgilvray](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@smcgilvray](https://discuss.elastic.co/u/smcgilvray)\
**Post date:** [August 21, 2015, 4:01pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/6 "2015-08-21T16:01:50Z")

</div>

This is the error that comes up on Chrome console.  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/7/7eaf5069784ca457d6bde30d302483efcf3ab979.png)

---

<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:** [August 21, 2015, 4:05pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/7 "2015-08-21T16:05:55Z")

</div>

Think you could grab a screenshot of the request body that's being sent when you click Create? That's coming back from Elasticsearch, but I'm not sure what is 404/not found there.

Also, it probably doesn't matter, but what version of Elasticsearch are you using?

---

<div class="post-metadata">

**Author:** ![smcgilvray](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@smcgilvray](https://discuss.elastic.co/u/smcgilvray)\
**Post date:** [August 21, 2015, 4:11pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/8 "2015-08-21T16:11:08Z")

</div>

Hey Joe,  
We are using Elasticsearch 1.7.1

When you click "Create" nothing happens. The only thing I see that comes up is the screen shot that I sent from the Chrome browser that was the last screenshot. The screen shot before that was what IE sees.

---

<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:** [August 21, 2015, 4:12pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/9 "2015-08-21T16:12:18Z")

</div>

Right, but it's making a network request to Elasticsearch, it's just that that request fails and the error isn't properly handled (and thus not displayed). You should see it happen in the network tab in your debugger - I'd like to see what the request looks like.

---

<div class="post-metadata">

**Author:** ![smcgilvray](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@smcgilvray](https://discuss.elastic.co/u/smcgilvray)\
**Post date:** [August 21, 2015, 4:14pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/10 "2015-08-21T16:14:16Z")

</div>

```
curl "http://libelk.ucr.edu/elasticsearch/.kibana/index-pattern/"%"5Blogstash-"%"5DYYYY.MM.DD?op_type=create" -H "Origin: http://libelk.ucr.edu" -H "Accept-Encoding: gzip, deflate" -H "Accept-Language: en-US,en;q=0.8" -H "User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36" -H "Content-Type: application/json;charset=UTF-8" -H "Accept: application/json, text/plain, */*" -H "Referer: http://libelk.ucr.edu/" -H "Connection: keep-alive" --data-binary "{""title"":""[logstash-]YYYY.MM.DD"",""timeFieldName"":""@timestamp"",""intervalName"":""days""}" --compressed
```

---

<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:** [August 21, 2015, 4:30pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/11 "2015-08-21T16:30:28Z")

</div>

Hrm, the request looks right - I just tried it locally on 1.7.1 and it worked fine.

I wonder if there was an issue during the setup that wasn't handled correctly that's causing this issue. Can you check to see if the `.kibana` index exists in your cluster?

---

<div class="post-metadata">

**Author:** ![smcgilvray](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@smcgilvray](https://discuss.elastic.co/u/smcgilvray)\
**Post date:** [August 21, 2015, 4:33pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/12 "2015-08-21T16:33:37Z")

</div>

Hey Joe,  
it is there.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/6/668572af728289f43e2a2193d9dffd6d90d82d4f.png)

---

<div class="post-metadata">

**Author:** ![smcgilvray](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@smcgilvray](https://discuss.elastic.co/u/smcgilvray)\
**Post date:** [August 21, 2015, 4:40pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/13 "2015-08-21T16:40:32Z")

</div>

Might help earlier if I said this is installed on a Windows 2012 R2 box.

---

<div class="post-metadata">

**Author:** ![smcgilvray](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@smcgilvray](https://discuss.elastic.co/u/smcgilvray)\
**Post date:** [August 21, 2015, 5:44pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/14 "2015-08-21T17:44:25Z")

</div>

![](https://us1.discourse-cdn.com/elastic/original/2X/c/cafc3f766974540ac1cc0bf2a6d3e2c17c6b4679.png)

---

<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:** [August 21, 2015, 8:12pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/15 "2015-08-21T20:12:20Z")

</div>

This error is expected - it happens when there is no default index pattern. The one you posted before, however, is not expected.

Running on Windows shouldn't be an issue. Kibana can talk to your cluster, otherwise you wouldn't even make it to the index pattern screen. Kibana can write to the cluster, otherwise you wouldn't have a `.kibana` index. The query for setting the index pattern looks right, and it runs fine for me on 4.1.1 and 1.7.1.

I'm kind of out of ideas as to why it's happening. Let me bounce this off some other folks and see what they think.

---

<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:14pm UTC](https://discuss.elastic.co/t/create-button-does-not-work-when-trying-to-use-event-times-to-create-index-names/27781/16 "2017-07-06T14:14:21Z")

</div>


