Logstash startup Error:Could not find or load main class Files\Microsoft

Hi All,

New to Elastic but not having a good start. Have managed to get Metricbeat working and reporting into out Cloud instance, now need to get Logstash working so I can run some SQL querys against a DB.

Have gone through the config setting etc as per set-up pages (https://www.elastic.co/guide/en/beats/libbeat/5.4/logstash-installation.html#_starting_logstash) but when attempting to start I get the error in the title: Error: Could not find or load main class Files\Microsoft.

Have read through and attempted fix as outlined here: Error: Could not find or load main class Files\Microsoft but has not resolved my issue.

Have checked a few other related post, but non of the suggested fixes have worked for me either.

Useful info:
Logstash version: 7.3.2
Java_Home: C:\Program Files\Java\jdk1.8.0_221
CLASSPATH: .;"C:\Program Files\Microsoft JDBC Driver 4.2 for SQL Server\sqljdbc_4.2\enu\jre8\sqljdbc42.jar";"C:\Program Files\Java\jre1.8.0_221\bin\java.exe"

java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

Appreciate any assistance that can be provided to get this working, thanks

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