Greeting,
I am evaluating the cloud version of Elasticsearch, and I want to mount some test data, using logstash (version 8.4.3),
but I get an error telling me the following:
"Could not connect to a compatible version of Elasticsearch>, "
[ERROR][logstash.javapipeline ][main] Pipeline error {:pipeline_id=>"main", :exception=>#<LogStash::ConfigurationError: Could not connect to a compatible version of Elasticsearch>, :backtrace=>[" C:/programming/logstash-8.4.3/vendor/bundle/jruby/2.6.0/gems/logstash-output-elasticsearch-11.6.0-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:245 :in block in healthcheck!'", "org/jruby/RubyHash.java:1519:in
each'"
any suggestion?
Thank you very much for the help.
###############################
input {
file {
path => "/DatasetCompleto.csv"
start_position => beginning
}
}
filter {
csv {
columns => ["geo.dest","machine.os","@timestamp","agent","bytes","clientip","ip","hour_of_day","host","geo.srcdest","geo.src","geo.coordinates","extension","utc_time","url","timestamp","tags","message","memory","machine.ram","srcCountry","geo.coordinatessrc","dstCountry","geo.coordinatesdst","geo.citydest","date","hora","level","srcip","srcport","dstip","dstport","dstintfrole","protocol","action","appcat","apprisk","duration","sentbyte","rcvdbyte","sentpkt","rcvdpkt","vpn","amenaza","tipoconexion","score","frecuencia"]
separator => ";"
}
}
output {
stdout {}
elasticsearch {
hosts => ["https://demoit.kb.us-central1.gcp.cloud.es.io:9243"]
user => "user"
password => "password"
ssl => "true"
ssl_certificate_verification => "false"
action => "index"
index => "index_data"
}
}