#file: db.conf
input {
jdbc{
jdbc_connection_string => "jdbc:oracle:thin:@localhost:1522:Data"
jdbc_user => "scott"
jdbc_password => "tiger123"
jdbc_driver_library => "C:\tibco\tpcl\5.9\jdbc\ojdbc14.jar"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
statement => "select * from STUDENT"
}
}
output {
stdout { codec => json_lines }
elasticsearch
{
hosts => ["localhost:9200"]
#protocol => "http"
index => "Students"
document_type => "STUDENT"
document_id => "%{id}"
}}
when I http://loclahost:9200 the Elastic search URL I dnt see the output.
I have installed Elastic Search , Logstash and Kibana on windows system.