<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DB Connect with instance name and integrated security in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-with-instance-name-and-integrated-security/m-p/90854#M182292</link>
    <description>&lt;P&gt;Most of our MS SQL Servers require integrated security and the databases are not on the default instance. Our Splunk servers are all on Linux. I know how to use Java to configure JTDS to connect to these SQL instances using Integrated security, e.g.:&lt;/P&gt;

&lt;P&gt;java -classpath ./lib/jisql.jar:./lib/jtds-1.2.6.jar com.xigole.util.sql.Jisql -user ...&lt;BR /&gt;
 ... -cstring "jdbc:jtds:sqlserver://host_name:port_no/db_name;domain=domain_name;instance=instance_name" ....&lt;/P&gt;

&lt;P&gt;Is there a way to do this in Splunk DB Connect (DBX)?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2013 16:02:46 GMT</pubDate>
    <dc:creator>reed_kelly</dc:creator>
    <dc:date>2013-04-11T16:02:46Z</dc:date>
    <item>
      <title>DB Connect with instance name and integrated security</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-with-instance-name-and-integrated-security/m-p/90854#M182292</link>
      <description>&lt;P&gt;Most of our MS SQL Servers require integrated security and the databases are not on the default instance. Our Splunk servers are all on Linux. I know how to use Java to configure JTDS to connect to these SQL instances using Integrated security, e.g.:&lt;/P&gt;

&lt;P&gt;java -classpath ./lib/jisql.jar:./lib/jtds-1.2.6.jar com.xigole.util.sql.Jisql -user ...&lt;BR /&gt;
 ... -cstring "jdbc:jtds:sqlserver://host_name:port_no/db_name;domain=domain_name;instance=instance_name" ....&lt;/P&gt;

&lt;P&gt;Is there a way to do this in Splunk DB Connect (DBX)?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 16:02:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-with-instance-name-and-integrated-security/m-p/90854#M182292</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2013-04-11T16:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect with instance name and integrated security</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-with-instance-name-and-integrated-security/m-p/90855#M182293</link>
      <description>&lt;P&gt;I found the non-default instance name part: &lt;A href="http://splunk-base.splunk.com/answers/66459/connect-to-a-non-default-instance-of-ms-sql-server"&gt;http://splunk-base.splunk.com/answers/66459/connect-to-a-non-default-instance-of-ms-sql-server&lt;/A&gt;. The remaining question is whether Integrated security can be used for MS SQL.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 17:39:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-with-instance-name-and-integrated-security/m-p/90855#M182293</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2013-04-11T17:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect with instance name and integrated security</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-with-instance-name-and-integrated-security/m-p/90856#M182294</link>
      <description>&lt;P&gt;Windows Authentication (NTLMv2) can be enabled by specifying the user in the form of &lt;CODE&gt;DOMAIN\username&lt;/CODE&gt;. This will result in a JDBC URL like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;jdbc:jtds:sqlserver://hostname:port/db;domain=DOMAIN;useNTLMv2=true;otherparams=....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In addition, other parameters for the JDBC URL of an MSSQL database connection can be specified in the database.conf stanza by adding &lt;CODE&gt;arg.&amp;lt;paramName&amp;gt;=&amp;lt;value&amp;gt;&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysqlserver]
host = ...
database = ...
username = ...
password = ...
arg.useNTLMv2 = false
arg.socketTimeout = 300
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Apr 2013 10:57:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-with-instance-name-and-integrated-security/m-p/90856#M182294</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-04-13T10:57:02Z</dc:date>
    </item>
  </channel>
</rss>

