Elastic Search JDBC River Plugin SQL Server Integrated Security -


so i've been working on implementing elastic search using jdbc river plugin data our sql server db elastic search.

i've got working fine using sql server credentials, trying use integrated security doesn't work. create index, doesn't have data in it. parameters i've been using are:

  put /_river/test_river/_meta      {          "type":"jdbc",        "jdbc":              {                 "driver":"com.microsoft.sqlserver.jdbc.sqlserverdriver",                  "url":"jdbc:sqlserver://testserver:1433;databasename=testdb;                 integratedsecurity=true;",                 "user":"",                 "password":"",                 "sql": "select * users",                 "poll":"30s",                 "index":"testindex",                 "type":"testusers"              }      } 

i've tried quite few things, including removing user , password fields completely, removing integratedsecurity=true, gave same result. i've checked on github river plugin , says issue fixed in january, still doesn't seem working.

also i'm using elastic search version: 1.5.1 , jdbc river plugin version : 1.4.0.10

any appreciated

get rid of user , password options. you're not gonna need them.

check console when running elasticserch.bat, should see error message when tries update river. i'm going go out on limb , assume you're seeing error stating file sqljdbc_auth.dll can't found. if case, can download file here , copy x64 version of sqljdbc_auth.dll java lib folder. me, folder c:\programdata\oracle\java\javapath can type echo %path% in console window find yours.

once have followed these steps, restart elasticsearch.bat, , should start processing river. if not, post output you're seeing when running elasticsearch.bat.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -