<?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 Splunk DB Connect v1 connects to the database successfully but returns no results when I try any query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-v1-connects-to-the-database-successfully-but/m-p/161612#M185986</link>
    <description>&lt;P&gt;I have installed Splunk DB Connect v1 App and MySQL driver and configured them with my database details.  Looks like connection works successfully.  If I look at "Database Info", I can select my database from the dropdown and it shows available tables.  However, if I try to run any query, it never completes -- just hangs there with "Waiting for search to complete...".&lt;/P&gt;

&lt;P&gt;I am looking at dbx.log but it doesn't show any obvious ERRORs.  Just perhaps "file null doesn't exist", but not sure what that would mean for me:&lt;/P&gt;

&lt;P&gt;2015-06-19 01:51:03.159 dbx1930:DEBUG:DatabaseQueryCommand - infoPath not in command headers... reading it from job sid=null directly...&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:WARN:DatabaseQueryCommand - SearchResultsInfo file null doesn't exist&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:DatabaseQueryCommand - srInfo: null&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:Database - Fetching connection from factory...&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:PooledConnectionFactory - Fetching connection from pool...&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:PooledConnectionFactory - Activating database connection com.mysql.jdbc.JDBC4Connection@17574841 for database=FIX_DB&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:PooledConnectionFactory - Validating database connection for database=FIX_DB&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:Database - Validating database connection...&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:Database - Executing test query: SELECT 1&lt;BR /&gt;
2015-06-19 01:51:03.162 dbx1930:DEBUG:Database - Database validation successful&lt;BR /&gt;
2015-06-19 01:52:41.335 dbx8318:DEBUG:ExecutionContext - Initializing execution context with app.ctx=dbx and execId=dbx8318&lt;BR /&gt;
2015-06-19 01:52:41.335 dbx8318:DEBUG:Splunkd - Requesting Splunkd REST service keep-alive...&lt;BR /&gt;
2015-06-19 01:52:41.335 dbx8318:DEBUG:Splunkd - Performing Splunkd Request: RESTRequest{GET authentication/current-context/context}&lt;BR /&gt;
2015-06-19 01:52:41.354 dbx8318:INFO:Splunkd - Splunkd REST Keep-alive successful for user splunk-system-user&lt;BR /&gt;
2015-06-19 01:52:41.354 dbx8318:DEBUG:ExecutionContext - Destroying execution context...&lt;BR /&gt;
2015-06-19 01:52:41.354 dbx8318:INFO:ExecutionContext - Execution finished in duration=20 ms&lt;BR /&gt;
2015-06-19 01:57:41.354 dbx5522:DEBUG:ExecutionContext - Initializing execution context with app.ctx=dbx and execId=dbx5522&lt;BR /&gt;
2015-06-19 01:57:41.355 dbx5522:DEBUG:Splunkd - Requesting Splunkd REST service keep-alive...&lt;BR /&gt;
2015-06-19 01:57:41.355 dbx5522:DEBUG:Splunkd - Performing Splunkd Request: RESTRequest{GET authentication/current-context/context}&lt;BR /&gt;
2015-06-19 01:57:41.364 dbx5522:INFO:Splunkd - Splunkd REST Keep-alive successful for user splunk-system-user&lt;BR /&gt;
2015-06-19 01:57:41.364 dbx5522:DEBUG:ExecutionContext - Destroying execution context...&lt;BR /&gt;
2015-06-19 01:57:41.364 dbx5522:INFO:ExecutionContext - Execution finished in duration=10 ms&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 20:17:26 GMT</pubDate>
    <dc:creator>logmar5</dc:creator>
    <dc:date>2020-09-28T20:17:26Z</dc:date>
    <item>
      <title>Splunk DB Connect v1 connects to the database successfully but returns no results when I try any query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-v1-connects-to-the-database-successfully-but/m-p/161612#M185986</link>
      <description>&lt;P&gt;I have installed Splunk DB Connect v1 App and MySQL driver and configured them with my database details.  Looks like connection works successfully.  If I look at "Database Info", I can select my database from the dropdown and it shows available tables.  However, if I try to run any query, it never completes -- just hangs there with "Waiting for search to complete...".&lt;/P&gt;

