<?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: Configure UF - To Clustered index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Configure-UF-To-Clustered-index/m-p/514408#M87170</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225056"&gt;@dordavid&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;your isn't a question, it's a consultancy! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anyway, to better understand your question, it better to divide them in three parts:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;how to configure and deploy configurations to Universal Forwarders;&lt;/LI&gt;&lt;LI&gt;how to take logs;&lt;/LI&gt;&lt;LI&gt;how to send logs to Indexers' Cluster.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;installation and upgrade isn't managed (for now, but it's changing!) by Splunk, so you have to do this manually.&lt;/P&gt;&lt;P&gt;Configurations checking and pushing is managed by a dedicated server called Deployment Server: in a lab you can also share this role with another server (not Master Node, Indexers and Search Heads), but in a production environment (more than 50 target servers) you have to use a dedicated server.&lt;/P&gt;&lt;P&gt;To understand how to do this read&amp;nbsp; carefully&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Updating/Aboutdeploymentserver" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Updating/Aboutdeploymentserver&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Anyway, the steps are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;plan your deployment listing all the servers to manage with Deployment server and identifying for each the apps to deploy;&lt;/LI&gt;&lt;LI&gt;check that all the firewall routes are open between:&lt;UL&gt;&lt;LI&gt;UFs and Deployment Server on port 8089,&lt;/LI&gt;&lt;LI&gt;UFs and Indexers and Master Node on port 9997;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;install a Deployment Server, possibly on a dedicated server,&lt;/LI&gt;&lt;LI&gt;install Universal Forwarder on the target servers;&lt;/LI&gt;&lt;LI&gt;create a Technical Add-On (called e.g. TA_Forwarders) containing two files (deploymentclient.conf and outputs.conf):&lt;UL&gt;&lt;LI&gt;in the first put the address of the Deployment Server,&lt;/LI&gt;&lt;LI&gt;in the second the addresses of the indexers or of the Master Node);&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;copy the TA_forwarders in every target server in $SPLUNK_HOME/etc/apps;&lt;/LI&gt;&lt;LI&gt;restart Splunk in every targer server.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When the target servers are connected to Deployment Server, you'll be able to see them in&amp;nbsp;&lt;SPAN&gt;[Settings -- Forwarder Management].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To take logs you have many ways:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you have logs on files you can use a Universal Forwarder, using the features described at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Usingforwardingagents" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Usingforwardingagents&lt;/A&gt;&amp;nbsp;and especially the monitor stanzas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if instead you have to take syslogs, you can copy them on filesystem and read them as the precious point; if instead you want to directly take syslogs, you cannot use a Universal Forwarder, but you have to use an Heavy Forwarder (a full Splunk instance where all the logs are forwarded to Indexers), and follow the instructions at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Data/Monitornetworkports" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Data/Monitornetworkports&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to send logs to Indexers, you have to use the&amp;nbsp;&amp;nbsp;Indexers Discovery Method&amp;nbsp;that you can find at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Indexer/useforwarders" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Indexer/useforwarders&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;About the question of where to set the correct index, index is set in inputs.conf (item 2).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 08:25:23 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-08-17T08:25:23Z</dc:date>
    <item>
      <title>Configure UF - To Clustered index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-UF-To-Clustered-index/m-p/514354#M87164</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;background:&lt;/P&gt;&lt;P&gt;I want to create new Splunk environment. i'm still in a learning process - i'm new to splunk.&amp;nbsp;My environment today includes:&lt;/P&gt;&lt;P&gt;- 3 indexers&lt;BR /&gt;- 3 search heads&lt;BR /&gt;- 1 cluster master that also serves as a License master&lt;/P&gt;&lt;P&gt;- 1 Universal forwarder&lt;/P&gt;&lt;P&gt;** [ All servers are Linux servers ] **&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;___________________________________________________________________________&lt;/P&gt;&lt;P&gt;I want to build my Splunk environment in a "Cluster configuration mode":&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want to send data from the universal forwarder to the Cluster master, and from there to my indexers.&lt;/P&gt;&lt;P&gt;My main target is to collect logs from different application servers [by sending me syslog or http] in order to monitor their status:&amp;nbsp; I want to create a unique index for each app: for example, the logs that are sent from an app called app1 will go into an index called "index_app1"&lt;/P&gt;&lt;P&gt;___________________________________________________________________________&lt;/P&gt;&lt;P&gt;I would like to get help with those following questions:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;How can i check if the cluster master know the universal forwarder? How do I check it?&lt;/P&gt;&lt;P&gt;2. I want to understand how I configure in the "Inputs.conf file" of a my universal forwarder:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to allow each app to send logs to uf in different port [in tcp or in udp]:&lt;/P&gt;&lt;P&gt;&amp;nbsp;for example:&lt;BR /&gt;- Application A will send logs to my universal-forwarder in port 4928 , application B will send logs to my universal-forwarder in port 4929&lt;/P&gt;&lt;P&gt;3. How can I send the messages to the cluster master and to recognize what the correct index which the messages belong:&amp;nbsp;&lt;/P&gt;&lt;P&gt;All messages that which sent from application A will be under index_app1&lt;/P&gt;&lt;P&gt;All messages that which sent from application B will be under index_app2&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for help!&lt;/P&gt;</description>
      <pubDate>Sun, 16 Aug 2020 21:09:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-UF-To-Clustered-index/m-p/514354#M87164</guid>
      <dc:creator>dordavid</dc:creator>
      <dc:date>2020-08-16T21:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Configure UF - To Clustered index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-UF-To-Clustered-index/m-p/514408#M87170</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225056"&gt;@dordavid&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;your isn't a question, it's a consultancy! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anyway, to better understand your question, it better to divide them in three parts:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;how to configure and deploy configurations to Universal Forwarders;&lt;/LI&gt;&lt;LI&gt;how to take logs;&lt;/LI&gt;&lt;LI&gt;how to send logs to Indexers' Cluster.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;installation and upgrade isn't managed (for now, but it's changing!) by Splunk, so you have to do this manually.&lt;/P&gt;&lt;P&gt;Configurations checking and pushing is managed by a dedicated server called Deployment Server: in a lab you can also share this role with another server (not Master Node, Indexers and Search Heads), but in a production environment (more than 50 target servers) you have to use a dedicated server.&lt;/P&gt;&lt;P&gt;To understand how to do this read&amp;nbsp; carefully&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Updating/Aboutdeploymentserver" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Updating/Aboutdeploymentserver&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Anyway, the steps are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;plan your deployment listing all the servers to manage with Deployment server and identifying for each the apps to deploy;&lt;/LI&gt;&lt;LI&gt;check that all the firewall routes are open between:&lt;UL&gt;&lt;LI&gt;UFs and Deployment Server on port 8089,&lt;/LI&gt;&lt;LI&gt;UFs and Indexers and Master Node on port 9997;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;install a Deployment Server, possibly on a dedicated server,&lt;/LI&gt;&lt;LI&gt;install Universal Forwarder on the target servers;&lt;/LI&gt;&lt;LI&gt;create a Technical Add-On (called e.g. TA_Forwarders) containing two files (deploymentclient.conf and outputs.conf):&lt;UL&gt;&lt;LI&gt;in the first put the address of the Deployment Server,&lt;/LI&gt;&lt;LI&gt;in the second the addresses of the indexers or of the Master Node);&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;copy the TA_forwarders in every target server in $SPLUNK_HOME/etc/apps;&lt;/LI&gt;&lt;LI&gt;restart Splunk in every targer server.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When the target servers are connected to Deployment Server, you'll be able to see them in&amp;nbsp;&lt;SPAN&gt;[Settings -- Forwarder Management].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To take logs you have many ways:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you have logs on files you can use a Universal Forwarder, using the features described at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Usingforwardingagents" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Usingforwardingagents&lt;/A&gt;&amp;nbsp;and especially the monitor stanzas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if instead you have to take syslogs, you can copy them on filesystem and read them as the precious point; if instead you want to directly take syslogs, you cannot use a Universal Forwarder, but you have to use an Heavy Forwarder (a full Splunk instance where all the logs are forwarded to Indexers), and follow the instructions at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Data/Monitornetworkports" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Data/Monitornetworkports&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to send logs to Indexers, you have to use the&amp;nbsp;&amp;nbsp;Indexers Discovery Method&amp;nbsp;that you can find at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Indexer/useforwarders" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Indexer/useforwarders&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;About the question of where to set the correct index, index is set in inputs.conf (item 2).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 08:25:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-UF-To-Clustered-index/m-p/514408#M87170</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-17T08:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Configure UF - To Clustered index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-UF-To-Clustered-index/m-p/514445#M87174</link>
      <description>&lt;P&gt;I believe by "cluster configuration mode" you are referring to the "indexer cluster" and and "indexer discovery" features of Splunk.&amp;nbsp; An indexer cluster enables indexers to hold backup copies of each other's data in case of the failure of an indexer.&amp;nbsp; Indexer Discovery is where servers with data to send to an indexer consult the Cluster Master (CM) to find out which indexer to use.&lt;/P&gt;&lt;P&gt;In no case does data flow through the CM.&amp;nbsp; The Cluster Master is a manager, not a conduit.&lt;/P&gt;&lt;P&gt;Apps that send data in syslog or HTTP format should not be talking to a universal forwarder as a UF understands neither protocol.&lt;/P&gt;&lt;P&gt;For syslog, the apps should be sending to a dedicated syslog server which saves the data to disk files.&amp;nbsp; The UF then monitors those disk files and sends the data to indexers.&amp;nbsp; Alternatively, you could use the Splunk Connect for Syslog product to collect syslog data and forward it directly to the indexers.&lt;/P&gt;&lt;P&gt;For HTTP, apps should send to a heavy forwarder (HF) with HTTP Event Collector (HEC) enabled.&amp;nbsp; Another option is to enable HEC on your indexers and use a load balancer to distribute the events evenly among the indexers.&lt;/P&gt;&lt;P&gt;It adds no value to prefix index names with "index_".&lt;/P&gt;&lt;P&gt;To answer your questions:&lt;/P&gt;&lt;P&gt;1) The CM does not know about universal forwarders.&amp;nbsp; That's the job of the Monitoring Console and, optionally, the Deployment Server.&lt;/P&gt;&lt;P&gt;2) To learn how to configure inputs on a UF, see &lt;A href="https://docs.splunk.com/Documentation/Forwarder/8.0.5/Forwarder/Configuretheuniversalforwarder/" target="_blank"&gt;https://docs.splunk.com/Documentation/Forwarder/8.0.5/Forwarder/Configuretheuniversalforwarder&amp;nbsp; &lt;/A&gt;&amp;nbsp;As mentioned above, you will not be configuring input ports and the UF.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Applications do not send messages to the CM.&amp;nbsp; As already mentioned, applications send data to forwarders, indexers, or syslog servers.&lt;/P&gt;&lt;P&gt;The index to which data should be written is defined in the inputs.conf file on the forwarder or in the HEC stream.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 12:31:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-UF-To-Clustered-index/m-p/514445#M87174</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-08-17T12:31:36Z</dc:date>
    </item>
  </channel>
</rss>

