<?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 how does Universal Forwarder work? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-does-Universal-Forwarder-work/m-p/462447#M79806</link>
    <description>&lt;P&gt;Hi, all&lt;/P&gt;

&lt;P&gt;I wonder about Universal Forwarder.&lt;/P&gt;

&lt;P&gt;I have to switch master uri of deploymentclient.conf and outputs.conf&lt;BR /&gt;
because I created new cluster master(new is production environment)&lt;/P&gt;

&lt;P&gt;If the switch does not work, I change  master uri to original.&lt;/P&gt;

&lt;P&gt;Will I lost data during the switchover work?&lt;BR /&gt;
Or will the UF send the past data when it is change to master node?&lt;/P&gt;

&lt;P&gt;If UF sends data to the new cluster master  and then turns masteruri to  original cluster master,&lt;BR /&gt;
Does the data that has already been sent can not index in original?&lt;/P&gt;

&lt;P&gt;Thank you for helping me.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2019 06:30:05 GMT</pubDate>
    <dc:creator>nanachu</dc:creator>
    <dc:date>2019-12-16T06:30:05Z</dc:date>
    <item>
      <title>how does Universal Forwarder work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-does-Universal-Forwarder-work/m-p/462447#M79806</link>
      <description>&lt;P&gt;Hi, all&lt;/P&gt;

&lt;P&gt;I wonder about Universal Forwarder.&lt;/P&gt;

&lt;P&gt;I have to switch master uri of deploymentclient.conf and outputs.conf&lt;BR /&gt;
because I created new cluster master(new is production environment)&lt;/P&gt;

&lt;P&gt;If the switch does not work, I change  master uri to original.&lt;/P&gt;

&lt;P&gt;Will I lost data during the switchover work?&lt;BR /&gt;
Or will the UF send the past data when it is change to master node?&lt;/P&gt;

&lt;P&gt;If UF sends data to the new cluster master  and then turns masteruri to  original cluster master,&lt;BR /&gt;
Does the data that has already been sent can not index in original?&lt;/P&gt;

&lt;P&gt;Thank you for helping me.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:30:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-does-Universal-Forwarder-work/m-p/462447#M79806</guid>
      <dc:creator>nanachu</dc:creator>
      <dc:date>2019-12-16T06:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: how does Universal Forwarder work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-does-Universal-Forwarder-work/m-p/462448#M79807</link>
      <description>&lt;P&gt;Universal Forwarders do not send data to the Master Node.  MN is consulted only during Indexer Discovery to get a list of indexers.  Data is sent to those indexers.&lt;BR /&gt;
When you change the MN's URI, the UF will contact the new MN and send data to the indexers it provides.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 13:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-does-Universal-Forwarder-work/m-p/462448#M79807</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-12-16T13:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: how does Universal Forwarder work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-does-Universal-Forwarder-work/m-p/462449#M79808</link>
      <description>&lt;P&gt;Hi @nanachu,&lt;BR /&gt;
at first in deploymentclient.conf  there's the address of the Deployment Server that hasn't any relation with the cluster and the Master Node (if you have the Master Node configured also as Deployment Server is an error!).&lt;/P&gt;

&lt;P&gt;Now you have an outputs.conf where is addressed the Master Node of an Indexers' Cluster and you want to switch to another Master Node, because you're changing the Indexers' Cluster, is it correct?&lt;/P&gt;

&lt;P&gt;If you address the Master Node instead the Seach Peers, means that you're using indexer discovery feature, so you have to follow the configurations described in &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Indexer/indexerdiscovery"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Indexer/indexerdiscovery&lt;/A&gt; :&lt;BR /&gt;
&lt;STRONG&gt;In the master node's: server.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[indexer_discovery]
pass4SymmKey = my_secret
indexerWeightByDiskCapacity = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;In each forwarder's outputs.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[indexer_discovery:master1]
pass4SymmKey = my_secret
master_uri = &lt;A href="https://xxx.xxx.xxx.xxx:8089" target="test_blank"&gt;https://xxx.xxx.xxx.xxx:8089&lt;/A&gt;

[tcpout:group1]
autoLBFrequency = 30
forceTimebasedAutoLB = true
indexerDiscovery = master1
useACK=true

[tcpout]
defaultGroup = group1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 13:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-does-Universal-Forwarder-work/m-p/462449#M79808</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-12-16T13:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: how does Universal Forwarder work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-does-Universal-Forwarder-work/m-p/462450#M79809</link>
      <description>&lt;P&gt;You are mixing terms, settings, and files.  The &lt;CODE&gt;master_uri&lt;/CODE&gt; in &lt;CODE&gt;deployment_client.conf&lt;/CODE&gt; applies to your &lt;CODE&gt;Deployment Server&lt;/CODE&gt;, &lt;EM&gt;NOT&lt;/EM&gt; your &lt;CODE&gt;Cluster Master&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;First, let's assume that you really mean &lt;CODE&gt;Cluster Master&lt;/CODE&gt;.  If you are switching ONLY the &lt;CODE&gt;Cluster Master&lt;/CODE&gt; (AKA &lt;CODE&gt;Master Node&lt;/CODE&gt;) in &lt;CODE&gt;server.conf&lt;/CODE&gt; which controls your Indexer bucket replication, then you are NOT at any risk of losing data UNLESS you are using the &lt;CODE&gt;Indexer Discovery&lt;/CODE&gt; feature in the &lt;CODE&gt;outputs.conf&lt;/CODE&gt; for your forwarders (most people are not).  If you are using this feature AND you mess up AND a forwarder has Splunk rebooted, it will not be able to get a list of Indexers so it will not be able to send data, it will buffer for a while, and then start dropping data.  That is a big stack of &lt;CODE&gt;ifs&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Now, let's assume that you really mean &lt;CODE&gt;Deployment Server&lt;/CODE&gt;.  If you change the &lt;CODE&gt;Deployment Server&lt;/CODE&gt; in &lt;CODE&gt;deploymentclient.conf&lt;/CODE&gt; and you mess up, you have created a truly formidable disaster.  Once you create a &lt;CODE&gt;deployment zombie&lt;/CODE&gt;, the only way to get &lt;CODE&gt;command and control&lt;/CODE&gt; back, is to log back onto that box and manually fix it.  Even so, the far more likely problem that you will have is that the initial admin used the &lt;CODE&gt;set deploy-server&lt;/CODE&gt; CLI command which put the &lt;CODE&gt;deploymentclient.conf&lt;/CODE&gt; file into &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/&lt;/CODE&gt; which means that your change will be ignored by some (maybe all) deployment clients.  Again, you must log onto each box and re/move the file from that location before your change will work for that server.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 15:46:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-does-Universal-Forwarder-work/m-p/462450#M79809</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-12-16T15:46:28Z</dc:date>
    </item>
  </channel>
</rss>

