<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can we zip CSV files before emailing them? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-zip-CSV-files-before-emailing-them/m-p/115326#M24124</link>
    <description>&lt;P&gt;Can we zip files before sending them as email? &lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| outputcsv Splunk.csv | zip splunk.csv  | sendmail to =splunk@splunk.com
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 20 May 2015 19:22:59 GMT</pubDate>
    <dc:creator>AdamJordan</dc:creator>
    <dc:date>2015-05-20T19:22:59Z</dc:date>
    <item>
      <title>Can we zip CSV files before emailing them?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-zip-CSV-files-before-emailing-them/m-p/115326#M24124</link>
      <description>&lt;P&gt;Can we zip files before sending them as email? &lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| outputcsv Splunk.csv | zip splunk.csv  | sendmail to =splunk@splunk.com
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 May 2015 19:22:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-we-zip-CSV-files-before-emailing-them/m-p/115326#M24124</guid>
      <dc:creator>AdamJordan</dc:creator>
      <dc:date>2015-05-20T19:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can we zip CSV files before emailing them?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-we-zip-CSV-files-before-emailing-them/m-p/115327#M24125</link>
      <description>&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/140208/how-to-compress-csv-file-and-email-it-on-unix-platform.html"&gt;http://answers.splunk.com/answers/140208/how-to-compress-csv-file-and-email-it-on-unix-platform.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;Or you could create a custom command to facilitate, but there are licensing issues to contend with.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 19:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-we-zip-CSV-files-before-emailing-them/m-p/115327#M24125</guid>
      <dc:creator>mcrawford44</dc:creator>
      <dc:date>2015-05-20T19:33:20Z</dc:date>
    </item>
  </channel>
</rss>

