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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...