<?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: Search Head Clustering: Why am I getting a duplicate alert for one scheduled job? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117789#M1754</link>
    <description>&lt;P&gt;To my understand of the logs, the scheduled search "My Report" was ran twice on two different nodes of the search head cluster. Please confirm this?!&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2016 20:20:59 GMT</pubDate>
    <dc:creator>ben_leung</dc:creator>
    <dc:date>2016-02-22T20:20:59Z</dc:date>
    <item>
      <title>Search Head Clustering: Why am I getting a duplicate alert for one scheduled job?</title>
      <link>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117787#M1752</link>
      <description>&lt;P&gt;I'm receiving a duplicate alert for 1 given scheduled job. It appears to be scheduled twice.&lt;BR /&gt;
I see a delegated_remote_error and then it gets scheduled twice. Why is this happening? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;05-20-2015 04:00:27.427 -0700 INFO  SavedSplunker - user="me", app="myapp", savedsearch_name="My Report", status=delegated_remote_error, scheduled_time=1432119600, peer_guid=ADDF764A-CCDF-478E-BF74-EE80F3A905EC
05-20-2015 04:00:31.015 -0700 INFO  SavedSplunker - user="me", app="myapp", savedsearch_name="My Report", status=delegated_remote, scheduled_time=1432119600, peer_guid=C0F9897B-3E7D-407E
-AF7C-573164F3EC04, sid = scheduler__me_UFZPLU9uc2FsZQ__RMD5d867250ff1e04aea_at_1432119600_54459_C0F9897B-3E7D-407E-AF7C-573164F3EC04
05-20-2015 04:00:55.352 -0700 INFO  SavedSplunker - user="me", app="myapp", savedsearch_name="My Report", status=delegated_remote, scheduled_time=1432119600, peer_guid=ADDF764A-CCDF-478E-BF74-EE80F3A905EC, sid = scheduler__me_UFZPLU9uc2FsZQ__RMD5d867250ff1e04aea_at_1432119600_62152_ADDF764A-CCDF-478E-BF74-EE80F3A905EC
05-20-2015 05:11:11.858 -0700 INFO  SavedSplunker - user="me", app="myapp", savedsearch_name="My Report", status=delegated_remote_completion, scheduled_time=1432119600, peer_guid=C0F9897B-3E7D-407E-AF7C-573164F3EC04, sid = scheduler__me_UFZPLU9uc2FsZQ__RMD5d867250ff1e04aea_at_1432119600_54459_C0F9897B-3E7D-407E-AF7C-573164F3EC04 success=1
05-20-2015 05:11:11.878 -0700 INFO  SavedSplunker - user="me", app="myapp", savedsearch_name="My Report", status=delegated_remote_completion, scheduled_time=1432119600, peer_guid=ADDF764A-CCDF-478E-BF74-EE80F3A905EC, sid = scheduler__me_UFZPLU9uc2FsZQ__RMD5d867250ff1e04aea_at_1432119600_62152_ADDF764A-CCDF-478E-BF74-EE80F3A905EC success=1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:00:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117787#M1752</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2020-09-28T20:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Search Head Clustering: Why am I getting a duplicate alert for one scheduled job?</title>
      <link>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117788#M1753</link>
      <description>&lt;P&gt;Can anyone provide a response as to what this means?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117788#M1753</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2015-11-26T09:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Search Head Clustering: Why am I getting a duplicate alert for one scheduled job?</title>
      <link>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117789#M1754</link>
      <description>&lt;P&gt;To my understand of the logs, the scheduled search "My Report" was ran twice on two different nodes of the search head cluster. Please confirm this?!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 20:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117789#M1754</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2016-02-22T20:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search Head Clustering: Why am I getting a duplicate alert for one scheduled job?</title>
      <link>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117790#M1755</link>
      <description>&lt;P&gt;Yes, but I believe I found the issue in that I had 2 saved searches named the same and executing at the same time. 1 private, 1 app level. It hasnt happened since I reported this.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 20:25:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117790#M1755</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2016-02-22T20:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Search Head Clustering: Why am I getting a duplicate alert for one scheduled job?</title>
      <link>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117791#M1756</link>
      <description>&lt;P&gt;Perhaps refer to this issue:  &lt;A href="https://answers.splunk.com/answers/373084/bug-why-are-my-summary-searches-being-re-run-occas.html"&gt;https://answers.splunk.com/answers/373084/bug-why-are-my-summary-searches-being-re-run-occas.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 23:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117791#M1756</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2016-02-25T23:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search Head Clustering: Why am I getting a duplicate alert for one scheduled job?</title>
      <link>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117792#M1757</link>
      <description>&lt;P&gt;Not in all cases, as I have seen this problem with Splunk 6.3.3, and the bug you refer to is claimed to be fixed in 6.3.0&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 10:20:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117792#M1757</guid>
      <dc:creator>dmr195</dc:creator>
      <dc:date>2016-07-07T10:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Search Head Clustering: Why am I getting a duplicate alert for one scheduled job?</title>
      <link>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117793#M1758</link>
      <description>&lt;P&gt;The sequence seems to be that the captain delegates the search to one search head, but suffers the error indicated by "status=delegated_remote_error" in the first log message in the original post.  Then, understandably, it delegates the search to a different search head.  But the first search head also runs the search.&lt;/P&gt;

