Logstash Error csv

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

output {
   elasticsearch {
     hosts => ["http://10.253.13.60:9200"]
     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=>"http://10.253.13.60:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://10.253.13.60:9200/][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.