# Need help with creating index pattern for .txt log files

**URL:** <https://discuss.elastic.co/t/need-help-with-creating-index-pattern-for-txt-log-files/174321>\
**Category:** Logstash\
**Created:** [March 28, 2019, 11:46am UTC](https://discuss.elastic.co/t/need-help-with-creating-index-pattern-for-txt-log-files/174321 "2019-03-28T11:46:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kalyan\_MB](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kalyan_mb/32/42974_2.png) [@Kalyan\_MB](https://discuss.elastic.co/u/Kalyan_MB)\
**Post date:** [March 28, 2019, 11:46am UTC](https://discuss.elastic.co/t/need-help-with-creating-index-pattern-for-txt-log-files/174321/1 "2019-03-28T11:46:30Z")

</div>

Hello,  
i have installed elastic search and configured it in RHEL, installed kibana as well.  
Elasticsearch: elasticsearch-6.7.0  
Kibana: kibana-6.7.0-linux-x86\_64

both are in running state, ports 5061(kibana) and 9200(elasticsearch) are listening,  
able to access kibana dashboard.  
problem is when i open dashboard it says " **Cannot connect to the Elasticsearch cluster currently configured for Kibana. To use the full set of free features in this distribution of Kibana, please update Elasticsearch to the default distribution."**

\<\<\<\< kibana.yml \>\>\>

# Kibana is served by a back end server. This setting specifies the port to use.

server.port: 5601  
server.host: "10.253.148.199  
server.basePath: ""  
server.rewriteBasePath: false  
server.maxPayloadBytes: 1048576  
server.name: "$HOSTNAME"  
elasticsearch.preserveHost: true  
kibana.index: ".kibana"  
kibana.defaultAppId: "home"  
elasticsearch.username: ""  
elasticsearch.password: ""  
server.ssl.enabled: false

\<\<\<\< elasticsearch.yml \>\>\>

path.data: /var/lib/elasticsearch  
path.logs: /var/log/elasticsearch  
http.port: 9200  
bootstrap.system\_call\_filter: false  
network.host: 10.253.148.199

Note: i have used .tar.gz package for instillation of both E&K  
can anyone help me with this, deployed both in single node.

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [April 8, 2019, 2:10am UTC](https://discuss.elastic.co/t/need-help-with-creating-index-pattern-for-txt-log-files/174321/2 "2019-04-08T02:10:46Z")

</div>

Kibana 6.7.0 will fail to start up if you use:

```auto
elasticsearch.username: ""
elasticsearch.password: ""

```

Try removing these settings.

---

<div class="post-metadata">

**Author:** ![Kalyan\_MB](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kalyan_mb/32/42974_2.png) [@Kalyan\_MB](https://discuss.elastic.co/u/Kalyan_MB)\
**Post date:** [April 9, 2019, 7:56am UTC](https://discuss.elastic.co/t/need-help-with-creating-index-pattern-for-txt-log-files/174321/3 "2019-04-09T07:56:49Z")

</div>

Thanks @thiago i will try it

---

<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, 7:56am UTC](https://discuss.elastic.co/t/need-help-with-creating-index-pattern-for-txt-log-files/174321/4 "2019-05-07T07:56:58Z")

</div>

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