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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...