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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...