# No default index pattern. You must select or create one to continue

**URL:** https://discuss.elastic.co/t/no-default-index-pattern-you-must-select-or-create-one-to-continue/94896
**Category:** Kibana
**Created:** [July 28, 2017, 4:24am UTC](https://discuss.elastic.co/t/no-default-index-pattern-you-must-select-or-create-one-to-continue/94896 "2017-07-28T04:24:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![shroh](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@shroh](https://discuss.elastic.co/u/shroh)
#### Post date: [July 28, 2017, 4:24am UTC](https://discuss.elastic.co/t/no-default-index-pattern-you-must-select-or-create-one-to-continue/94896/1 "2017-07-28T04:24:28Z")

</div>

Hi,

I have installed ELK stack on a single server and also filebeat on the same box. Configured filebeat.yml to send the sample log files . below is the fields:

# Paths that should be crawled and fetched. Glob based paths.

paths:  
- /home/user/logstash-tutorial-dataset  
fields:  
index: test\_app  
source\_type: app\_log  
application\_name: learn  
aws\_region: dev\_east

Also i have configured the corresponding logstash conf file to look like this:

input {  
beats {  
port =\> "5043"  
}  
}

# The filter part of this file is commented out to indicate that it is

# optional.

# filter {

# 

# }

output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
}

When i load the Kibana console i see the message "No default index pattern . You must select or create one to continue.

I am continously writing entries to my log file and logstash is running. But the data is not written to the ES indices.

My question is : Is there any different process to create the indices on ES or just defining in the filebeat.yml is enough and will be displayed in the kibana console.

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [July 28, 2017, 5:27am UTC](https://discuss.elastic.co/t/no-default-index-pattern-you-must-select-or-create-one-to-continue/94896/2 "2017-07-28T05:27:21Z")

</div>

Per the documentation here, it says you have to load the index template into Elasticsearch manually. Give it a try and see if you run into problems yet. Let us know if you need more help.

[https://www.elastic.co/guide/en/beats/filebeat/current/config-filebeat-logstash.html](https://www.elastic.co/guide/en/beats/filebeat/current/config-filebeat-logstash.html)

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![shroh](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@shroh](https://discuss.elastic.co/u/shroh)
#### Post date: [July 28, 2017, 3:55pm UTC](https://discuss.elastic.co/t/no-default-index-pattern-you-must-select-or-create-one-to-continue/94896/3 "2017-07-28T15:55:23Z")

</div>

I did that, but now Kibana shows that it can not connect to Elasticsearch on [http://localhost:9200](http://localhost:9200).

My current setup

All three components are installed on the same machine and in all three yml files i have defined the CNAME for network.host . The CNAME points to the IP address of the server.

---

<div class="post-metadata">

### Author: ![shroh](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@shroh](https://discuss.elastic.co/u/shroh)
#### Post date: [July 28, 2017, 4:32pm UTC](https://discuss.elastic.co/t/no-default-index-pattern-you-must-select-or-create-one-to-continue/94896/4 "2017-07-28T16:32:47Z")

</div>

Now the Elastic search is started, i again get the error that says "No default index pattern defined". ☹

---

<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: [August 25, 2017, 4:33pm UTC](https://discuss.elastic.co/t/no-default-index-pattern-you-must-select-or-create-one-to-continue/94896/5 "2017-08-25T16:33:25Z")

</div>

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