All Apps and Add-ons

How to ensure data consistency after DBConnect migration from v1 to v2?

varad_joshi
Communicator

So my Db Conenct fetches the data from the database and dumps it in an index.

I upgraded DB Connect by installing v2 of DB Connect and ran those 3 awesome scripts to migration all the DBs and connections and identities.

Which is the way to ensure DB has not missed fetching any data during the upgrade phase.

0 Karma

cmerriman
Super Champion

You could compare what the DB Connect is showing to what is actually in your DB table(s)? Might not be the best method, but doing some field comparisons could be pretty automated, depending on the data.

0 Karma

varad_joshi
Communicator

DB will have hundreds of records. Its difficult to compare fields and values 😞

0 Karma

cmerriman
Super Champion

is it possible to grab what is in your index index=dbIndex and do an |addcoltotals or a |stats count or dc for all fields and then do a |dbxquery connection=db query="select * from dbTable" and then do the same |addcoltotals or |stats command to the end and see if they come out the same? Just make sure if they have time frames that they're looking at the same one.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...