Last active
December 18, 2015 23:08
-
-
Save davidsf/5859062 to your computer and use it in GitHub Desktop.
SqlServer Json River
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type":"jdbc", | |
"jdbc": { | |
"driver":"com.microsoft.sqlserver.jdbc.SQLServerDriver", | |
"url":"jdbc:sqlserver://ipaddress:port;databaseName=mydatabase", | |
"user":"myuser","password":"mypass", | |
"sql":"select * from table", | |
"poll":"30s" | |
}, | |
"index": { | |
"index": "myindex", | |
"type": "mytype" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create the river with: curl -XPUT localhost:9200/_river/my_jdbc_river/_meta -d @myriver.json