<?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: Can an alert be run from a specific Search Head in a clustered environment? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527576#M148936</link>
    <description>&lt;P&gt;The SHC captain decides which member will run each scheduled search.&amp;nbsp; There is no provision for overriding that decision.&lt;/P&gt;&lt;P&gt;How is the lookup file updated in the first place?&amp;nbsp; Could that utility also update the other SHC members?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 17:39:12 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-11-02T17:39:12Z</dc:date>
    <item>
      <title>Can an alert be run from a specific Search Head in a clustered environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527570#M148932</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we have a Splunk Enterprise clustered environment, with a cluster of 3 search heads.&lt;/P&gt;&lt;P&gt;For many reasons, a lookup file is updated once a day in only one of these search heads (the first one).&lt;/P&gt;&lt;P&gt;To update this lookup file also in the other two search heads, we set up a scheduled search with the following string:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup my_lookup_table.csv
| outputlookup my_lookup_table.csv&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since if this search is run from a different search head than the number one the lookup is not updated, is it possible to run it always from the same search head? I know we could send the lookup via SFTP to the other search heads servers, but if possible we'd like to avoid it.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 17:03:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527570#M148932</guid>
      <dc:creator>nicofantinato</dc:creator>
      <dc:date>2020-11-02T17:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can an alert be run from a specific Search Head in a clustered environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527576#M148936</link>
      <description>&lt;P&gt;The SHC captain decides which member will run each scheduled search.&amp;nbsp; There is no provision for overriding that decision.&lt;/P&gt;&lt;P&gt;How is the lookup file updated in the first place?&amp;nbsp; Could that utility also update the other SHC members?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 17:39:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527576#M148936</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-02T17:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can an alert be run from a specific Search Head in a clustered environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527579#M148937</link>
      <description>&lt;P&gt;&lt;BR /&gt;What am I missing here? If you have clustered search heads you also should have configured cluster replication. For a search head cluster to function properly, its members must all use the same set of search-related configurations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.0/DistSearch/HowconfrepoworksinSHC" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.0/DistSearch/HowconfrepoworksinSHC&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But if you want to run a search from a specific search head you could theoretically configure all the other search heads to only run ad hoc searches.&amp;nbsp;‌‌In server.conf add the following&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;[shclustering]&lt;BR /&gt;adhoc_searchhead = true&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 17:56:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527579#M148937</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2020-11-02T17:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can an alert be run from a specific Search Head in a clustered environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527660#M148962</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Azeemering. Yep, cluster replication is configured, but if you copy a lookup file under $SPLUNK_HOME/etc/apps/app_name/lookups it is updated only on that specific search head, replication is done only if click Save button from web console... or at least this is the behaviour we observed in our environment.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 08:29:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527660#M148962</guid>
      <dc:creator>nicofantinato</dc:creator>
      <dc:date>2020-11-03T08:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can an alert be run from a specific Search Head in a clustered environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527663#M148963</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;richgalloway.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The SHC captain decides which member will run each scheduled search.&amp;nbsp; There is no provision for overriding that decision." that's what we were afraid of.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The lookup comes form a curl command, a script launches the command once a day in only one of the search heads. Security guys want us to do this way.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 08:33:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-an-alert-be-run-from-a-specific-Search-Head-in-a-clustered/m-p/527663#M148963</guid>
      <dc:creator>nicofantinato</dc:creator>
      <dc:date>2020-11-03T08:33:42Z</dc:date>
    </item>
  </channel>
</rss>

