<?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 distsearch.conf documentation confusion in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/distsearch-conf-documentation-confusion/m-p/540175#M18555</link>
    <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I am preparing for Splunk Enterprise Admin certification and I am getting a bit confused by the documentation in Splunk docs.&lt;/P&gt;&lt;P&gt;Namely, there are two different statements in distsearch.conf stanza, and not sure which one is the right one.&lt;/P&gt;&lt;P data-unlink="true"&gt;Splunk/8.1.2/DistSearch/Configuredistributedsearch -&amp;nbsp;here states:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mw-headline"&gt;"Add the search peers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To connect the search peers:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;On the search head, create or edit a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;distsearch.conf&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$SPLUNK_HOME/etc/system/local.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Add the search peers to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;servers&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;setting under the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[distributedSearch]&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;stanza. Specify the peers as a set of comma-separated values (host names or IP addresses with management ports). For example:&lt;/P&gt;&lt;PRE&gt;[distributedSearch]
servers = https://192.168.1.1:8089,https://192.168.1.2:8089&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;You must precede the host name or IP address with the URI scheme, either "http" or "https"."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Splunk/8.1.2/DistSearch/Distributedsearchgroups - the other one here states:&lt;/P&gt;&lt;P&gt;"You define distributed search groups in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;distsearch.conf.&lt;/P&gt;&lt;P&gt;For example, to create the two search groups NYC and SF, create stanzas like these:&lt;/P&gt;&lt;P&gt;You define distributed search groups in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;distsearch.conf.&lt;/P&gt;&lt;P&gt;For example, to create the two search groups NYC and SF, create stanzas like these:&lt;/P&gt;&lt;DIV class="samplecode"&gt;&lt;PRE&gt;[distributedSearch]
# This stanza lists the full set of search peers.
servers = 192.168.1.1:8089, 192.168.1.2:8089, 175.143.1.1:8089, 175.143.1.2:8089, 175.143.1.3:8089

[distributedSearch:NYC]
# This stanza lists the set of search peers in New York.
default = false
servers = 192.168.1.1:8089, 192.168.1.2:8089

[distributedSearch:SF]
# This stanza lists the set of search peers in San Francisco.
default = false
servers = 175.143.1.1:8089, 175.143.1.2:8089, 175.143.1.3:8089&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the first example, it says that "http/https" is required in hostname/IP under servers variable in [distriburedSearch] stanza, the other one omits it and does not say anything about "http/https" as the required value. I am not at the stage of testing this myself yet, so was thinking maybe I can ask here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2021 23:17:00 GMT</pubDate>
    <dc:creator>omeniasty</dc:creator>
    <dc:date>2021-02-16T23:17:00Z</dc:date>
    <item>
      <title>distsearch.conf documentation confusion</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/distsearch-conf-documentation-confusion/m-p/540175#M18555</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I am preparing for Splunk Enterprise Admin certification and I am getting a bit confused by the documentation in Splunk docs.&lt;/P&gt;&lt;P&gt;Namely, there are two different statements in distsearch.conf stanza, and not sure which one is the right one.&lt;/P&gt;&lt;P data-unlink="true"&gt;Splunk/8.1.2/DistSearch/Configuredistributedsearch -&amp;nbsp;here states:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mw-headline"&gt;"Add the search peers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To connect the search peers:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;On the search head, create or edit a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;distsearch.conf&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$SPLUNK_HOME/etc/system/local.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Add the search peers to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;servers&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;setting under the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[distributedSearch]&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;stanza. Specify the peers as a set of comma-separated values (host names or IP addresses with management ports). For example:&lt;/P&gt;&lt;PRE&gt;[distributedSearch]
servers = https://192.168.1.1:8089,https://192.168.1.2:8089&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;You must precede the host name or IP address with the URI scheme, either "http" or "https"."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Splunk/8.1.2/DistSearch/Distributedsearchgroups - the other one here states:&lt;/P&gt;&lt;P&gt;"You define distributed search groups in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;distsearch.conf.&lt;/P&gt;&lt;P&gt;For example, to create the two search groups NYC and SF, create stanzas like these:&lt;/P&gt;&lt;P&gt;You define distributed search groups in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;distsearch.conf.&lt;/P&gt;&lt;P&gt;For example, to create the two search groups NYC and SF, create stanzas like these:&lt;/P&gt;&lt;DIV class="samplecode"&gt;&lt;PRE&gt;[distributedSearch]
# This stanza lists the full set of search peers.
servers = 192.168.1.1:8089, 192.168.1.2:8089, 175.143.1.1:8089, 175.143.1.2:8089, 175.143.1.3:8089

[distributedSearch:NYC]
# This stanza lists the set of search peers in New York.
default = false
servers = 192.168.1.1:8089, 192.168.1.2:8089

[distributedSearch:SF]
# This stanza lists the set of search peers in San Francisco.
default = false
servers = 175.143.1.1:8089, 175.143.1.2:8089, 175.143.1.3:8089&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the first example, it says that "http/https" is required in hostname/IP under servers variable in [distriburedSearch] stanza, the other one omits it and does not say anything about "http/https" as the required value. I am not at the stage of testing this myself yet, so was thinking maybe I can ask here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 23:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/distsearch-conf-documentation-confusion/m-p/540175#M18555</guid>
      <dc:creator>omeniasty</dc:creator>
      <dc:date>2021-02-16T23:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: distsearch.conf documentation confusion</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/distsearch-conf-documentation-confusion/m-p/540176#M18556</link>
      <description>&lt;P&gt;Just worth adding that documentation for "adding search peers" through CLI, Splunk Web says that http/https is required.&lt;/P&gt;&lt;P&gt;Even Splunk Web console when states this info "&lt;EM&gt;Specify the search peer as servername:mgmt_port or URI:mgmt_port. You must prefix the URI with its scheme. For example: '&lt;A href="https://sp1.example.com:8089" target="_blank"&gt;https://sp1.example.com:8089&lt;/A&gt;'."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Does it mean that both versions are acceptable or&amp;nbsp;&lt;SPAN&gt;Splunk/8.1.2/DistSearch/Distributedsearchgroups page is wrong?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 23:36:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/distsearch-conf-documentation-confusion/m-p/540176#M18556</guid>
      <dc:creator>omeniasty</dc:creator>
      <dc:date>2021-02-16T23:36:28Z</dc:date>
    </item>
  </channel>
</rss>

