All Apps and Add-ons

dbConnect restore deleted data

nandipatisunil
Path Finder

I had a database input which was getting data from a table.
I had to clean it up so that i can only get a subset of the columns.
So I deleted the records on Splunk by doing

sourcetype="dbmon..." | delete

after doing that i had removed the data i initially imported to splunk. however i see that that _internal index is still showing all those records. i am not sure how to clean up that.

Now my problem is ... when i try to chagne the query on my database input, though i save it ... i am not able to get the data back into splunk. Any help would be appreciated.

1 Solution

aelliott
Motivator

i usually clone the database input and the data goes back in, and disable (or delete) the old after you do.

View solution in original post

aelliott
Motivator

i usually clone the database input and the data goes back in, and disable (or delete) the old after you do.

aelliott
Motivator

Yeah it is a bug per araitz reply above

0 Karma

laiyongmao
Path Finder

I met the same problem as you, I think someone said setting a time stamp, but I think it is a bug.if you know please tell me how you solved it, thank you.

http://answers.splunk.com/answers/114009/dbconnect-update-data-error

0 Karma

araitz
Splunk Employee
Splunk Employee

Yeah, there is a known issue with the app (DBX-281) where there is a caching mechanism implemented in Java which becomes out of sync with splunkd. We are working on how to solve this problem, but for now the workaround in this answer is the best path.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...