# Creating index-pattens in kibana 6.5.3

**URL:** <https://discuss.elastic.co/t/creating-index-pattens-in-kibana-6-5-3/175876>\
**Category:** Kibana\
**Created:** [April 8, 2019, 3:33pm UTC](https://discuss.elastic.co/t/creating-index-pattens-in-kibana-6-5-3/175876 "2019-04-08T15:33:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wanexa](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@wanexa](https://discuss.elastic.co/u/wanexa)\
**Post date:** [April 8, 2019, 3:33pm UTC](https://discuss.elastic.co/t/creating-index-pattens-in-kibana-6-5-3/175876/1 "2019-04-08T15:33:13Z")

</div>

Hello

I trying to create my index with curl

curl -X POST "[http://127.0.0.1:5601/api/saved\_objects/index-pattern/test](http://127.0.0.1:5601/api/saved_objects/index-pattern/test)" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d'  
{  
"attributes": {  
"title": "test\*",  
"timeFieldName":"@timestamp"  
}  
}'

result is ok and my index-name is created

The issue is I can t access to any information , I can see my index-name under Discover menu but when I click on this last nothing happened searching is looping and no answer.

If I deleted this last and created through the interface everything worked fine

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [April 9, 2019, 12:05am UTC](https://discuss.elastic.co/t/creating-index-pattens-in-kibana-6-5-3/175876/2 "2019-04-09T00:05:04Z")

</div>

> [@wanexa](#):
>
> If I deleted this last and created through the interface everything worked fine

The main thing that could cause this would be not using the correct `timeFieldName`.

Other than that, having an incorrect filter in Discover would prevent data from coming up in a search. When you are in Discover, start out by clicking the `New` link at the top. Also make sure the time picker has bounds set to a range that matches your timeField's timestamps.

---

<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:** [May 7, 2019, 12:12am UTC](https://discuss.elastic.co/t/creating-index-pattens-in-kibana-6-5-3/175876/3 "2019-05-07T00:12:26Z")

</div>

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