<?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 Re: Send email alerts in gz format in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363613#M6397</link>
    <description>&lt;P&gt;I finally created my own app with a script that reads the results_file, cleans the metadata columns, creates a gzip and attaches it to an email. The recipients can be configured with a defined user interface:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/rmacian/splunk-gzip-alerts"&gt;https://github.com/rmacian/splunk-gzip-alerts&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jun 2018 16:59:35 GMT</pubDate>
    <dc:creator>dsmc_adv</dc:creator>
    <dc:date>2018-06-05T16:59:35Z</dc:date>
    <item>
      <title>Send email alerts in gz format</title>
      <link>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363607#M6391</link>
      <description>&lt;P&gt;I want to get more than 10000 results and after reading some answers about the limits in the email and I realized that if I bump from 10000 to 500000 results I will have a huge file that I will not be able to send by email. So I started to attack this.&lt;/P&gt;

&lt;P&gt;My first thought was to directly send with a custom alert action. A ptyhon script that emails the results_file through as is easy accessible by the results_file payload but this gives me raw results that I will have to parse (how?). The other alternative is to modify the default email script for my specific app. Any advice ?&lt;/P&gt;

&lt;P&gt;Is strange that the default email action only sends plain csv files and not give the option of compressing it.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:15:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363607#M6391</guid>
      <dc:creator>dsmc_adv</dc:creator>
      <dc:date>2020-09-29T19:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Send email alerts in gz format</title>
      <link>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363608#M6392</link>
      <description>&lt;P&gt;I'm not sure about exact answer but there's another nice app on splunkbase, it might help you.  you can export splunk data to google spreadsheet and create alert..&lt;/P&gt;

&lt;P&gt;Google Import/Export&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/2630/"&gt;https://splunkbase.splunk.com/app/2630/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 10:27:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363608#M6392</guid>
      <dc:creator>burakcinar</dc:creator>
      <dc:date>2018-04-26T10:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Send email alerts in gz format</title>
      <link>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363609#M6393</link>
      <description>&lt;P&gt;This app involves lookups and if I add a lookup with a 500000 results the bundle size would be affected, but thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 10:51:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363609#M6393</guid>
      <dc:creator>dsmc_adv</dc:creator>
      <dc:date>2018-04-26T10:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Send email alerts in gz format</title>
      <link>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363610#M6394</link>
      <description>&lt;P&gt;It is very easy to run a splunk search from the CLI.  Just login to CLI on your search head, and do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk "your search here" &amp;gt; YourFileHere
tar czvf YourFileHere.tgz ./YourFileHere
YourCommandHereToSendEmail
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can put this in a script and then &lt;CODE&gt;cron&lt;/CODE&gt; it.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 14:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363610#M6394</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-04-26T14:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Send email alerts in gz format</title>
      <link>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363611#M6395</link>
      <description>&lt;P&gt;That would be super easy for me that  I have rights to access with the splunk cli but the user, who defines the search in the ui and wants to get the results doesn't.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 16:36:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363611#M6395</guid>
      <dc:creator>dsmc_adv</dc:creator>
      <dc:date>2018-05-03T16:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Send email alerts in gz format</title>
      <link>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363612#M6396</link>
      <description>&lt;P&gt;You will have to build your own &lt;CODE&gt;modular alert&lt;/CODE&gt; to do this.  It would be REALLY easy and make a fine project for an intern.  I checked and I could not find anything on SplunkBase to do this, but maybe you search better than I do.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 18:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363612#M6396</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-05-03T18:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Send email alerts in gz format</title>
      <link>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363613#M6397</link>
      <description>&lt;P&gt;I finally created my own app with a script that reads the results_file, cleans the metadata columns, creates a gzip and attaches it to an email. The recipients can be configured with a defined user interface:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/rmacian/splunk-gzip-alerts"&gt;https://github.com/rmacian/splunk-gzip-alerts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 16:59:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Send-email-alerts-in-gz-format/m-p/363613#M6397</guid>
      <dc:creator>dsmc_adv</dc:creator>
      <dc:date>2018-06-05T16:59:35Z</dc:date>
    </item>
  </channel>
</rss>

