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!

Introducing the Splunk Community Dashboard Challenge!

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

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...