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!

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 ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...