Open kamit78 opened 5 years ago
Steps to reproduce-
Actual Results
Is it bug in plugin or I'm doing something wrong ?
Following is configuration file input{ jdbc { jdbc_driver_library => "/usr/share/jdbc_driver/mysql-connector-java-5.1.47.jar" jdbc_driver_class => "com.mysql.jdbc.Driver" jdbc_connection_string => "jdbc:mysql://:3306/" jdbc_user => "" jdbc_password => "" statement => "select * from spt_identity" } }
output { elasticsearch { "hosts" => "localhost:9200" "index" => "" } stdout {} }
Look up this and this. That should allow you to gather only new ones, according to the timestamps.
Steps to reproduce-
Actual Results
Is it bug in plugin or I'm doing something wrong ?
Following is configuration file input{ jdbc { jdbc_driver_library => "/usr/share/jdbc_driver/mysql-connector-java-5.1.47.jar" jdbc_driver_class => "com.mysql.jdbc.Driver" jdbc_connection_string => "jdbc:mysql://:3306/"
jdbc_user => ""
jdbc_password => ""
statement => "select * from spt_identity"
}
}
output { elasticsearch { "hosts" => "localhost:9200" "index" => ""
}
stdout {}
}