I am trying to fetch data from oracle server in network which is a scheduled task.
It is fetching data from database successfully but while inserting into Elasticsearch,
following error is displayed.
Unable to understand the error,
Following is my logstash configuration,
input {
jdbc {
jdbc_driver_library => "D:/ES/logstash/bin/ojdbc14.jar"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
jdbc_connection_string => "jdbc:oracle:thin:@11.71.160.227:1521:xe"
jdbc_user => "kibana"
jdbc_password => "kibana"
statement => "select * from info"
schedule => "* * * * *"
}
}
output {
elasticsearch {
hosts => "10.76.133.15:9200"
action => "index"
index => "ssession-%{+YYYY.MM.dd_HH:mm:ss}"
}
stdout { codec => rubydebug }
}
Has anybody have faced/solved to this problem?