<?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: Splunk DB Connect 2: How to create a DB Input when NO Results are retrieved from the SQL query in that instance? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161302#M14973</link>
    <description>&lt;P&gt;Hello Alex,&lt;/P&gt;

&lt;P&gt;in the inputs.conf one needs to provide &lt;CODE&gt;input_timestamp_column_number&lt;/CODE&gt; and &lt;CODE&gt;tail_rising_column_number&lt;/CODE&gt;. How do we get the column number manually if there is no result to the query yet?&lt;BR /&gt;
How are the columns counted anyway? And why is &lt;CODE&gt;*column_name&lt;/CODE&gt; not sufficient?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Thomas&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2015 16:39:51 GMT</pubDate>
    <dc:creator>Skorfulose</dc:creator>
    <dc:date>2015-11-02T16:39:51Z</dc:date>
    <item>
      <title>Splunk DB Connect 2: How to create a DB Input when NO Results are retrieved from the SQL query in that instance?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161299#M14970</link>
      <description>&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/538i2BFA9487D7829B4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;we observed a few issues with DB connect 2 app &lt;/P&gt;

&lt;P&gt;In DB connect 2 , the “Continue” button is disabled and we are unable to create a “New DB Input” when no results are retrieved in that instance. When trying to create DB Inputs for queries that may fetch results later on, this is not possible. Can you please check and let us know an alternative to this?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 15:05:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161299#M14970</guid>
      <dc:creator>dsuryaavinash</dc:creator>
      <dc:date>2015-08-05T15:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: How to create a DB Input when NO Results are retrieved from the SQL query in that instance?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161300#M14971</link>
      <description>&lt;P&gt;You would need to create the db input manually via inputs.conf.  Because there is no data in the source table, the UI can't guide you through selecting timestamp and rising column fields in order to prevent configuration errors.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 17:23:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161300#M14971</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2015-08-06T17:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: How to create a DB Input when NO Results are retrieved from the SQL query in that instance?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161301#M14972</link>
      <description>&lt;P&gt;Ya , but in any case it is a scheduled DB input and if that instance doesnt produce an output , we will be unable to create the DB input. We worked on DB Connect 1 and i dont remember  having faced this issue.&lt;/P&gt;

&lt;P&gt;By the way we figured out a solution using -- DATA Inputs --&amp;gt; Splunk DB Connect Input Service --&amp;gt; Add new&lt;/P&gt;

&lt;P&gt;Thanks for the reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2015 15:55:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161301#M14972</guid>
      <dc:creator>dsuryaavinash</dc:creator>
      <dc:date>2015-08-11T15:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: How to create a DB Input when NO Results are retrieved from the SQL query in that instance?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161302#M14973</link>
      <description>&lt;P&gt;Hello Alex,&lt;/P&gt;

&lt;P&gt;in the inputs.conf one needs to provide &lt;CODE&gt;input_timestamp_column_number&lt;/CODE&gt; and &lt;CODE&gt;tail_rising_column_number&lt;/CODE&gt;. How do we get the column number manually if there is no result to the query yet?&lt;BR /&gt;
How are the columns counted anyway? And why is &lt;CODE&gt;*column_name&lt;/CODE&gt; not sufficient?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 16:39:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161302#M14973</guid>
      <dc:creator>Skorfulose</dc:creator>
      <dc:date>2015-11-02T16:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: How to create a DB Input when NO Results are retrieved from the SQL query in that instance?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161303#M14974</link>
      <description>&lt;P&gt;It’s still kind of weird Splunk mentions this is done to prevent configuration errors, but the only workaround now is to go to another input option which does NOT check on validation &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;However, the workaround from dsuryaavinash (thnx!) to this suggestion is a valid one: create in the regular DBConnect V2 interface the query and settings and use a dummy query like ‘select 1 from DUAL’ and after saving edit it in the data inputs/DB Connect input service. (but again, this does not validate if the query is correct). Everyone I speak using DBConnect can't understand this logic.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 09:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-How-to-create-a-DB-Input-when-NO-Results-are/m-p/161303#M14974</guid>
      <dc:creator>tweaktubbie</dc:creator>
      <dc:date>2016-11-29T09:57:38Z</dc:date>
    </item>
  </channel>
</rss>