&lt;P&gt;I am looking at dbx.log but it doesn't show any obvious ERRORs.  Just perhaps "file null doesn't exist", but not sure what that would mean for me:&lt;/P&gt;

&lt;P&gt;2015-06-19 01:51:03.159 dbx1930:DEBUG:DatabaseQueryCommand - infoPath not in command headers... reading it from job sid=null directly...&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:WARN:DatabaseQueryCommand - SearchResultsInfo file null doesn't exist&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:DatabaseQueryCommand - srInfo: null&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:Database - Fetching connection from factory...&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:PooledConnectionFactory - Fetching connection from pool...&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:PooledConnectionFactory - Activating database connection com.mysql.jdbc.JDBC4Connection@17574841 for database=FIX_DB&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:PooledConnectionFactory - Validating database connection for database=FIX_DB&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:Database - Validating database connection...&lt;BR /&gt;
2015-06-19 01:51:03.160 dbx1930:DEBUG:Database - Executing test query: SELECT 1&lt;BR /&gt;
2015-06-19 01:51:03.162 dbx1930:DEBUG:Database - Database validation successful&lt;BR /&gt;
2015-06-19 01:52:41.335 dbx8318:DEBUG:ExecutionContext - Initializing execution context with app.ctx=dbx and execId=dbx8318&lt;BR /&gt;
2015-06-19 01:52:41.335 dbx8318:DEBUG:Splunkd - Requesting Splunkd REST service keep-alive...&lt;BR /&gt;
2015-06-19 01:52:41.335 dbx8318:DEBUG:Splunkd - Performing Splunkd Request: RESTRequest{GET authentication/current-context/context}&lt;BR /&gt;
2015-06-19 01:52:41.354 dbx8318:INFO:Splunkd - Splunkd REST Keep-alive successful for user splunk-system-user&lt;BR /&gt;
2015-06-19 01:52:41.354 dbx8318:DEBUG:ExecutionContext - Destroying execution context...&lt;BR /&gt;
2015-06-19 01:52:41.354 dbx8318:INFO:ExecutionContext - Execution finished in duration=20 ms&lt;BR /&gt;
2015-06-19 01:57:41.354 dbx5522:DEBUG:ExecutionContext - Initializing execution context with app.ctx=dbx and execId=dbx5522&lt;BR /&gt;
2015-06-19 01:57:41.355 dbx5522:DEBUG:Splunkd - Requesting Splunkd REST service keep-alive...&lt;BR /&gt;
2015-06-19 01:57:41.355 dbx5522:DEBUG:Splunkd - Performing Splunkd Request: RESTRequest{GET authentication/current-context/context}&lt;BR /&gt;
2015-06-19 01:57:41.364 dbx5522:INFO:Splunkd - Splunkd REST Keep-alive successful for user splunk-system-user&lt;BR /&gt;
2015-06-19 01:57:41.364 dbx5522:DEBUG:ExecutionContext - Destroying execution context...&lt;BR /&gt;
2015-06-19 01:57:41.364 dbx5522:INFO:ExecutionContext - Execution finished in duration=10 ms&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:17:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-v1-connects-to-the-database-successfully-but/m-p/161612#M185986</guid>
      <dc:creator>logmar5</dc:creator>
      <dc:date>2020-09-28T20:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect v1 connects to the database successfully but returns no results when I try any query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-v1-connects-to-the-database-successfully-but/m-p/161613#M185987</link>
      <description>&lt;P&gt;have you tried running something simple from the search screen like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbquery dbConnectionName  "select sysdate from dual"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This would return something immediately and validate if the connection to your db is actually in tact.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2015 03:09:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-v1-connects-to-the-database-successfully-but/m-p/161613#M185987</guid>
      <dc:creator>hogan24</dc:creator>
      <dc:date>2015-06-19T03:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect v1 connects to the database successfully but returns no results when I try any query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-v1-connects-to-the-database-successfully-but/m-p/161614#M185988</link>
      <description>&lt;P&gt;that sounds like you're browsing the database successfully but haven't actually built an input to index data with. You're probably very close to success.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2015 03:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-DB-Connect-v1-connects-to-the-database-successfully-but/m-p/161614#M185988</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2015-06-29T03:03:17Z</dc:date>
    </item>
  </channel>
</rss>

