My config
input{ jdbc{ jdbc_driver_library => "${JAVA_DIR}/ojdbc8-12.2.0.1.jar" jdbc_driver_class => "Java::oracle.jdbc.OracleDriver" jdbc_connection_string => "${JDBC_CONNECTION_STRING}" jdbc_user => "${JDBC_USER}" jdbc_password => "${JDBC_PASSWORD}" statement_filepath => "${FILE_PATH}" last_run_metadata_path => "${APP_ROOT}/last_run_metadata" jdbc_fetch_size => 1000 connection_retry_attempts => "${ATTEMPTS}" connection_retry_attempts_wait_time => "${WAIT_TIME}" } }
Exception:
Unable to connect to database. Trying again {:error_message=>"Java::JavaSql::SQLException: ORA-01017: invalid username/password; logon denied\n"}
[2020-06-03T08:42:20,004][ERROR][logstash.inputs.jdbc ] Unable to connect to database. Trying again {:error_message=>"Java::JavaSql::SQLException: ORA-01017: invalid username/password; logon denied\n"}
[2020-06-03T08:42:21,172][ERROR][logstash.inputs.jdbc ] Unable to connect to database. Trying again {:error_message=>"Java::JavaSql::SQLException: ORA-01017: invalid username/password; logon denied\n"}
[2020-06-03T08:42:22,248][ERROR][logstash.inputs.jdbc ] Unable to connect to database. Trying again {:error_message=>"Java::JavaSql::SQLException: ORA-01017: invalid username/password; logon denied\n"}
[2020-06-03T08:42:23,343][ERROR][logstash.inputs.jdbc ] Unable to connect to database. Tried 5 times {:error_message=>"Java::JavaSql::SQLException: ORA-01017: invalid username/password; logon denied\n"}
[2020-06-03T08:42:23,344][ERROR][logstash.javapipeline ] A plugin had an unrecoverable error. Will restart this plugin.
I am using wrong password here. in order see how connection failure will be handled .
and i don't want my plugin to restart . can anyone help please