Hi,
I'm returning to ELK after a break for a few years. I've got this error when i start logstash up and include my remote elasticsearch node in the config on a very basic setup:
# bin/logstash -f conf.d/inputs.conf
#######START#########
The error reported is:
you might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with `lock_jars` command
no such file to load -- org/apache/httpcomponents/httpclient/4.5/httpclient-4.5 (LoadError)
Is anyone able to point me in the right direction please?
This is my logstash.conf file:
input {
beats {
port => 5044
}
}
output {
file {
path => "/tmp/logs.%{+yyyy.MM.dd.HH}"
}
elasticsearch { hosts => ["https://elasticsearch_server:9200"] }
}
I have my ssl certificate to include but I'm not even getting that error yet. If I comment out the remote elasticsearch output, it works as expected and creates the file in /tmp.
Happy to supply more information and thanks for any help you can give me.
Regards
Dennis