Boa tarde,
estou tentando utilizar o logstash com JDBC acessando oracle
input {
jdbc {
jdbc_validate_connection => true
jdbc_connection_string => "jdbc:oracle:thin:@vms-dbs-01:1521/nladm"
jdbc_user => "nladm"
jdbc_password => "?????"
jdbc_driver_library => "C:\adm\Elastic\logstash\config\ojdbc6.jar"
jdbc_driver_class => "java::oracle.jdbc.driver.OracleDriver"
statement => "SELECT sysdate from dual"
#statement_filepath => "C:\adm\Elastic\logstash\jdbc\cs_01.sql"
schedule => "* * * * *"
}
}
output {
stdout { codec => rubydebug
}
elasticsearch { index => "cs-01-index"
}
}
Ao iniciar o servico ocorre a mensagem abaixo
Alguem ja passou por este problema?
Obrigado
Ja conferei a localização do driver e esta correta.
[2019-08-05T10:35:00,809][ERROR][logstash.inputs.jdbc ] Failed to load C:\adm\Elastic\logstash\jdbc\ojdbc7.jar {:exception=>#<TypeError: failed to coerce jdk.internal.loader.ClassLoaders$AppClassLoader to java.net.URLClassLoader>}