<?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 set hostname for the Splunk Windows Universal Forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275121#M52774</link>
    <description>&lt;P&gt;This seemed to work.  I commented out the "host =" and "serverName =" lines in the "inputs.conf" and "server.conf" files respectively and the Forwarder serrvice did start this time and it was named correctly in the Deployment server when it "Phoned Home".  But I noticed that the "inputs.conf" and "server.conf" files were not updated.  I assume the Splunk Forwarder is looking someplace else for the default server name.  &lt;/P&gt;

&lt;P&gt;Anyway, thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2015 22:11:00 GMT</pubDate>
    <dc:creator>OldManEd</dc:creator>
    <dc:date>2015-10-16T22:11:00Z</dc:date>
    <item>
      <title>How to set hostname for the Splunk Windows Universal Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275118#M52771</link>
      <description>&lt;P&gt;When I installed the Splunk Universal Forwarder for Windows, the inputs.conf file has the stanza;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = &amp;lt;actual host name&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to make the Splunk Forwarder directories on this server part of an image to load onto other servers.  So what do I change this stanza to, if anything, to get it to use the name of the server that it's being loaded on? &lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:52:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275118#M52771</guid>
      <dc:creator>OldManEd</dc:creator>
      <dc:date>2015-10-16T20:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to set hostname for the Splunk Windows Universal Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275119#M52772</link>
      <description>&lt;P&gt;I just noticed that in the same directory, in the server.conf file, I have the following stanza;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[general]
pass4SymmKey = &amp;lt;Pass key number&amp;gt;
serverName = &amp;lt;actual host name&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm going to have to change that also.  But to what?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:55:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275119#M52772</guid>
      <dc:creator>OldManEd</dc:creator>
      <dc:date>2015-10-16T20:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to set hostname for the Splunk Windows Universal Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275120#M52773</link>
      <description>&lt;P&gt;Just delete the &lt;CODE&gt;host=&lt;/CODE&gt; line from the file in your master image and splunk will automatically figure it out when you deploy the file and (re)start splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 21:56:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275120#M52773</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-16T21:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to set hostname for the Splunk Windows Universal Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275121#M52774</link>
      <description>&lt;P&gt;This seemed to work.  I commented out the "host =" and "serverName =" lines in the "inputs.conf" and "server.conf" files respectively and the Forwarder serrvice did start this time and it was named correctly in the Deployment server when it "Phoned Home".  But I noticed that the "inputs.conf" and "server.conf" files were not updated.  I assume the Splunk Forwarder is looking someplace else for the default server name.  &lt;/P&gt;

&lt;P&gt;Anyway, thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 22:11:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275121#M52774</guid>
      <dc:creator>OldManEd</dc:creator>
      <dc:date>2015-10-16T22:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to set hostname for the Splunk Windows Universal Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275122#M52775</link>
      <description>&lt;P&gt;In the spec, found at &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt; &lt;BR /&gt;
it shows that the value in system/default/inputs.conf is $decideOnStartup&lt;BR /&gt;
On first run this will write to system/local. You can prestage that value in the system/local (or override system/default with an app) so that the UF polls the OS every time it starts. &lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 23:40:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-hostname-for-the-Splunk-Windows-Universal-Forwarder/m-p/275122#M52775</guid>
      <dc:creator>mtranchita</dc:creator>
      <dc:date>2015-10-16T23:40:37Z</dc:date>
    </item>
  </channel>
</rss>

