ERROR: A plugin had an unrecoverable error. Will restart this plugin

Hi sagar this side.
I have installed all three Elastic search, kibana and logstash in my redhat, for practice purposes.
I'm try to connect to oracle database in my network, and have used ojdbc7.jar for that, all my services are running and are up but I'm unable to fetch data from oracle database to my logstash.
I'm using Elastic stack 7.4.3.

this is my logstash config. file
<input{
jdbc{
jdbc_validate_connection => true
jdbc_driver_library => "/root/Downloads/oracledriver/ojdbc7.jar"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
jdbc_connection_string => "jdbc:oracle:thin@:192.168.0.211:1521/orclpdb.genx.com"
jdbc_user => "testdb"
jdbc_password => "Welcome1"
statement => "SELECT * FROM emp"
}
}

output
{
elasticsearch
{
index => "employess"
hosts => "localhost:9200"
}
}

and i'm getting of this continuous error when i check my logs in /var/logs/logstash

[2019-11-04T07:33:04,011][ERROR][logstash.javapipeline ][test] A plugin had an unrecoverable error. Will restart this plugin.

kindly do provide solution if possible.

Please show more of the log so we can see the line you posted in context.

Is this actually in your config file?

Thank you for the support but i managed to fix the problem by replacing the ojdbc driver with a compatible ojdbc driverand also i made a small error in my config. file. also i did placed my driver in the root directory then i moved it to /etc/logstash.
then i checked my logs with grep ERROR and i found no errors.

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