All Apps and Add-ons

DB Connect - Data Input Query and Error Received of - DB Input definition cannot continue with an empty table in Rising Column mode

Path Finder

I'm new to using Splunk so please could someone clarify this issue for me.
I added data using DB connect to a SQL Server view.
The first time I added a Data Input I used Batch Input as my selection of Data which is a list of people lets say....
On later querying this data is Search and Reporting I had numerous duplicates for Individuals which messed up my result set.
So I tried a new Data Input using a Rising column of a unique primary key of PeopleID for example.

Today on checking the Data Input has not added any NEW records and is displaying an error of
DB Input definition cannot continue with an empty table in Rising Column mode

The Rising Column is a Primary Key and does not contain any empty values in source.
On running the view it's connecting to there are new records which have not been added.

Please can someone explain how I use a Data Input that will add new records or updated records ?


0 Karma

Path Finder

Hi, this post was some time back. To be honest I ended up going back to an older version of DBX and this resolved the problem I had.
In the older version I use at the moment I only have a select on the table as the query with no where clause or order by needed, then in the UI you specify the rising column from a drop down field and DBX does the rest.
In the newer versions I think I tested removing the order by clause and this too made a difference. Good luck.

0 Karma

Path Finder

Oh and sorry the query I'm using for DB connect and the rising column looks a bit like this example ;

FROM "Utilities"."dbo"."People"
Where PeopleID >?
ORDER BY PeopleID asc

0 Karma


I have the same issue. And my SQL query looks like yours (Date>? ORDER BY Date asc)
Does this happen because no PeopleID greater than current checkpoint value found in database? (no more data in DB)

0 Karma
Get Updates on the Splunk Community!

What’s new on Splunk Lantern in August

This month’s Splunk Lantern update gives you the low-down on all of the articles we’ve published over the past ...

Welcome to the Future of Data Search & Exploration

You have more data coming at you than ever before. Over the next five years, the total amount of digital data ...

This Week's Community Digest - Splunk Community Happenings [8.3.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...