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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...