Getting Data In

Can we zip CSV files before emailing them?

AdamJordan
Engager

Can we zip files before sending them as email?

For example:

| outputcsv Splunk.csv | zip splunk.csv  | sendmail to =splunk@splunk.com

mcrawford44
Communicator

http://answers.splunk.com/answers/140208/how-to-compress-csv-file-and-email-it-on-unix-platform.html

You could create a script that does this outside of the web interface via CLI, but there is no native compression mechanism command to use in a query.

Or you could create a custom command to facilitate, but there are licensing issues to contend with.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...