Permalink
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 451 Bytes

Example: SQLite3

input
{
	stdin { }
}
output {
	stdout { }

	jdbc {
        driver_class => "org.sqlite.JDBC"
		connection_string => 'jdbc:sqlite:test.db'
		statement => [ "INSERT INTO log (host, timestamp, message) VALUES(?, ?, ?)", "host", "@timestamp", "message" ]
	}
}