Deployment Architecture

Is there any way to re-create the TSIDX files reduced by enabletsidxredctuon?

justodaniel
Path Finder

Is there any way to re-create the TSIDX files by journal.gz?

Previously we had enabled the walls:
enabletsidxredctuon = 1
timePeriodInSecBeforeTsidxReduction = 2592000

And now we're having problems with searches that need to fetch data older than 1 month. returning the following alert:
"Search on most recent data has completed. Expect slower search sppeds as we search teh reduced buckets."

We understand that by the configuration we did we ended up deleting the older TSIDX, but now we need a way to recreate them. It's possible?

Tags (2)
1 Solution

acharlieh
Influencer

After you restore the settings to not do it anymore the steps to perform to rebuild the full tsidx buckets is documented: https://docs.splunk.com/Documentation/Splunk/7.1.1/Indexer/Reducetsidxdiskusage#Restore_reduced_buck...

View solution in original post

justodaniel
Path Finder

I read the KB:
http://docs.splunk.com/Documentation/Splunk/7.1.1/Indexer/Bucketissues#Rebuild_a_single_bucket
and with the knowledge acquired I followed the following steps to solve the problem:
I stopped Splunk
I invoked the following command:
splunk fsck repair --all-buckets-one-index --index-name = main
After 4 hours the command ended I started Splunk again and the problem had been solved.
Thanks a lot for the help!

0 Karma

acharlieh
Influencer

After you restore the settings to not do it anymore the steps to perform to rebuild the full tsidx buckets is documented: https://docs.splunk.com/Documentation/Splunk/7.1.1/Indexer/Reducetsidxdiskusage#Restore_reduced_buck...

justodaniel
Path Finder

Unfortunately I ran the command in all bucket that was missing the .rbsentinel file, done that I started Splunk again but the problem of slowness for older dates still persists. Is there anything else that can be done?
thanks for the help @acharlieh

0 Karma

justodaniel
Path Finder

I've been on the path: / opt / splunk / var / lib / splunk / defaultdb / db
And I ran the command on every bucket that did not have a ..rbsentinel file
After the executed command the files have been recreated but the slowness continues.

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 ...