Am facing a problem

Microsoft Windows [Version 10.0.17763.615]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\chandu ibm\softwares\logstash-6.4.2\bin>logstash -f logstash-sample.conf
Error: Could not find or load main class ibm\softwares\logstash-6.4.2\logstash-core\lib\jars\animal-sniffer-annotations-1.14.jar;C:\chandu

C:\chandu ibm\softwares\logstash-6.4.2\bin>

my conf//

Sample Logstash configuration for creating a simple

Beats -> Logstash -> Elasticsearch pipeline.

input {
beats {
port => 5044
}
}

output {
elasticsearch {
hosts => ["http://localhost:9200"]
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
#user => "elastic"
#password => "changeme"
}
}

JDK 1.8
windows

Looks like your install may be corrupt. I would recommend re-installing Logstash.

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