Knowledge Management

Question about fixing data in a summary search

burwell
SplunkTrust
SplunkTrust

We have a summary search that runs every hour. I have read about the fill_summary_index.py

What i want to know is how do I fix data from several weeks ago. Things changed a few weeks ago and I need to adjust the summary search. Going forward things are good but how can I run the fill_summary_index.py and have it replace the data that is there?

I feel like with the dedup setting it would either skip or add into what I have. How do I replace for a time period.. or can I?

Thanks.

Tags (1)
0 Karma
1 Solution

somesoni2
Revered Legend

I generally delete the corrupted/incomplete data from summary index and then backfill.

View solution in original post

somesoni2
Revered Legend

I generally delete the corrupted/incomplete data from summary index and then backfill.

burwell
SplunkTrust
SplunkTrust

How do you delete the corrupt/incomplete data?

0 Karma

somesoni2
Revered Legend

We run the delete command to delete (technically it just makes the data unsearchable) the required data. We run a search with appropriate data-source (index/sourcetype/source/host) and time range, check if the search is returning the data that you want to delete, and then add "| delete " command at the end to delete/make-unsearchable the same. This link should give you more details on the delete command.

http://docs.splunk.com/Documentation/Splunk/4.3.2/Admin/RemovedatafromSplunk#Delete_data_from_future...

0 Karma

burwell
SplunkTrust
SplunkTrust

Thanks. If you post in the answers I will mark this as answered.

0 Karma

cmerriman
Super Champion

We do the same.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...