<?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 connect search head to new indexer in a distributed environment (beginner here) in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-connect-search-head-to-new-indexer-in-a-distributed/m-p/502058#M17217</link>
    <description>&lt;P&gt;You have it right.  Go to Settings-&amp;gt;Distributed search and add the existing indexer as a search peer.&lt;BR /&gt;
Keep in mind that every search run on the two search heads takes up a CPU on the indexer so be careful not to allow Dev to affect the performance of Prod by running a lot of searches and using up resources on the indexer.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2019 18:35:48 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2019-10-15T18:35:48Z</dc:date>
    <item>
      <title>How to connect search head to new indexer in a distributed environment (beginner here)</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-connect-search-head-to-new-indexer-in-a-distributed/m-p/502057#M17216</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;Currently, our Splunk dev environment consists of a standalone instance that is both our indexer and search head. &lt;BR /&gt;
What I am trying to do is set up a new search head that will connect to our production environment indexer, essentially mimicking production in development. I have a brand new instance that I just got set up that will act as a standalone search head. &lt;BR /&gt;
From here, would I add the indexer as a search peer in a distributed search? &lt;BR /&gt;
I'm only about a week into learning Splunk, so this stuff definitely confuses me a bit which is why I decided to ask on here. &lt;/P&gt;

&lt;P&gt;Please let me know what you guys think is the best solution here.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:46:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-connect-search-head-to-new-indexer-in-a-distributed/m-p/502057#M17216</guid>
      <dc:creator>maxguttsait</dc:creator>
      <dc:date>2019-10-15T15:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect search head to new indexer in a distributed environment (beginner here)</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-connect-search-head-to-new-indexer-in-a-distributed/m-p/502058#M17217</link>
      <description>&lt;P&gt;You have it right.  Go to Settings-&amp;gt;Distributed search and add the existing indexer as a search peer.&lt;BR /&gt;
Keep in mind that every search run on the two search heads takes up a CPU on the indexer so be careful not to allow Dev to affect the performance of Prod by running a lot of searches and using up resources on the indexer.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 18:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-connect-search-head-to-new-indexer-in-a-distributed/m-p/502058#M17217</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-15T18:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect search head to new indexer in a distributed environment (beginner here)</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-connect-search-head-to-new-indexer-in-a-distributed/m-p/502059#M17218</link>
      <description>&lt;P&gt;Use the CLI&lt;BR /&gt;
To add a search peer, run this command from the search head:&lt;/P&gt;

&lt;P&gt;splunk add search-server ://: -auth : -remoteUsername  -remotePassword &lt;/P&gt;

&lt;P&gt;Note the following:  &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; is the URI scheme: "http" or "https".&lt;/LI&gt;
&lt;LI&gt; is the host name or IP address of the search peer's host machine.&lt;/LI&gt;
&lt;LI&gt; is the management port of the search peer.&lt;/LI&gt;
&lt;LI&gt;Use the -auth flag to provide credentials for the search head.&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Use the -remoteUsername and -remotePassword flags for the credentials for the search peer. The&lt;BR /&gt;
remote credentials must be for an admin-level user on the search peer.&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;splunk add search-server &lt;A href="https://192.168.1.1:8089"&gt;https://192.168.1.1:8089&lt;/A&gt; -auth admin:password -remoteUsername admin -remotePassword passremote&lt;BR /&gt;
    You must run this command for each search peer that you want to add.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.2/DistSearch/Configuredistributedsearch"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.2/DistSearch/Configuredistributedsearch&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;You can refer to the above link.&lt;/P&gt;

&lt;P&gt;Hope this help, Thanks !&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 20:11:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-connect-search-head-to-new-indexer-in-a-distributed/m-p/502059#M17218</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2019-10-15T20:11:27Z</dc:date>
    </item>
  </channel>
</rss>

