Monitoring Splunk

Getting this error - then Splunkd crashes..

edenzler
Path Finder

Error in 'databasePartitionPolicy': Failed to read 1 event(s) from rawdata in bucket '_internal~235~8AD95516-6DE5-4CCF-82AA-19FD5902414E'. Rawdata may be corrupt, see search.log

I poked around here, just want to be sure that whatever I do doesn't destroy my instance.

Any direction/suggestions would be greatly appreciated.

Cheers,

Tags (3)
0 Karma

lukejadamec
Super Champion

It looks like you have a corrupt index (_internal).
You can run this command to check the index:

To check the metadata use this.

$SPLUNK/bin/splunk stop

$SPLUNK/bin/splunk cmd splunkd fsck --index _internal

To repair the metadata use this.

$SPLUNK/bin/splunk stop

$SPLUNK/bin/splunk cmd splunkd fsck --index _internal --mode metadata --repair

To rebuild the bucket use this.

$SPLUNK/bin/splunk stop

$SPLUNK/bin/splunk rebuild $SPLUNK/bin/splunk rebuild $SPLUNK/bin/splunk/var/lib/splunk/_internal/pathtobadbucket

Here is a link to a page that describes how to go about repairing indexes.
http://wiki.splunk.com/Check_and_Repair_Metadata

0 Karma

lmyrefelt
Builder

check also here for more / additional help / solution;

http://answers.splunk.com/answers/80882/corrupted-bucket-journal

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...