<?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 How does throttle work in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-does-throttle-work/m-p/476868#M133850</link>
    <description>&lt;P&gt;I wonder how the throttling works if the last pipeline of the search is to redirect the results to different tools/software such as send the results to ticketing systems.  I got the repeat events in the ticketing system although the content in the throttling field was the same.&lt;BR /&gt;&lt;BR /&gt;
Any clues?  Thanks.&lt;/P&gt;

&lt;P&gt;Sample search and the field1 is the throttling field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blah blah ...
| eval field1=fieldx.last_report_time
| table field1 field2 field3, field4
| sendResultToTicket
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Jan 2020 17:21:24 GMT</pubDate>
    <dc:creator>lucas4394</dc:creator>
    <dc:date>2020-01-08T17:21:24Z</dc:date>
    <item>
      <title>How does throttle work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-throttle-work/m-p/476868#M133850</link>
      <description>&lt;P&gt;I wonder how the throttling works if the last pipeline of the search is to redirect the results to different tools/software such as send the results to ticketing systems.  I got the repeat events in the ticketing system although the content in the throttling field was the same.&lt;BR /&gt;&lt;BR /&gt;
Any clues?  Thanks.&lt;/P&gt;

&lt;P&gt;Sample search and the field1 is the throttling field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blah blah ...
| eval field1=fieldx.last_report_time
| table field1 field2 field3, field4
| sendResultToTicket
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jan 2020 17:21:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-throttle-work/m-p/476868#M133850</guid>
      <dc:creator>lucas4394</dc:creator>
      <dc:date>2020-01-08T17:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How does throttle work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-throttle-work/m-p/476869#M133851</link>
      <description>&lt;P&gt;My understanding of throttling is that it prevents alert actions from being triggered. Since a pipe command is still part of the search, I would guess that throttling would have no effect on preventing &lt;CODE&gt;| sendResultToTicket&lt;/CODE&gt; from occurring, because the search hasn't completed yet and can't be throttled. I think this because the front end says &lt;CODE&gt;After an alert is triggered, subsequent alerts will not be triggered until after the throttle period&lt;/CODE&gt;, but that doesn't say "they aren't run".&lt;/P&gt;

&lt;P&gt;As a suggestion on what you can do - create a csv that holds all the tickets you've "sendResultToTicketed", and add a search clause to blacklist those that have been created already. Then, for those that aren't blacklisted yet, run them through &lt;CODE&gt;sendResultToTicket&lt;/CODE&gt;, then add them to the blacklist. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blah blah ...
 | eval field1=fieldx.last_report_time
 | table field1 field2 field3, field4, ticket
 | search NOT [ |inputlookup ticketCsv.csv | table ticket ]
 | sendResultToTicket
| outputlookup append=t ticketCsv.csv 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 18:25:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-throttle-work/m-p/476869#M133851</guid>
      <dc:creator>aberkow</dc:creator>
      <dc:date>2020-01-08T18:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How does throttle work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-throttle-work/m-p/752164#M242590</link>
      <description>&lt;P&gt;To add to&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/208970"&gt;@aberkow&lt;/a&gt;&amp;nbsp;'s answer - throttling&lt;I&gt;&amp;nbsp;&lt;/I&gt;is a mechanism to interrupt the alert actions attached to the search object, meaning throttling rules are&amp;nbsp;applied&amp;nbsp;&lt;EM&gt;after&amp;nbsp;&lt;/EM&gt;a search completes:&lt;BR /&gt;Search completes &amp;gt; Check Alert conditions &amp;gt; Run alert actions if condition is true&lt;/P&gt;&lt;P&gt;When the `sendResultToTicket` command is within the SPL of the search, throttling configurations aren't considered at all, you'd need to incorporate logic that avoids executing that command if the ticket already exists, etc.&lt;/P&gt;&lt;P&gt;For your case, you'd need to set up `sendResultToTicket` as an alert action itself that executes on each result in order to utilize throttling (pointed to specific fields) as a means to avoid running the same action on the same set of result fields.&lt;/P&gt;&lt;P&gt;To update his answer a bit, the other way is to use in-SPL deduplication/throttling logic.&lt;BR /&gt;&lt;BR /&gt;You can preserve the original output by using appendpipe instead of filtering all the results matching the lookup. Appendpipe runs a subsearch on the current results in a nested scope, which lets you run commands and filter without affecting the outer search results (appendpipe results will be appended if you don't end with `| where false()` )&lt;BR /&gt;&lt;BR /&gt;I also changed the filter subsearch to use stats values() instead of a | table output to avoid subsearch limits of 50k.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;blah blah ...
 | eval field1=fieldx.last_report_time
 | table field1 field2 field3, field4, ticket
 | appendpipe 
    [| search NOT ticket IN [ 
        | inputlookup ticketCsv.csv 
        | search &amp;lt;desired condition, ie status="Open"&amp;gt; 
        | stats values(ticket) AS ticketIDsToFilter 
        | rename ticketIDsToFilter AS search 
        | eval search = "(\"" . mvjoin(search, "\", \"") . "\")" ]
    | sendResultToTicket
    | outputlookup append=t ticketCsv.csv 
    | where false() ]
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 19:01:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-throttle-work/m-p/752164#M242590</guid>
      <dc:creator>TheWoodRanger</dc:creator>
      <dc:date>2025-08-25T19:01:52Z</dc:date>
    </item>
  </channel>
</rss>

