jdbc { # mysql jdbc connection string to our backup databse jdbc_connection_string => "jdbc:mysql://127.0.0.1:3306/carinsurance" # the user we wish to excute our statement as jdbc_user => "carinsurance" jdbc_password => "123456" # the path to our downloaded jdbc driver jdbc_driver_library => "/opt/elasticsearch/logstash-6.2.2/sql/mysql-connector-java-5.1.40.jar" # the name of the driver class for mysql jdbc_driver_class => "com.mysql.jdbc.Driver" jdbc_paging_enabled => "true" jdbc_page_size => "50000" statement_filepath => "/opt/elasticsearch/logstash-6.2.2/sql/bank_sync.sql" schedule => "*/1 * * * *" type => "jdbc" } }