README.md updated

This commit is contained in:
Dmitry Morozov 2015-12-04 13:16:19 +00:00
parent eef7473a0b
commit 38b7096419

View File

@ -139,6 +139,17 @@ output {
``` ```
### MariaDB ### MariaDB
This is reportedly working, according to [@db2882](https://github.com/db2882) in issue #20. * Tested with Ubuntu 14.04.3 LTS, Server version: 10.1.9-MariaDB-1~trusty-log mariadb.org binary distribution
No example configuration provided. * Tested using https://downloads.mariadb.com/enterprise/tqge-whfa/connectors/java/connector-java-1.3.2/mariadb-java-client-1.3.2.jar (mariadb-java-client-1.3.2.jar)
If you have a working sample, pull requests are welcome. ```
input
{
stdin { }
}
output {
jdbc {
connection_string => "jdbc:mariadb://HOSTNAME/DATABASE?user=USER&password=PASSWORD"
statement => [ "INSERT INTO log (host, timestamp, message) VALUES(?, ?, ?)", "host", "@timestamp", "message" ]
}
}