<?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 create and trigger an alert when replication/search factors are not met on the indexer cluster master? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242697#M4511</link>
    <description>&lt;P&gt;needs to be performed on the cluster master. Alternatively have dist search to the cluster master from your search heads but you'll have to add splunk_server= to the query.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2019 23:06:14 GMT</pubDate>
    <dc:creator>Lucas_K</dc:creator>
    <dc:date>2019-04-29T23:06:14Z</dc:date>
    <item>
      <title>How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242689#M4503</link>
      <description>&lt;P&gt;The status of the replication factor and search factor on indexer cluster are fluctuating and would like to set up an alert. This happens due to bucket fixups pending. Can some one help me creating an alert when the master is fixing buckets and one of the search/replication factor is not met or when the master is trying to fix the buckets. &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/835iC1958FB6BBB449F9/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>Sun, 22 Nov 2015 16:31:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242689#M4503</guid>
      <dc:creator>rcreddy06</dc:creator>
      <dc:date>2015-11-22T16:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242690#M4504</link>
      <description>&lt;P&gt;The clustering management console from which those three things are obtained has searches that drive them.&lt;/P&gt;

&lt;P&gt;It can be shown by doing a "showsource" at the end of your url. ie. /en-US/app/splunk_management_console/indexer_clustering_status?showsource &lt;/P&gt;

&lt;P&gt;You can also click the magnifying glass to break out the underlying search in the peers section to see the other searches in that dashboard.&lt;/P&gt;

&lt;P&gt;This is the search that drives those 3 icons.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server_group=dmc_group_cluster_master splunk_server_group=\"$group$\" /services/cluster/master/generation/master       | fields pending_last_reason, search_factor_met, replication_factor_met       | eval all_data_searchable_icon = if(isnull(pending_last_reason) or pending_last_reason==\"\", \"icon-check\", \"icon-alert\")       | eval all_data_searchable = if (isnull(pending_last_reason) or pending_last_reason==\"\", \"All Data is Searchable\", \"Some Data is Not Searchable\")       | eval search_factor_met_icon = if(search_factor_met == 1 or search_factor_met == \"1\", \"icon-check\", \"icon-alert\")       | eval search_factor_met = if (search_factor_met == 1 or search_factor_met == \"1\", \"Search Factor is Met\", \"Search Factor is Not Met\")       | eval replication_factor_met_icon = if(replication_factor_met == 1 or replication_factor_met == \"1\", \"icon-check\", \"icon-alert\")       | eval replication_factor_met = if (replication_factor_met == 1 or replication_factor_met == \"1\", \"Replication Factor is Met\", \"Replication Factor is Not Met\")",
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Get your alert to trigger when any of those 3 factors are not equal to 1.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:57:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242690#M4504</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2020-09-29T07:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242691#M4505</link>
      <description>&lt;P&gt;That shows an unknown group error &amp;amp; eval error on \"\", \"icon-check\", \"icon-alert\", for me. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 14:13:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242691#M4505</guid>
      <dc:creator>halleyglen</dc:creator>
      <dc:date>2015-11-26T14:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242692#M4506</link>
      <description>&lt;P&gt;It worked for me&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 16:26:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242692#M4506</guid>
      <dc:creator>rcreddy06</dc:creator>
      <dc:date>2015-12-31T16:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242693#M4507</link>
      <description>&lt;P&gt;how did you make it work??&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 18:39:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242693#M4507</guid>
      <dc:creator>sterlingteks</dc:creator>
      <dc:date>2018-10-31T18:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242694#M4508</link>
      <description>&lt;P&gt;Hi Lucas or Halleyglen , &lt;/P&gt;

&lt;P&gt;Even i m getting the below error, how to fix this .&lt;/P&gt;

&lt;P&gt;Error in 'eval' command: The expression is malformed. An unexpected character is reached at '\"1\", \"icon-check\", \"icon-alert\")'.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 05:38:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242694#M4508</guid>
      <dc:creator>vasanthi77</dc:creator>
      <dc:date>2019-04-29T05:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242695#M4509</link>
      <description>&lt;P&gt;My original search doesn't work anymore on recent versions of splunk as it doesn't like those escape characters in the evals.&lt;/P&gt;

&lt;P&gt;You can just use the fields in the base search :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/cluster/master/generation/master 
| fields pending_last_reason, search_factor_met, replication_factor_met
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Apr 2019 06:18:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242695#M4509</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2019-04-29T06:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242696#M4510</link>
      <description>&lt;P&gt;Hi Lucas , Thanks for the reply , this is working.&lt;/P&gt;

&lt;P&gt;However i m getting below errors along with output.&lt;/P&gt;

&lt;P&gt;[indexer alias] REST Processor: Failed to fetch REST endpoint uri=&lt;A href="https://127.0.0.1:8089/services/cluster/master/generation/master?count=0"&gt;https://127.0.0.1:8089/services/cluster/master/generation/master?count=0&lt;/A&gt; from server &lt;A href="https://127.0.0.1:8089"&gt;https://127.0.0.1:8089&lt;/A&gt;. Check that the URI path provided exists in the REST API.&lt;/P&gt;

&lt;P&gt;Should i worry about this?  &lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 11:53:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242696#M4510</guid>
      <dc:creator>vasanthi77</dc:creator>
      <dc:date>2019-04-29T11:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242697#M4511</link>
      <description>&lt;P&gt;needs to be performed on the cluster master. Alternatively have dist search to the cluster master from your search heads but you'll have to add splunk_server= to the query.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 23:06:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242697#M4511</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2019-04-29T23:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242698#M4512</link>
      <description>&lt;P&gt;HI Lucas ,&lt;/P&gt;

&lt;P&gt;I used below query from search head , not getting any result. Can you help here pls.&lt;/P&gt;

&lt;P&gt;| rest /services/cluster/master/generation/master splunk_server=" Clustermaster" &lt;BR /&gt;
 | fields pending_last_reason, search_factor_met, replication_factor_met &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:15:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242698#M4512</guid>
      <dc:creator>vasanthi77</dc:creator>
      <dc:date>2020-09-30T00:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242699#M4513</link>
      <description>&lt;P&gt;do you have distsearch to your cluster master? it wouldn't normally be enabled as it's not normally used as a search peer. &lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 02:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242699#M4513</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2019-04-30T02:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242700#M4514</link>
      <description>&lt;P&gt;also remove the white space in your splunk_server. You've quoted whitespace that will make it fail even if you have distsearch to the master configured.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 02:19:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242700#M4514</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2019-04-30T02:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when replication/search factors are not met on the indexer cluster master?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242701#M4515</link>
      <description>&lt;P&gt;Thanks Lucas , Its working fine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 06:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-create-and-trigger-an-alert-when-replication-search/m-p/242701#M4515</guid>
      <dc:creator>vasanthi77</dc:creator>
      <dc:date>2019-04-30T06:03:45Z</dc:date>
    </item>
  </channel>
</rss>

