Logstash Error csv

this is my logstash file:
input {
  file {
    type => "csv"
    path => "D:/Chrome Downloads/Text file/csv files/KPI Master.csv"
  filter {

output {
   elasticsearch {
     hosts => [""]
     index => "claycounty_school_kpi_index"

when i execute this i m getting error see below:

Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [][Manticore::ConnectTimeout] connect timed out"}

Are you able to curl this url from the machine where logstash is run?

No can't able to curl this url i my local machine

That's what you need to fix first.
Did you change network.host in elasticsearch settings as the documentation says?

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