<?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 Search pooling and alerting in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193117#M55549</link>
    <description>&lt;P&gt;Hi-&lt;/P&gt;

&lt;P&gt;I am setting up search pooling on splunk 5.0.7 and testing alerts.&lt;/P&gt;

&lt;P&gt;I have two search heads in the pool behind a load balancer.&lt;/P&gt;

&lt;P&gt;When i set up the alert on one of the heads, it runs on both (which is the expected behavior), but I receive two copies of the same alert one from each search head in my mailbox.&lt;/P&gt;

&lt;P&gt;Since i have configured the alert_actions to use my load balancer hostname instead of the search heads, if i click on the link in the email and get redirected to the search head that did not trigger the alerts, I get "The search you requested could not be found" message.&lt;/P&gt;

&lt;P&gt;Is there something I should do to avoid duplicate alerts sent?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;BR /&gt;
N~&lt;/P&gt;

&lt;P&gt;PS.  I have seen a couple of this same question posted to splunk answers in the past, with no answer. &lt;/P&gt;</description>
    <pubDate>Tue, 18 Mar 2014 20:04:13 GMT</pubDate>
    <dc:creator>ngholmieh</dc:creator>
    <dc:date>2014-03-18T20:04:13Z</dc:date>
    <item>
      <title>Search pooling and alerting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193117#M55549</link>
      <description>&lt;P&gt;Hi-&lt;/P&gt;

&lt;P&gt;I am setting up search pooling on splunk 5.0.7 and testing alerts.&lt;/P&gt;

&lt;P&gt;I have two search heads in the pool behind a load balancer.&lt;/P&gt;

&lt;P&gt;When i set up the alert on one of the heads, it runs on both (which is the expected behavior), but I receive two copies of the same alert one from each search head in my mailbox.&lt;/P&gt;

&lt;P&gt;Since i have configured the alert_actions to use my load balancer hostname instead of the search heads, if i click on the link in the email and get redirected to the search head that did not trigger the alerts, I get "The search you requested could not be found" message.&lt;/P&gt;

&lt;P&gt;Is there something I should do to avoid duplicate alerts sent?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;BR /&gt;
N~&lt;/P&gt;

&lt;P&gt;PS.  I have seen a couple of this same question posted to splunk answers in the past, with no answer. &lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 20:04:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193117#M55549</guid>
      <dc:creator>ngholmieh</dc:creator>
      <dc:date>2014-03-18T20:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Search pooling and alerting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193118#M55550</link>
      <description>&lt;P&gt;Generally speaking, alerting is not an activity that is best hosted on a search-head pool, as it:&lt;/P&gt;

&lt;P&gt;a) Doesn't typically require direct user interaction (unlike, say, dashboards)&lt;BR /&gt;&lt;BR /&gt;
b) Running many real-time or historical searches to produce alerts can have a non-negligible impact on the network storage that provisions the NFS mount on which search-head pooling relies&lt;/P&gt;

&lt;P&gt;It is typically considered a best practice to define a standalone search-head as a job server outside of your pool, to conduct a subset of activities that don't require the type of horizontal, user count-driven scalability that search-head pooling does. The two main ones there are alerting and summary indexing.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 17:56:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193118#M55550</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2014-03-21T17:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Search pooling and alerting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193119#M55551</link>
      <description>&lt;P&gt;I did follow the advice above and created a new search head within the same pool, and then i disabled the scheduler on all other search heads except for this one. So the alerts created by users on any search head in the pool will run only on this one instance. I kept this instance off of the load balancer pool, to dedicate it to scheduled jobs.&lt;/P&gt;

&lt;P&gt;This solved my problem.&lt;/P&gt;

&lt;P&gt;Here is how to disable the scheduler:&lt;/P&gt;

&lt;P&gt;in $SPLUNK_HOME/etc/system/local/default-mode.conf, add/change the following stanza:&lt;/P&gt;

&lt;P&gt;[pipeline:scheduler]&lt;BR /&gt;
disabled = true&lt;/P&gt;

&lt;P&gt;restart splunk.&lt;/P&gt;

&lt;P&gt;N~&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2014 21:18:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193119#M55551</guid>
      <dc:creator>ngholmieh</dc:creator>
      <dc:date>2014-05-21T21:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search pooling and alerting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193120#M55552</link>
      <description>&lt;P&gt;What does this actually do? If the scheduler is disabled doesn't that mean that all scheduled jobs (not just alerts) on that particular search head will not run?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2014 00:05:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193120#M55552</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2014-07-28T00:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search pooling and alerting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193121#M55553</link>
      <description>&lt;P&gt;good answer, but I tend to slightly differ on having separate job server coz&lt;BR /&gt;
- Redudancy. Most of SHeads are in multiples and thus putting managing apps from them provides "free" redudancy.&lt;BR /&gt;
- Many alerting logic comes from same app that displays the dashboard. Hence it is logical to implement the alerting functionality within same app. Could save performance using postprocesses etc..&lt;BR /&gt;
- Maintenance mode : What will happen if there is  single job server and have to do maintenance on it? In our case the alerts are so critical that it cannot afford even 5 min downtime.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2014 08:50:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193121#M55553</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2014-07-28T08:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Search pooling and alerting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193122#M55554</link>
      <description>&lt;P&gt;Almost sounds to me like pooling isn't configured correctly.  We have 10 pooled searchheads with 2 dedicated a jobs servers.  The other 8 have scheduled searches disabled.  Pooling should "lock" the scheduled search so that it only runs on 1 server at a time.  Check your configuration for pooling.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2014 14:03:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-pooling-and-alerting/m-p/193122#M55554</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2014-09-26T14:03:06Z</dc:date>
    </item>
  </channel>
</rss>

