Knowledge Management

On-prem to Smartstore migration issues- Why are the event counts not matching?

bsrikanthreddy5
Path Finder

Hi, 

We are migrating our cluster from on-prem to a smart-store enabled cluster in AWS, a few indexes at a time, during which process event counts is not matching in some cases.

Case1: Eventcount in aws cluster is less than event count in on-prem

Case2: Eventcount in aws cluster is more than event count in on-prem


Any idea what might cause the event count, not to match? 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

How are you migrating the data?

How are you counting the data in each location?  Are you sure the data has finished migrating before you count it?

---
If this reply helps you, Karma would be appreciated.
0 Karma

bsrikanthreddy5
Path Finder

I have added below stanza on my on-prem indexes.conf and server.conf

indexes.conf

[volume:splunk]
storageType = remote
path = s3://<bucketName>
remote.s3.endpoint = https://s3.us-east-2.amazonaws.com
remote.s3.encryption = sse-kms
remote.s3.kms.key_id =
remote.s3.access_key =
remote.s3.secret_key =

Server.conf
[cachemanager]
max_concurrent_uploads = 2
eviction_policy = noevict
hotlist_recency_secs = 3888000

adding remotePath = volume:splunk/$_index_name specific index which I plan to migrate and rolling restart the indexer cluster. 

I am using below commands to compare  the event count .  
| tstats count where index=<IndexName> by index
| dbinspect index=<IndexName> | dedup bucketId |  stats sum(eventCount) by index

I am monitoring the migration status using  below command on CM.

/opt/splunk/bin/splunk search "|rest /services/admin/cacheman/_metrics |fields splunk_server migration*" -auth admin:$(cat /etc/splunk/password) . 

 

Tags (1)
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

  &#x1f680; 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 ...