Logstash with elasticsearch

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


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"
index => "bitcoin-prices"
}
stdout {}
}
please i need know where is the problem exactly

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

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

Does the index exist in Elasticsearch? Use _cat/indices to find out.

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