<?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: How to send alert search results as an email CSV attachment for more than 10,000 events? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151662#M2457</link>
    <description>&lt;P&gt;Did you restart/refresh after making this change? What version of Splunk you have?&lt;/P&gt;</description>
    <pubDate>Mon, 03 Aug 2015 20:14:38 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2015-08-03T20:14:38Z</dc:date>
    <item>
      <title>How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151661#M2456</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I would like to send more than hundred thousand (100,000) events as a CSV attachment to email. When I fire this search with this requirement, I get a message in email as &lt;STRONG&gt;Only the first 10000 of 123968 results are included in the attached csv&lt;/STRONG&gt;. I have tried changing the configuration file at  &lt;CODE&gt;$Splunk_Home\etc\system\local\alert_action.conf&lt;/CODE&gt;  with &lt;CODE&gt;[default] maxresults=10000&lt;/CODE&gt; to &lt;CODE&gt;maxresults=100000&lt;/CODE&gt;, but all in vain. &lt;/P&gt;

&lt;P&gt;People to whom I will send this report are not supposed to access the Splunk Server, so am email attachment is only option for now. &lt;/P&gt;

&lt;P&gt;Thanks in advance &lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 10:26:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151661#M2456</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2015-08-03T10:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151662#M2457</link>
      <description>&lt;P&gt;Did you restart/refresh after making this change? What version of Splunk you have?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 20:14:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151662#M2457</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-03T20:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151663#M2458</link>
      <description>&lt;P&gt;You can increase the limit by updating following attribute in alert_actions.conf file&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[email]
maxresults = 100000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Aug 2015 20:16:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151663#M2458</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-03T20:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151664#M2459</link>
      <description>&lt;P&gt;yes @somesoni2 i did make changes and restarted it , dint work &lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2015 04:39:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151664#M2459</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2015-08-04T04:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151665#M2460</link>
      <description>&lt;P&gt;[default] &lt;BR /&gt;
&lt;STRONG&gt;maxresults=100000&lt;/STRONG&gt;&lt;BR /&gt;
[email]&lt;BR /&gt;
command = $action.email.preprocess_results{default=""}$ | sendemail "results_link=$results.url$" "ssname=$name$" "graceful=$graceful{default=True}$" "trigger_time=$trigger_time$" maxinputs="$action.email.maxresults{&lt;STRONG&gt;default=100000&lt;/STRONG&gt;}$" maxtime="$action.email.maxtime{default=5m}$" results_file="$results.file$"&lt;/P&gt;

&lt;P&gt;i have provided following changes , now i am facing a limit of 50000 records in my csv attachment&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:55:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151665#M2460</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2020-09-29T06:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151666#M2461</link>
      <description>&lt;P&gt;Hi , Did you get around the 50,000 record limit?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 09:18:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151666#M2461</guid>
      <dc:creator>hkgserverteam</dc:creator>
      <dc:date>2016-01-05T09:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151667#M2462</link>
      <description>&lt;P&gt;@hkgserverteam  i am still facing this issue. did u resolve this 50000 record limit?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 12:25:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151667#M2462</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2016-03-01T12:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151668#M2463</link>
      <description>&lt;P&gt;@hkgserverteam are you still facing issue. yeah i have made to 50000 record limits &lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 11:54:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151668#M2463</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2016-04-11T11:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151669#M2464</link>
      <description>&lt;P&gt;I'm facing the same issue. Did any one overcome the limit of 50k.&lt;BR /&gt;
I need to create an alert to send 250,000 records in the CSV attachment.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 23:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151669#M2464</guid>
      <dc:creator>angajalaprabhu</dc:creator>
      <dc:date>2016-09-26T23:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to send alert search results as an email CSV attachment for more than 10,000 events?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151670#M2465</link>
      <description>&lt;P&gt;After playing around with this I was able to get over the 10k or 50k results. This required all 3 settings on the search head.&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/system/local/limits.conf&lt;BR /&gt;
[scheduler]&lt;BR /&gt;
max_action_results = 175000&lt;/P&gt;

&lt;P&gt;[searchresults]&lt;BR /&gt;
maxresultrows = 175000&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/system/local/alert_actions.conf&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
maxresults = 175000&lt;/P&gt;

&lt;P&gt;this enables an email alert containg a .csv to have 175k rows&lt;/P&gt;

&lt;P&gt;Note: When I pushed the same configs from deployer and they ended up in an app/default as it should, but my .csv was limited to 10k rows.. when i put it straight on $SPLUNK_HOME/etc/system/local via cli on each member I got 175k rows in the csv&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-alert-search-results-as-an-email-CSV-attachment-for/m-p/151670#M2465</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2020-09-29T14:16:45Z</dc:date>
    </item>
  </channel>
</rss>

