Hello and welcome back to the Splunk Enterprise Certified Administrator course on Cyber. In this video, we're going to be doing a lab where we take some frozen data and we thought it and then I'll show you in search that we're now able to look at that data again. So before we get started a moon, a head over to my indexer
and I'm gonna show you setting really quick
just because I made a mistake in a previous video where we set up the windows index. So I want to go over what change you have to make to make sure that you're frozen thought directory work properly. So
let's run this beetle on indexes
and only show the windows. So if you look here, uh, we remember in our cold path old path, frozen path, we
all in all of those we use this index name variable. Well, it turns out that that does not work in frozen directory or the thought db directory. So I had to go back and change this toe, actually explicitly say windows for to work.
Otherwise you would just get an archive and then this literal string instead of
it changing out to the windows variable value. So I'd fix those two things and then also, to get some frozen data, I had to change my frozen time period in seconds to a short enough time and also set my max total data size
small enough so that the data would roll to frozen.
So if you were trying to follow along, those are a couple settings you would have to change to get some data in your frozen DB sled. You can actually do this process.
But as you can see, uh, I'm in this windows frozen BB now, and I do have two frozen directories,
So first I'm gonna demonstrate. So this is where all of our Windows data is over the past 24 hours. You see, sometime at five o'clock is our earliest data. Right now, I'm gonna run this command
So the earliest event we have is 5 37 53 But once we unfreeze the status or thought it, it's going to change that. So let's get started on that. So the process is pretty simple. All I have to do is move this directory into the fold path
and then run the rebuild command.
And then that data will be searchable again.
So we'll just to copy db
uh, and we'll make sure we get the right one for 46
and we will move that to opt Splunk Far lib
You'll obviously substitute this out with whatever you're
index path is. If you use that Splunk db, it's going to translate to this by default,
so we'll copy that over their books.
Since this is a directory, we have to copy recursive lee.
So now that's copied. And if you want to see, I will show you.
You can say that this is now in there. So we're going to now run the Splunk Rebuild Command. It's a pretty simple command. All you do is stay strong, rebuild and then give it the absolute path off the bucket that you want to rebuild.
haste, and we'll just press tab because that'll auto fill
and then we'll run this.
specify the index at the end, I believe.
Actually, let's check to see if that works because I'm not 100% sure. If we have to run that or not
has gotten later because we added more data in. So, uh, that means the data, so that shouldn't actually contribute to the deaths size. But that value did not get earlier, which means it didn't actually rebuild this. So let's specify Windows and this error message probably does it give away,
You see, index equals blank.
So it's probably because we didn't specify our index right here. So we'll do that.
And rebuild took X seconds, which means it was successful. So if we run this again,
you would expect to see an earlier time.
Yeah, you could see. Okay, so, um, I just misreading.
Oh, yeah, I am miss reading because today's the 30th. So this says the earliest event was 7 29
at 7 p.m. Hopefully, my quick math is right.
So you can see we actually did
successfully rebuild that data. It's now searchable again. So if I clicked right here, this is data that was not
previously in here. It's from yesterday.
So that's a pretty straightforward process. Some things to note is this data will now stay in here
basically indefinitely. The only thing I would cause this data to go away is if I delete that thought db
But otherwise this will stay in here indefinitely. That rules the normal rules to an index Onley apply to the home like the cold, warm, the hot paths they don't apply Teoh the fall db. So until I Until I'm done with this data and I delete it, it'll stay there. But I'll demonstrate to that. If I just remove this,
so weary of that. And then if we were on our search again, whips steam library again,
you can see now our race latest event is again at around the five o'clock more. So that's how you, uh, basically thought data move it into search into being searchable again, and then subsequently remove it when you're finished with the data. So,
yeah, that's everything you need to know about how to thaw data, and
that wraps up this video so we'll see you in the next one