From 26a32079f1b7fe111aab4c7d504faaca21c0d4f6 Mon Sep 17 00:00:00 2001 From: Karl Southern Date: Fri, 13 May 2016 22:32:31 +0100 Subject: [PATCH] Adds Microsoft Always-On note and credit --- examples/sql-server.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/sql-server.md b/examples/sql-server.md index 59064e5..af8109e 100644 --- a/examples/sql-server.md +++ b/examples/sql-server.md @@ -1,5 +1,6 @@ # Example: SQL Server * Tested using http://msdn.microsoft.com/en-gb/sqlserver/aa937724.aspx + * Known to be working with Microsoft SQL Server Always-On Cluster (see https://github.com/theangryangel/logstash-output-jdbc/issues/37). With thanks to [@phr0gz](https://github.com/phr0gz) ``` input { @@ -7,7 +8,7 @@ input } output { jdbc { - connection_string => "jdbc:sqlserver://server:1433;databaseName=databasename;user=username;password=password;autoReconnect=true;" + connection_string => "jdbc:sqlserver://server:1433;databaseName=databasename;user=username;password=password" statement => [ "INSERT INTO log (host, timestamp, message) VALUES(?, ?, ?)", "host", "@timestamp", "message" ] } }