<?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 Re: DB Connect - connection has special charactor in SQL server name in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432865#M53124</link>
    <description>&lt;P&gt;Morning guys, I don't suppose anyone is able to shed some light on this? Sadly the DBA I am working with has gone on holiday for a fortnight - so I'm little in the dark haha!&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jun 2018 07:46:20 GMT</pubDate>
    <dc:creator>Barty</dc:creator>
    <dc:date>2018-06-01T07:46:20Z</dc:date>
    <item>
      <title>DB Connect - connection has special charactor in SQL server name</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432864#M53123</link>
      <description>&lt;P&gt;Good afternoon guys,&lt;/P&gt;

&lt;P&gt;Hoping you will be able to assist with this one - we have configured a number of SQL DB connections without a hiccup, but sadly there are a few that we cannot establish due to the fact that they have '\' in the server name. Example being:-&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;testserver01\testserver&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Could someone advise how we include the final part of the connection name as presumably the '\' is causing splunk to escape it or not accept that name. The error produced is:-&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Unknown server host name&lt;BR /&gt;
'testserver01\testserver.domain.net'&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 31 May 2018 14:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432864#M53123</guid>
      <dc:creator>Barty</dc:creator>
      <dc:date>2018-05-31T14:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect - connection has special charactor in SQL server name</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432865#M53124</link>
      <description>&lt;P&gt;Morning guys, I don't suppose anyone is able to shed some light on this? Sadly the DBA I am working with has gone on holiday for a fortnight - so I'm little in the dark haha!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 07:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432865#M53124</guid>
      <dc:creator>Barty</dc:creator>
      <dc:date>2018-06-01T07:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect - connection has special charactor in SQL server name</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432866#M53125</link>
      <description>&lt;P&gt;What does the host string look like in the db_connections.conf file?&lt;BR /&gt;
Can you try escaping it with another backslash maybe? (\)&lt;/P&gt;

&lt;P&gt;For example:&lt;BR /&gt;
    [oracle_example]&lt;BR /&gt;
    connection_type = oracle&lt;BR /&gt;
    database = orcl&lt;BR /&gt;
    disabled = 0&lt;BR /&gt;
    host = oracle.host.com&lt;BR /&gt;
    identity = oracle_identity&lt;BR /&gt;
    jdbcUseSSL = true&lt;BR /&gt;
    port = 2484&lt;BR /&gt;
    readonly = false&lt;BR /&gt;
    customizedJdbcUrl = jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=oracle.host.com)(PORT=2484))(CONNECT_DATA=(SERVICE_NAME=orcl)))&lt;BR /&gt;
    connection_properties = {"oracle.net.authentication_services": "(TCPS)", "oracle.net.ssl_cipher_suites": "(SSL_DH_anon_WITH_3DES_EDE_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA)", "javax.net.ssl.trustStore": "/opt/splunk/cwallet/cwallet.sso", "javax.net.ssl.trustStoreType": "SSO", "javax.net.ssl.keyStore": "/opt/splunk/cwallet/cwallet.sso", "javax.net.ssl.keyStoreType": "SSO"}&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432866#M53125</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2020-09-29T19:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect - connection has special charactor in SQL server name</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432867#M53126</link>
      <description>&lt;P&gt;Good thinking, I've had a look and having amended the JDBC URL so that in saves to the db_connections.conf file (it wasn't a customer URL before) We have the following:-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[#######.group.net]
connection_type = mssql_jtds_win_auth
database = lv_monitoring
disabled = 0
host = #########.group.net
identity = SQL_Audit
jdbcUseSSL = false
localTimezoneConversionEnabled = false
port = ####
readonly = false
customizedJdbcUrl = jdbc:jtds:sqlserver://mytest\test:1433/lv_monitoring;useCursors=true;domain=&amp;lt;domain_name&amp;gt;;useNTLMv2=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have hashed out some info. I've played around with this and tried inputting it with the path contained within [ ] but to no luck, nor inputting '\' to escape the single item. Really at a loss on this &lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 15:02:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432867#M53126</guid>
      <dc:creator>Barty</dc:creator>
      <dc:date>2018-06-01T15:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect - connection has special charactor in SQL server name</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432868#M53127</link>
      <description>&lt;P&gt;I don't suppose anyone else has ecountered this then or managed to find a work around?? &lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 13:20:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-connection-has-special-charactor-in-SQL-server-name/m-p/432868#M53127</guid>
      <dc:creator>Barty</dc:creator>
      <dc:date>2018-06-04T13:20:28Z</dc:date>
    </item>
  </channel>
</rss>

