# Logstash with elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-with-elasticsearch/192564>\
**Category:** Kibana\
**Created:** [July 28, 2019, 12:31pm UTC](https://discuss.elastic.co/t/logstash-with-elasticsearch/192564 "2019-07-28T12:31:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdelmadjid](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@Abdelmadjid](https://discuss.elastic.co/u/Abdelmadjid)\
**Post date:** [July 28, 2019, 12:31pm UTC](https://discuss.elastic.co/t/logstash-with-elasticsearch/192564/1 "2019-07-28T12:31:55Z")

</div>

when i try to load data in to elasticsearch the server of logstash work perfect but in kibana i dont find the index of the csv file

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/3/438c0651ff57ffff9136c2a9a5fe3da2d11aad3d.png)  
i'm using these config file  
input {  
file {  
path =\> "C:\Users\pc intervalle\Downloads\Compressed\logstash-7.2.0\bitcoin.csv"  
start\_position =\> "beginning"  
sincedb\_path =\> "NUL"  
}  
}  
filter {  
csv {  
separator =\> ","

```
 columns => ["Date","Open","High","Low","Close","Volume (BTC)", "Volume (Currency)" ,"Weighted Price"]

```

}  
}  
output {  
elasticsearch {  
hosts =\> "[http://localhost:9200](http://localhost:9200)"  
index =\> "bitcoin-prices"  
}  
stdout {}  
}  
please i need know where is the problem exactly

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [July 29, 2019, 6:23pm UTC](https://discuss.elastic.co/t/logstash-with-elasticsearch/192564/2 "2019-07-29T18:23:45Z")

</div>

Kibana uses index patterns to discover Elasticsearch indexes. You need to create an index pattern in Kibana. [https://www.elastic.co/guide/en/kibana/current/index-patterns.html](https://www.elastic.co/guide/en/kibana/current/index-patterns.html)

---

<div class="post-metadata">

**Author:** ![Abdelmadjid](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@Abdelmadjid](https://discuss.elastic.co/u/Abdelmadjid)\
**Post date:** [July 30, 2019, 11:02am UTC](https://discuss.elastic.co/t/logstash-with-elasticsearch/192564/3 "2019-07-30T11:02:13Z")

</div>

thank you  
the index pattren should i created before or after loding data  
because i can't create the index before loading data to elasticsearch  
the problem is in the load of data to elasticsearch with logstash

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [July 30, 2019, 5:46pm UTC](https://discuss.elastic.co/t/logstash-with-elasticsearch/192564/4 "2019-07-30T17:46:49Z")

</div>

Does the index exist in Elasticsearch? Use [\_cat/indices](https://www.elastic.co/guide/en/elasticsearch/reference/7.2/cat-indices.html) to find out.

---

<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 27, 2019, 5:46pm UTC](https://discuss.elastic.co/t/logstash-with-elasticsearch/192564/5 "2019-08-27T17:46:55Z")

</div>

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