Hi,
I'm able to connect to oracle database using oracle jdbc thin driver with the below config file. In the original config file we have the username/password parameters defined.
input {
jdbc {
jdbc_validate_connection => true
jdbc_connection_string => "jdbc:oracle:thin:@<host>:<port>/<service>"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
statement_filepath => "filename"
}
But now we want to connect to the same oracle database in a more secure manner by using the TCPS port (using TLS).
I just tried by replacing TCP port# with TCPS port# in the connection string, but got below error:
Unable to connect to database. Tried 1 times {:error_message=>"Java::JavaSql::SQLRecoverableException: IO Error: Connection reset"}
The reference logstash document for jdbc input plugin does not says anything about using certs/TLS or I may be missing something.
Is there is any reference document to configure logstash for oracle TLS connection, or if anyone can help us on the parameters which we would have to update for TLS connections.
Thanks.