<?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: Cannot Connect to Database - Splunk DB Connect in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416651#M50818</link>
    <description>&lt;P&gt;@rogue_carrot If your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
    <pubDate>Fri, 25 May 2018 15:50:36 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2018-05-25T15:50:36Z</dc:date>
    <item>
      <title>Cannot Connect to Database - Splunk DB Connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416646#M50813</link>
      <description>&lt;P&gt;Hello Team Splunk,&lt;/P&gt;

&lt;P&gt;I am trying to use the Splunk DB Connect plug-in: &lt;A href="https://splunkbase.splunk.com/app/2686/#/details"&gt;https://splunkbase.splunk.com/app/2686/#/details&lt;/A&gt;. I have configured the JRE, the JAR for the JDBC connection (Figure 1), the identity with the username and password for the connection. However on the screen where I test the connection I always receive an I/O error, Figure 2. So this tells me that the connection is not working. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;Is there some type of log I can check to try and pinpoint what is going wrong? I thought maybe there was a firewall issue but I can ping the computer the database is on. I thought the issue was with the JRE but I uninstalled the openjdk JRE from the operating system and installed one from Oracle dot com. I thought maybe the issue was with the "Connection Type" on the "New Connection" screen but the connection fails whether I specify "Oracle" or "Oracle Service". &lt;/P&gt;

&lt;P&gt;What am I doing wrong? &lt;/P&gt;

&lt;P&gt;Thank-you for reading this.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;rogue_carrot&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5030i668FD3180D93F363/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;EM&gt;Figure 1&lt;/EM&gt;: JDBC URL Settings&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5031i135DC21CB8290C0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;EM&gt;Figure 2&lt;/EM&gt;: IO Error: The Network Adapter could not establish the connection&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 21:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416646#M50813</guid>
      <dc:creator>rogue_carrot</dc:creator>
      <dc:date>2018-05-23T21:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Connect to Database - Splunk DB Connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416647#M50814</link>
      <description>&lt;P&gt;DB Connect has its own set of log files.  Search "index=_internal sourcetype=dbx*".&lt;/P&gt;

&lt;P&gt;Ping is not a good indication of the ability to connect to a service.  Try using telnet or curl as they let you specify a port as well as an address.&lt;/P&gt;

&lt;P&gt;Make sure the Oracle version is supported by DB Connect.&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 23:18:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416647#M50814</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-05-23T23:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Connect to Database - Splunk DB Connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416648#M50815</link>
      <description>&lt;P&gt;Hello Rich! &lt;/P&gt;

&lt;P&gt;Thank-you sir for the reply. I noticed this Linux machine does not have the telnet program so I am using the curl program. I received a time out connection error when trying to curl to this database server. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; Thank-you for the idea on how to trouble shoot this problem with the curl program. Now if I could figure out why there is a timeout error.&lt;/P&gt;

&lt;P&gt;Also, where or how would I set up the logging on this enterprise version of Splunk to search for the logs you are writing about with, "index=_internal sourcetype=dbx*"?&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 23:35:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416648#M50815</guid>
      <dc:creator>rogue_carrot</dc:creator>
      <dc:date>2018-05-23T23:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Connect to Database - Splunk DB Connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416649#M50816</link>
      <description>&lt;P&gt;Check your firewalls as possible timeout causes.&lt;/P&gt;

&lt;P&gt;Splunk monitors its own logs by default so you shouldn't need to set up anything.&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 16:25:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416649#M50816</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-05-24T16:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Connect to Database - Splunk DB Connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416650#M50817</link>
      <description>&lt;P&gt;Yes, I need to fill out a firewall request form in my organization. This is a firewall issue indeed. Thank-you for the help with this Rich.&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 17:37:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416650#M50817</guid>
      <dc:creator>rogue_carrot</dc:creator>
      <dc:date>2018-05-24T17:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Connect to Database - Splunk DB Connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416651#M50818</link>
      <description>&lt;P&gt;@rogue_carrot If your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 15:50:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Cannot-Connect-to-Database-Splunk-DB-Connect/m-p/416651#M50818</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-05-25T15:50:36Z</dc:date>
    </item>
  </channel>
</rss>

