diff --git a/README.md b/README.md index dd6afa8..cb34774 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ For development: For development tests are recommended to run inside a virtual machine (Vagrantfile is included in the repo), as it requires access to various database engines and could completely destroy any data in a live system. -If you have vagrant available: +If you have vagrant available (this is temporary whilst I'm hacking on v5 support. I'll make this more streamlined later): - `vagrant up` - `vagrant ssh` - `cd /vagrant` diff --git a/examples/mysql.md b/examples/mysql.md index 5001335..c0a82f1 100644 --- a/examples/mysql.md +++ b/examples/mysql.md @@ -9,7 +9,7 @@ input } output { jdbc { - driver_class => "com.mysql.jdbc.Driver", + driver_class => "com.mysql.jdbc.Driver" connection_string => "jdbc:mysql://HOSTNAME/DATABASE?user=USER&password=PASSWORD" statement => [ "INSERT INTO log (host, timestamp, message) VALUES(?, CAST(? AS timestamp), ?)", "host", "@timestamp", "message" ] } diff --git a/examples/sqlite.md b/examples/sqlite.md index 2e421bb..4490d1e 100644 --- a/examples/sqlite.md +++ b/examples/sqlite.md @@ -10,6 +10,7 @@ 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" ] }