Splunk Enterprise

Raw data back to files

ankithreddy777
Contributor

Is there a way to convert all the raw data of a particular index to a file.

We have ingested data from files to splunk. The rawdata of that index is over 500GB. We would like to convert the raw data back to files and store data on other external storages for other purpose. Is it possible to do so.

Tags (2)
0 Karma

hardikJsheth
Motivator

Easiest way would be, Run a python script which runs splunk search , fetches data and put it into file.

gcusello
SplunkTrust
SplunkTrust

Hi ankithreddy777,
you can run a search like

index=myindex

and then use the export button (on the high right) choosing the "raw data" option as export format (the other are csv, xml and json).
Otherwise you can add the outputtext command to the previous search (see https://docs.splunk.com/Documentation/Splunk/6.6.2/SearchReference/Outputtext ) but in this case you export index on the server.
Bye.
Giuseppe

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...