<?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 splunk indexer hostname environment variable in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-indexer-hostname-environment-variable/m-p/550611#M5738</link>
    <description>&lt;P&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;Is there a way to set indexer hostname by environment Variable?&lt;/P&gt;&lt;P&gt;We plan to deploy this Env variable with deployment server in order to set all indexer hostnames...&lt;/P&gt;&lt;P&gt;we have tried this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[default]
host = $HOSTNAME&lt;/LI-CODE&gt;&lt;P&gt;without any changes [the hostname of the indexers just changed to "$HOSTNAME"...&lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;]&lt;/P&gt;&lt;P&gt;Have anyone tried this before? Is there more efficient way to set indexers hostnames from deployment servers?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;Tankwell&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 08:29:59 GMT</pubDate>
    <dc:creator>omershira</dc:creator>
    <dc:date>2021-05-06T08:29:59Z</dc:date>
    <item>
      <title>splunk indexer hostname environment variable</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/splunk-indexer-hostname-environment-variable/m-p/550611#M5738</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;Is there a way to set indexer hostname by environment Variable?&lt;/P&gt;&lt;P&gt;We plan to deploy this Env variable with deployment server in order to set all indexer hostnames...&lt;/P&gt;&lt;P&gt;we have tried this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[default]
host = $HOSTNAME&lt;/LI-CODE&gt;&lt;P&gt;without any changes [the hostname of the indexers just changed to "$HOSTNAME"...&lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;]&lt;/P&gt;&lt;P&gt;Have anyone tried this before? Is there more efficient way to set indexers hostnames from deployment servers?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;Tankwell&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 08:29:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/splunk-indexer-hostname-environment-variable/m-p/550611#M5738</guid>
      <dc:creator>omershira</dc:creator>
      <dc:date>2021-05-06T08:29:59Z</dc:date>
    </item>
  </channel>
</rss>

