<?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: Why my Splunk alert only include 1000 results in attached csv? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177131#M2953</link>
    <description>&lt;P&gt;I have tested the modify...&lt;BR /&gt;
 nothing new happened. The vodoo remains... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Oct 2014 16:53:55 GMT</pubDate>
    <dc:creator>mekamundia</dc:creator>
    <dc:date>2014-10-31T16:53:55Z</dc:date>
    <item>
      <title>Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177125#M2947</link>
      <description>&lt;P&gt;Hi to all,&lt;BR /&gt;
I am a real newbie in Splunk. Sorry for my simple question, but I really need help.&lt;BR /&gt;
I have set an automated alert on Splunk that collects over 8000 results when triggered. I tried dispatch those results by email in a .csv document, but Splunk only attach first 1000 results  to the file. Vice versa when I relaunched  the search manually, it made easily a complete csv document.&lt;BR /&gt;
How I can extend the number of results in mail attachment ? &lt;BR /&gt;
I also read the  topic &lt;STRONG&gt;Splunk Alert only includes first 1000 results of search. Why?&lt;/STRONG&gt;  but it seems to me does not gave a solution to this problem: (&lt;EM&gt;there seems to be some hard-coded voodoo going on behind the scenes. And for whatever reason, that voodoo wants to keep your from sending more than 1,000 events in your email&lt;/EM&gt;)&lt;BR /&gt;
thanks in advance for every tip&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 10:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177125#M2947</guid>
      <dc:creator>mekamundia</dc:creator>
      <dc:date>2014-10-30T10:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177126#M2948</link>
      <description>&lt;P&gt;Hi mekamundia,&lt;/P&gt;

&lt;P&gt;you can apply some anti-voodoo globally in &lt;CODE&gt;alert_actions.conf&lt;/CODE&gt; by setting &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
maxinputs = &amp;lt;YourNewMaxResultNumber&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or per saved search/ alert in &lt;CODE&gt;savedsearch.conf&lt;/CODE&gt; like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;action.email.maxinputs = &amp;lt;YourNewMaxResultNumber&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps to fight the Voodoo &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 10:30:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177126#M2948</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-10-30T10:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177127#M2949</link>
      <description>&lt;P&gt;Hi MuS&lt;/P&gt;

&lt;P&gt;Yesterday  I have applied the modify to alert_actions. conf and  restarted the search head (where the search is saved and runs).&lt;BR /&gt;
But the wodoo remains :(...&lt;/P&gt;

&lt;P&gt;What i missed?&lt;BR /&gt;
I need some more tips !&lt;/P&gt;

&lt;P&gt;cheers,&lt;BR /&gt;
Mekamundia&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 08:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177127#M2949</guid>
      <dc:creator>mekamundia</dc:creator>
      <dc:date>2014-10-31T08:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177128#M2950</link>
      <description>&lt;P&gt;Did you try the &lt;CODE&gt;action.email.maxinputs&lt;/CODE&gt; in &lt;CODE&gt;savedsearch.conf&lt;/CODE&gt; as well?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 08:47:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177128#M2950</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-10-31T08:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177129#M2951</link>
      <description>&lt;P&gt;uuppsss, looks like the maxinputs belongs to the &lt;CODE&gt;[default]&lt;/CODE&gt; stanza and not the &lt;CODE&gt;[email]&lt;/CODE&gt; in &lt;CODE&gt;alert_actions.conf&lt;/CODE&gt; - sorry my bad&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 08:51:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177129#M2951</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-10-31T08:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177130#M2952</link>
      <description>&lt;P&gt;Ok, I'll try again modifying [default] stanza. &lt;BR /&gt;
The search runs at night: tomorrow i'llsee the results.&lt;/P&gt;

&lt;P&gt;Thanks for your support !&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 08:54:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177130#M2952</guid>
      <dc:creator>mekamundia</dc:creator>
      <dc:date>2014-10-31T08:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177131#M2953</link>
      <description>&lt;P&gt;I have tested the modify...&lt;BR /&gt;
 nothing new happened. The vodoo remains... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 16:53:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177131#M2953</guid>
      <dc:creator>mekamundia</dc:creator>
      <dc:date>2014-10-31T16:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177132#M2954</link>
      <description>&lt;P&gt;Try maxresults attribute in alert_actions.conf and action.email.maxresults in savedsearches.conf for your search&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 18:38:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177132#M2954</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-10-31T18:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177133#M2955</link>
      <description>&lt;P&gt;Nothing  to do.... again.&lt;BR /&gt;
Sorry somesoni2 but also your solution does not work.&lt;BR /&gt;
I wait for new tips from everybody.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2014 10:38:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177133#M2955</guid>
      <dc:creator>mekamundia</dc:creator>
      <dc:date>2014-11-06T10:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177134#M2956</link>
      <description>&lt;P&gt;the limits are in 2 places :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;in alert_actions maxresults=10000&lt;/LI&gt;
&lt;LI&gt;in alert_actions in the command calling the email script.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;you can redefine this in our local/alert_actions.conf&lt;/P&gt;

&lt;P&gt;Here is a way to bump the limit to 50000 for the email alerts only. (on 6.2.0, please adapt the command to your version)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[email]
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{default=50000}$" maxtime="$action.email.maxtime{default=5m}$" results_file="$results.file$"

maxresults=50000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Nov 2014 18:20:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177134#M2956</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-11-19T18:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177135#M2957</link>
      <description>&lt;P&gt;Using the Web GUI, modify just this one report you want to change. Try to go into Edit - Advanced Edit. The scroll down to action.email.maxresults . The default value is there for 10000. Add another zero (0) so it reads 100000.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/120i2742E3F5D1D43BC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 14:13:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/177135#M2957</guid>
      <dc:creator>jaxjohnny2000</dc:creator>
      <dc:date>2019-07-18T14:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why my Splunk alert only include 1000 results in attached csv?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/686017#M15976</link>
      <description>&lt;P&gt;This is an ancient thread, but bears updating.&lt;/P&gt;&lt;P&gt;As of 9.1.x, this is what I see:&lt;/P&gt;&lt;P&gt;Default is 10K lines.&amp;nbsp; You need to change it in alert_actions.conf.&amp;nbsp; Any change there will propagate to "Advanced Edit" for a saved search; there is no need to change the value there.&lt;/P&gt;&lt;P&gt;If the mail doesn't come through, look through splunkd logs for&amp;nbsp;"Message size exceeds fixed limit" as many mailers reject attachments larger than a given size (10M is typical)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 21:29:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-my-Splunk-alert-only-include-1000-results-in-attached-csv/m-p/686017#M15976</guid>
      <dc:creator>andygerberkp</dc:creator>
      <dc:date>2024-04-30T21:29:34Z</dc:date>
    </item>
  </channel>
</rss>

