Other Usage

How to Properly Read results.csv.gz From Dispatch

morethanyell
Builder

After a successful saved-search run, the results can be found on the directory `$SPLUNK_HOME/var/run/splunk/dispatch/scheduler__...` 

We know that the result of the search is named `results.csv.gz` 

How do we read this in the OS level apps? Untarring it using `tar -xzvf` does not work.

 

Thanks

Labels (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

It's not a tarball so tar won't help.  It's just a CSV file compressed with gzip.  You should be able to view it using gunzip -c results.csv.gz | more

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

It's not a tarball so tar won't help.  It's just a CSV file compressed with gzip.  You should be able to view it using gunzip -c results.csv.gz | more

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

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...