<?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: DBConnect 3.x Rising columns not working in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374033#M45360</link>
    <description>&lt;P&gt;i answer my own question about what i did -&amp;gt; &lt;A href="https://answers.splunk.com/answers/578394/splunk-db-connect-field-displays-no-matches-instea.html#answer-592380"&gt;https://answers.splunk.com/answers/578394/splunk-db-connect-field-displays-no-matches-instea.html#answer-592380&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2017 22:13:17 GMT</pubDate>
    <dc:creator>rrsal</dc:creator>
    <dc:date>2017-11-16T22:13:17Z</dc:date>
    <item>
      <title>DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374020#M45347</link>
      <description>&lt;P&gt;After migration to DBConnect 3.11 my SQL Statement won't work any more. It fails with an error in the UI.&lt;/P&gt;

&lt;P&gt;com.microsoft.sqlserver.jdbc.SQLServerException: The value is not set for the parameter number 1.&lt;/P&gt;

&lt;P&gt;I created a new Input in the Ui, first I run the stement with Batchmode by Execute Sql&lt;/P&gt;

&lt;P&gt;SELECT [Entry No_] as [Entry_No]&lt;BR /&gt;
      ,[Date and Time] as [Date_and_Time]&lt;BR /&gt;
      ,[Time] as [Time]&lt;BR /&gt;
      ,[User ID] as [User_ID]&lt;BR /&gt;
        FROM [table]&lt;/P&gt;

&lt;P&gt;Next I select Rising Column and select Enty_No (bigint) also added the following line to my SQL Statement&lt;/P&gt;

&lt;P&gt;WHERE Entry_No &amp;gt; ? ORDER BY Entry_No ASC&lt;/P&gt;

&lt;P&gt;When I run Execute SQL again, the above error is displayed.&lt;/P&gt;

&lt;P&gt;I created several Inputs with DB Connect 2.x and all of them worked. But now I cannot create a single one with 3.11&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:05:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374020#M45347</guid>
      <dc:creator>ugruner</dc:creator>
      <dc:date>2020-09-29T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374021#M45348</link>
      <description>&lt;P&gt;i think we got the same error. I put a image to explain:&lt;BR /&gt;
&lt;IMG src="https://image.prntscr.com/image/UkeEq290QuOIBQY_e20aCw.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;This happens in every input, including the already made (this are working because are made in dbconnect version 2.x.x). but they can be changed , why? when i try to select a Rising Column give me a "no matches"statement  &lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 14:25:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374021#M45348</guid>
      <dc:creator>rrsal</dc:creator>
      <dc:date>2017-10-04T14:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374022#M45349</link>
      <description>&lt;P&gt;Hi @ugruner,&lt;/P&gt;

&lt;P&gt;I got the same error first time when I was configuring new input but after that I figuered out that I need to select Connection,  Catalog, Schema, Table (All 4 items) and then I ran query it was working fine OR you can write your query as below after selecting Connection.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SELECT "Entry No" as Entry_No,"Date and Time" as Date_and_Time,Time
,"User ID" as User_ID FROM "&amp;lt;CATALOG&amp;gt;"."&amp;lt;SCHEMA&amp;gt;"."&amp;lt;TABLE&amp;gt;" WHERE Entry_No &amp;gt; ? ORDER BY Entry_No ASC
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Harshil&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:58:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374022#M45349</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-10-05T13:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374023#M45350</link>
      <description>&lt;P&gt;In windows environment, &lt;BR /&gt;
1. Splunk DB connect log files are stored in  C:\Program Files\Splunk\var\log\splunk folder&lt;BR /&gt;
     the files are  splunk_app_db_connect_*.log&lt;BR /&gt;
3. Splunk DB connect rising values are stored in  C:\Program Files\Splunk\var\lib\splunk\modinputs\server\splunk_app_db_connect&lt;BR /&gt;
     A file with the connection name stores the values of the rising column&lt;/P&gt;

&lt;P&gt;If rising columns are are not working, it is possible that  " C:\Program Files\Splunk\var\lib\splunk\modinputs\server\splunk_app_db_connect" folder is ready only. So DB Connect is not able to update the check point files with recent values.  Change the permissions on the folder/file to and Read+Write and rising columns should start working.&lt;/P&gt;

&lt;P&gt;It is not a must to specify each field in the Select statement. We can simply use * , for example&lt;BR /&gt;
"Select * from "SYSTEM"."CUSTOMERS" where CustomerID &amp;gt; ? ORDER by CustomerID ASC &lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Raja Rajesh&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:34:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374023#M45350</guid>
      <dc:creator>rajacybermak</dc:creator>
      <dc:date>2020-09-29T16:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374024#M45351</link>
      <description>&lt;P&gt;Hi @Harshil,&lt;/P&gt;

&lt;P&gt;I am facing the same issue and I tried following your method, however, in my case, there is no selection available in "table" column. &lt;/P&gt;

&lt;P&gt;Can you please advise how I can make this work ?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 02:25:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374024#M45351</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-11-08T02:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374025#M45352</link>
      <description>&lt;P&gt;Hi Raja,&lt;/P&gt;

&lt;P&gt;I am trying to follow your method, however, I am unable to remove the read-only attribute from properties of the dbconnect folder. No matter how many times, I uncheck the option or even use this command, [attrib -r "$Splunk_home$\etc\apps\splunk_app_db_connect*.*" ], the folder still shows the read-only option enabled.&lt;/P&gt;

