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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...