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

EmEdwards
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 ?

Thanks

0 Karma

EmEdwards
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

EmEdwards
Path Finder

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

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

0 Karma

wsmworkhard
Explorer

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!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...