<?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: Can't  Point Universal Forwarder to an Indexer from Deployment Server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-Point-Universal-Forwarder-to-an-Indexer-from-Deployment/m-p/61462#M12247</link>
    <description>&lt;P&gt;I figured it out, but I wanted to post my answer here in case anyone else has the same problem!&lt;/P&gt;

&lt;P&gt;If you look in SplunkUniversalForwarder/etc/system/local, there's a file called server.conf that defines your hostname. In my case, the whitelist provided did not match this hostname; I had provided the fully-qualified domain name, but server.conf did not. Once I fixed this problem, everything worked fine.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Sep 2012 17:57:38 GMT</pubDate>
    <dc:creator>BenjaminWyatt</dc:creator>
    <dc:date>2012-09-17T17:57:38Z</dc:date>
    <item>
      <title>Can't  Point Universal Forwarder to an Indexer from Deployment Server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-Point-Universal-Forwarder-to-an-Indexer-from-Deployment/m-p/61461#M12246</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;
   I have several forwarders in my environment that aren't currently sending any data to indexers. I've been trying to link them up to indexer by pushing an app to them from their deployment server (which they were linked up to in the installation). I've been working with a test case at this point, but I've been having trouble pushing the app to the Splunk Universal Forwarder.&lt;/P&gt;

&lt;P&gt;Here's the process I followed: &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Create a new app on the deployment server in /opt/splunk/etc/deployment-apps. Create an outputs.conf file in /opt/splunk/etc/deployment-apps/&lt;DEPLOYMENT_APP_NAME&gt;/local with the following syntax:  &lt;/DEPLOYMENT_APP_NAME&gt;&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;&lt;BR /&gt;
   indexAndForward=false&lt;BR /&gt;&lt;BR /&gt;
   defaultGroup=my_LB_indexers&lt;/P&gt;

&lt;P&gt;[tcpout:my_LB_indexers]&lt;BR /&gt;&lt;BR /&gt;
   disabled=false&lt;BR /&gt;&lt;BR /&gt;
   server=indexer_name:port#&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Edit serverclass.conf in ~etc/system/local to apply the app to the desired forwarders by adding the following stanzas: &lt;/P&gt;

&lt;P&gt;[serverClass:my_test_serverclass_name]&lt;BR /&gt;&lt;BR /&gt;
   filterType = whitelist&lt;BR /&gt;&lt;BR /&gt;
   repositoryLocation = /opt/splunk/etc/deployment-apps&lt;BR /&gt;&lt;BR /&gt;
   restartSplunkd = true&lt;BR /&gt;&lt;BR /&gt;
   whitelist.0 = hostname_pattern&lt;/P&gt;

&lt;P&gt;[serverClass:my_test_serverclass_name:app:deployment_app_name]&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Restart the deployment server to push the config changes. I use the command: splunk reload deploy-server&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;I can see the new serverclass and my desired hosts on the deployment server. However, it seems that the application has never been pushed to my forwarders. I've checked splunkd.log for error messages after the restart, but I haven't seen any error messages pertaining to my app. What am I missing here? Any help is greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-Point-Universal-Forwarder-to-an-Indexer-from-Deployment/m-p/61461#M12246</guid>
      <dc:creator>BenjaminWyatt</dc:creator>
      <dc:date>2012-09-17T14:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  Point Universal Forwarder to an Indexer from Deployment Server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-Point-Universal-Forwarder-to-an-Indexer-from-Deployment/m-p/61462#M12247</link>
      <description>&lt;P&gt;I figured it out, but I wanted to post my answer here in case anyone else has the same problem!&lt;/P&gt;

&lt;P&gt;If you look in SplunkUniversalForwarder/etc/system/local, there's a file called server.conf that defines your hostname. In my case, the whitelist provided did not match this hostname; I had provided the fully-qualified domain name, but server.conf did not. Once I fixed this problem, everything worked fine.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2012 17:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-Point-Universal-Forwarder-to-an-Indexer-from-Deployment/m-p/61462#M12247</guid>
      <dc:creator>BenjaminWyatt</dc:creator>
      <dc:date>2012-09-17T17:57:38Z</dc:date>
    </item>
  </channel>
</rss>

