Reporting

What is the best way to preservate data apart from indexing it?

3DGjos
Communicator

Hello, I have to preservate all the raw events that are stored in a 3 hour window of time and I need to be sure that data can be searcheable independently from the index my data is originally stored.

what would be the best way to achieve this? I mean, I can just store the data in a saved report. But my doubt is how to search that data as if I was looking in the original index. I mean I will need to investigate and make queries over the data in the future.

Labels (2)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Can you explain your requirements a little more?  I'm trying to reconcile "searcheable independently from the index" and "search that data as if I was looking in the original index".

See if this helps at all: https://community.splunk.com/t5/Archive/How-to-export-real-raw-events-from-Splunk/td-p/450147

---
If this reply helps you, Karma would be appreciated.
0 Karma

3DGjos
Communicator

Hello, thanks for your answer.

I have an index with lots of activity, that index does not have that much retention period. And it wont have.

So, I need a way to keep all events that were ingested in a certain period of time. I can export the events in raw or csv format, but that way they wont be "searchable" as I normally would do in splunk, I mean the file will be outside splunk. I can make another index and | collect the events to that new index, but im trying to avoid doing that.

what I need is to store the events, inside splunk and the events must be SPL-quereable. If I store them in a report, I don't know how to query those events from the report.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The only way to keep data SPL-searchable is to have them in an index.  Keeping them in an index means having the storage and retention, which you say you won't have.  You appear to be stuck between a rock and a hard place.

One possibility is to have this index preserve frozen data (via coldToFrozenScript or coldToFrozenDir) on a storage location apart from the indexes.  Perhaps S3.  Then you could stand up a standalone Splunk instance and copy those S3 buckets to the thawed directory.  All of your archived data is now searchable on the separate instance.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...