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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...