&lt;P&gt;I have seen the same problem, and when I looked at splunkd.log on the search head that the captain said "status=delegated_remote_error" for, I saw these errors:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;06-29-2016 10:04:01.014 -0400 WARN  ISplunkDispatch - sid:scheduler__nobody__prelert__RMD57403f7e9934e6f78_at_1467208920_3438_6408AC6F-431C-41D6-B4EE-7BE2A978D5D6 Gave up waiting for the captain to establish a common bundle version across all search peers; using most recent bundles on all peers instead

06-29-2016 10:04:55.643 -0400 WARN  SHPMasterHTTPProxy - Low Level http request failure err=failed method=POST path=/services/shcluster/captain/jobs/scheduler__nobody__prelert__RMD57403f7e9934e6f78_at_1467208920_3438_6408AC6F-431C-41D6-B4EE-7BE2A978D5D6/report_job_completion captain=xsplunkm3d:8089 rc=0 actual_response_code=500 expected_response_code=200 status_line=Internal Server Error error="&amp;lt;response&amp;gt;\n  &amp;lt;messages&amp;gt;\n    &amp;lt;msg type="ERROR"&amp;gt;\n In handler 'shclustercaptainjobs': job completion failed peer=6408AC6F-431C-41D6-B4EE-7BE2A978D5D6 sid=scheduler__nobody__prelert__RMD57403f7e9934e6f78_at_1467208920_3438_6408AC6F-431C-41D6-B4EE-7BE2A978D5D6 (reason: event=SHPMaster::handleDelegatedJobCompletion peer=6408AC6F-431C-41D6-B4EE-7BE2A978D5D6 job=scheduler__nobody__prelert__RMD57403f7e9934e6f78_at_1467208920_3438_6408AC6F-431C-41D6-B4EE-7BE2A978D5D6 did not exist in map)&amp;lt;/msg&amp;gt;\n  &amp;lt;/messages&amp;gt;\n&amp;lt;/response&amp;gt;\n"

06-29-2016 10:04:55.643 -0400 WARN  SHPSlave - event=SHPSlave::delegatedJobCompletion Failed to notify captain of job completion job=scheduler__nobody__prelert__RMD57403f7e9934e6f78_at_1467208920_3438_6408AC6F-431C-41D6-B4EE-7BE2A978D5D6. reason=failed method=POST path=/services/shcluster/captain/jobs/scheduler__nobody__prelert__RMD57403f7e9934e6f78_at_1467208920_3438_6408AC6F-431C-41D6-B4EE-7BE2A978D5D6/report_job_completion captain=xsplunkm3d:8089 rc=0 actual_response_code=500 expected_response_code=200 status_line=Internal Server Error error="&amp;lt;response&amp;gt;\n  &amp;lt;messages&amp;gt;\n    &amp;lt;msg type="ERROR"&amp;gt;\n In handler 'shclustercaptainjobs': job completion failed peer=6408AC6F-431C-41D6-B4EE-7BE2A978D5D6 sid=scheduler__nobody__prelert__RMD57403f7e9934e6f78_at_1467208920_3438_6408AC6F-431C-41D6-B4EE-7BE2A978D5D6 (reason: event=SHPMaster::handleDelegatedJobCompletion peer=6408AC6F-431C-41D6-B4EE-7BE2A978D5D6 job=scheduler__nobody__prelert__RMD57403f7e9934e6f78_at_1467208920_3438_6408AC6F-431C-41D6-B4EE-7BE2A978D5D6 did not exist in map)&amp;lt;/msg&amp;gt;\n  &amp;lt;/messages&amp;gt;\n&amp;lt;/response&amp;gt;\n"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does this give any clues to someone who knows the inner workings of this to say what's going wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:06:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Search-Head-Clustering-Why-am-I-getting-a-duplicate-alert-for/m-p/117793#M1758</guid>
      <dc:creator>dmr195</dc:creator>
      <dc:date>2020-09-29T10:06:45Z</dc:date>
    </item>
  </channel>
</rss>

