hi
I want to index txt in elastic search with Logstash.
the problem is that logstash do not recognise the index i'm using.
I m quite new to ELK so maybe the solution is simple.
this is my config file :
input {
file {
path => ["/Users/timothemalandain/Downloads/logstash-5.6.2/UserData/MainTitles.txt"]
start_position => "beginning"
}
}
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "titles"
document_type => "titles"
}
stdout {}
}
When i want to add the index in Kibana i have "Unable to fetch mapping. Do you have indices matching the pattern?"
What am i not doing/doing wrong ?
thanks