&lt;P&gt;If you also have faced this issue and have been able to get around it, please suggest what solution did you implement.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Deven&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:35:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374025#M45352</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2020-09-29T16:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374026#M45353</link>
      <description>&lt;P&gt;Hi Deven,&lt;/P&gt;

&lt;P&gt;Try &lt;STRONG&gt;disable inheritance&lt;/STRONG&gt; for this folder  from windows advanced security settings&lt;/P&gt;

&lt;P&gt;Rgds&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 06:08:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374026#M45353</guid>
      <dc:creator>rajacybermak</dc:creator>
      <dc:date>2017-11-09T06:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374027#M45354</link>
      <description>&lt;P&gt;Hi Raja,&lt;/P&gt;

&lt;P&gt;I have disabled inheritance as well, however, it still shows "read-only (only applies to files in folder)" enabled on the folder. To add another point, files within the folder actually have read-only disabled. So, I am guessing read-only issue is resolved, however, it still shows, "no matches" in the rising column drop down of the dbconnect app. please help.&lt;/P&gt;

&lt;P&gt;Rgds,&lt;BR /&gt;
Dev&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 00:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374027#M45354</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-11-15T00:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374028#M45355</link>
      <description>&lt;P&gt;Hi @rrsal, &lt;BR /&gt;
If you were able to resolve this issue, please share your solution.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Dev&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 00:45:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374028#M45355</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-11-15T00:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374029#M45356</link>
      <description>&lt;P&gt;Hi Dev&lt;BR /&gt;
1. Try deleting the check point file in  "C:\Program Files\Splunk\var\lib\splunk\modinputs\server\splunk_app_db_connect". &lt;BR /&gt;
The check point file will automatically be created  at the next cycle.&lt;/P&gt;

&lt;P&gt;2.Try your query directly in DBConnect - SQL editor and see if the results are as expected&lt;/P&gt;

&lt;P&gt;Rgds&lt;BR /&gt;
Raja&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:47:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374029#M45356</guid>
      <dc:creator>rajacybermak</dc:creator>
      <dc:date>2020-09-29T16:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374030#M45357</link>
      <description>&lt;P&gt;Hi Dev,&lt;/P&gt;

&lt;P&gt;Note : You need to execute the query once to let the values for the Rising Column selector to be populated .&lt;/P&gt;

&lt;P&gt;Rgds&lt;BR /&gt;
Raja&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 07:20:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374030#M45357</guid>
      <dc:creator>rajacybermak</dc:creator>
      <dc:date>2017-11-15T07:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374031#M45358</link>
      <description>&lt;P&gt;Hi Raja,&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;There is no checkpoint file in that folder. the folder is empty. Probably because the input wasnt created.&lt;/LI&gt;
&lt;LI&gt;that query gave me an error, java.sql.SQLException: The user does not have permission to perform this action, however, I have already been provided db_datareader (i.e. read only) permissions. Below is my query,
SELECT * 
FROM sys.fn_get_audit_file ('C:\\SQLAudit\\*',default,default) 
WHERE event_time &amp;gt; '2017-11-08 00:12:00.000'
ORDER BY event_time ASC&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:48:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374031#M45358</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2020-09-29T16:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374032#M45359</link>
      <description>&lt;P&gt;Hi Dev&lt;BR /&gt;
Does not look like a DB connect issue here. Looks more like a permission issue on the audit file.&lt;BR /&gt;
For further diagnosis&lt;BR /&gt;
- Try to read from a regular table (instead of Audit file) in DB Connect as Batch and as rising and see if its working. &lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 09:08:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374032#M45359</guid>
      <dc:creator>rajacybermak</dc:creator>
      <dc:date>2017-11-16T09:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374033#M45360</link>
      <description>&lt;P&gt;i answer my own question about what i did -&amp;gt; &lt;A href="https://answers.splunk.com/answers/578394/splunk-db-connect-field-displays-no-matches-instea.html#answer-592380"&gt;https://answers.splunk.com/answers/578394/splunk-db-connect-field-displays-no-matches-instea.html#answer-592380&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 22:13:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374033#M45360</guid>
      <dc:creator>rrsal</dc:creator>
      <dc:date>2017-11-16T22:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374034#M45361</link>
      <description>&lt;P&gt;Pick a different schema.  This took me a while to figure out, but if you have picked a valid connection, then valid catalog, then a schema, if that schema has tables, they will be listed under 'Table'.  If that schema does not have tables, it will be blank.  Once you have tables listed, click on the one you want to use. &lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 18:23:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374034#M45361</guid>
      <dc:creator>reswob4</dc:creator>
      <dc:date>2018-07-18T18:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect 3.x Rising columns not working</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374035#M45362</link>
      <description>&lt;P&gt;Got the same error for v3. Adding the where clause seems to CustomerID &amp;gt; ? ORDER by CustomerID ASC solves the error.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jan 2019 10:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-3-x-Rising-columns-not-working/m-p/374035#M45362</guid>
      <dc:creator>choronz</dc:creator>
      <dc:date>2019-01-13T10:08:55Z</dc:date>
    </item>
  </channel>
</rss>

