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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...