<?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: Server.conf serverName variables in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Server-conf-serverName-variables/m-p/81191#M2906</link>
    <description>&lt;P&gt;You are on the right track with $, just use $ with the Windows environment variable.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [general]
 serverName=$COMPUTERNAME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 26 Jun 2015 21:17:58 GMT</pubDate>
    <dc:creator>andrewcg</dc:creator>
    <dc:date>2015-06-26T21:17:58Z</dc:date>
    <item>
      <title>Server.conf serverName variables</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Server-conf-serverName-variables/m-p/81190#M2905</link>
      <description>&lt;P&gt;I am trying to develop a standardized version of server.conf to deploy to all my forwarders.&lt;/P&gt;

&lt;P&gt;In a &lt;STRONG&gt;Windows environment&lt;/STRONG&gt; I am using the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;serverName = $HOSTNAME
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried using %COMPUTERNAME% but Splunk displayed an error when using %s. Fortunatly there was no errors when using a *nix variable. Where can I verify that the value for serverName is being interpreted correctly?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 21:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Server-conf-serverName-variables/m-p/81190#M2905</guid>
      <dc:creator>agodoy</dc:creator>
      <dc:date>2013-07-01T21:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Server.conf serverName variables</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Server-conf-serverName-variables/m-p/81191#M2906</link>
      <description>&lt;P&gt;You are on the right track with $, just use $ with the Windows environment variable.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [general]
 serverName=$COMPUTERNAME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jun 2015 21:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Server-conf-serverName-variables/m-p/81191#M2906</guid>
      <dc:creator>andrewcg</dc:creator>
      <dc:date>2015-06-26T21:17:58Z</dc:date>
    </item>
  </channel>
</rss>

