logstash-output-jdbc/examples/sqlite.md
2015-12-30 12:05:05 +00:00

409 B

Example: SQLite3

input
{
	stdin { }
}
output {
	stdout { }

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