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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...