<?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 forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251652#M48447</link>
    <description>&lt;P&gt;Amazing that you reply to a thread several years old the week I start working on a similar issue. Perhaps you could provide some feedback to my plan? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Windows PC w/ Universal Forwarder --------&amp;gt; Heavy Forwarder ---------&amp;gt; Indexer&lt;/P&gt;

&lt;P&gt;Windows PC: &lt;BR /&gt;
input -  Collecting log inputs through Universal Forwarder &lt;CODE&gt;inputs.conf&lt;/CODE&gt;&lt;BR /&gt;
output - &lt;CODE&gt;outputs.conf&lt;/CODE&gt; to heavyfwdr xx.xx.xx.xx:9997&lt;/P&gt;

&lt;P&gt;Heavy Forwarder:&lt;BR /&gt;
input - Windows TA &lt;CODE&gt;inputs.conf&lt;/CODE&gt; listening on port 9997?&lt;BR /&gt;
output - &lt;CODE&gt;outputs.conf&lt;/CODE&gt; to indexer:9997&lt;/P&gt;

&lt;P&gt;Question: &lt;BR /&gt;
1. Is this the heavy forwarder the best place for Windows TA, or should it be on the Universal Forwarders?&lt;BR /&gt;
2. If it is acceptable as-is, how do I configure the heavy forwarder to listen on 9997 and direct it to the Windows TA? Is that done in the Windows TA &lt;CODE&gt;inputs.conf&lt;/CODE&gt;?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2019 13:49:13 GMT</pubDate>
    <dc:creator>DBattisto</dc:creator>
    <dc:date>2019-02-21T13:49:13Z</dc:date>
    <item>
      <title>How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251645#M48440</link>
      <description>&lt;P&gt;Hi Guies,&lt;/P&gt;

&lt;P&gt;We have multiple universal forwarders and 3 heavy weight forwarders. Currently all UFs are forwarding logs directly to indexers. What I want is to configure universal forwarder to send logs/data to heavy weight forwarders and do some filtering there, and then forward the logs to indexers from heavy weight forwarders. How can I achieve this? What additional config do I need to do on the heavy weight forwarders?&lt;/P&gt;

&lt;P&gt;What I want to achieve is:&lt;/P&gt;

&lt;P&gt;Universal forwarder -----&amp;gt;Heavy weight forwarder -----&amp;gt;Indexer&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;for forwarding data from UF to heavy weight forwarder, I will edit outputs.conf on universal forwarder&lt;/LI&gt;
&lt;LI&gt;what config should I do on the heavy weight forwarders to collect data from universal forwarders and route it to the indexers?&lt;/LI&gt;
&lt;LI&gt;do I need to configure receiving on the HWF?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Please advise&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 02:17:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251645#M48440</guid>
      <dc:creator>thezero</dc:creator>
      <dc:date>2015-11-26T02:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251646#M48441</link>
      <description>&lt;P&gt;Hi thezero,&lt;/P&gt;

&lt;P&gt;Take a look at the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/Forwarding/Deployaheavyforwarder"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1/Forwarding/Deployaheavyforwarder&lt;/A&gt; which will guide you through the process of enabling a heavy weight forwarder.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 02:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251646#M48441</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-11-26T02:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251647#M48442</link>
      <description>&lt;P&gt;Hi MuS,&lt;/P&gt;

&lt;P&gt;Thanks for your suggestion.I gone through the doc but it does not answer my query. my confusion is as below?&lt;/P&gt;

&lt;P&gt;1.How can we forward logs to heavy weight forwarder from universal forwarder ---&amp;gt;configuring outputs.conf in universal forward to forward lopgs to heavy weight forwader will do the task .I assume.Is  that right?&lt;/P&gt;

&lt;P&gt;2.for receiving data from universal forwarder do I need to enable receiving in heavy weight forwader?&lt;/P&gt;

&lt;P&gt;3.configuring forwarding in heavy weight forwader will automatically forward data received from universal forwarder or do I need to do some additional config?&lt;/P&gt;

&lt;P&gt;please advise&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 03:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251647#M48442</guid>
      <dc:creator>thezero</dc:creator>
      <dc:date>2015-11-26T03:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251648#M48443</link>
      <description>&lt;OL&gt;
&lt;LI&gt;yes&lt;/LI&gt;
&lt;LI&gt;yes&lt;/LI&gt;
&lt;LI&gt;yes and no; just make sure that in the &lt;CODE&gt;outputs.conf&lt;/CODE&gt; you set &lt;CODE&gt;indexAndForward = false&lt;/CODE&gt; otherwise you will index the forwarded events from the universal forwarder as well on the heavy weight forwarder.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 03:19:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251648#M48443</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-11-26T03:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251649#M48444</link>
      <description>&lt;P&gt;Hi Mus,&lt;/P&gt;

&lt;P&gt;That worked like charm.thx &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 03:55:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251649#M48444</guid>
      <dc:creator>thezero</dc:creator>
      <dc:date>2015-12-02T03:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251650#M48445</link>
      <description>&lt;P&gt;I am also facing same problem here is my problem statement:&lt;/P&gt;

&lt;P&gt;1.My universal forwarder sending Binary data to Heavy Forwarder in Index name as "Binary_index" .&lt;BR /&gt;
2.On heavy Forwarder I want to convert these Binary data to csv format,for which I have written python script and then send CSV data to splunk instance.&lt;/P&gt;

&lt;P&gt;But I don't know I to achieve this&lt;BR /&gt;
please provide me solution with configuration files details for every steps.&lt;/P&gt;

&lt;P&gt;It would be great help if you provide detailed solution for this,since I am new to splunk .&lt;/P&gt;

&lt;P&gt;please provide the configuration  files details for  reading binary data  on  universal forwarder side.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 12:58:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251650#M48445</guid>
      <dc:creator>ajitshukla</dc:creator>
      <dc:date>2019-02-06T12:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251651#M48446</link>
      <description>&lt;P&gt;First of all you want to enable the Indexing port on your Heavyforwarder, otherwise you wont be able to get the data. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp-ssl://9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you have to configure the outputs.conf. someting like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = mygroup

[tcpout:mygroup]
server = indexer1:9997,indexer2:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And the  UF should now point to your Heavyforwarder in its outputs.conf&lt;BR /&gt;
    [tcpout]&lt;BR /&gt;
    defaultGroup = mygroup&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout:mygroup]
server = heavyforwarder:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Keep in mind that your Heavyforwarder is now responsible for the parsing phase. Put every TA on it for extracting timestamps and do the linebreaking correctly. You want to do both manually for performance reasons. someting like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcertype]
SHOULD_LINEMERGE = false
TRUNCATE = 100000
MAX_TIMESTAMP_LOOKAHEAD = 30
NO_BINARY_CHECK = true
TIME_FORMAT=%F %T,%3N
TIME_PREFIX=^
LINE_BREAKER=([\r\n]+)\d{4}\-\d{2}\-\d{2}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Feb 2019 15:41:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251651#M48446</guid>
      <dc:creator>markusspitzli</dc:creator>
      <dc:date>2019-02-19T15:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251652#M48447</link>
      <description>&lt;P&gt;Amazing that you reply to a thread several years old the week I start working on a similar issue. Perhaps you could provide some feedback to my plan? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Windows PC w/ Universal Forwarder --------&amp;gt; Heavy Forwarder ---------&amp;gt; Indexer&lt;/P&gt;

&lt;P&gt;Windows PC: &lt;BR /&gt;
input -  Collecting log inputs through Universal Forwarder &lt;CODE&gt;inputs.conf&lt;/CODE&gt;&lt;BR /&gt;
output - &lt;CODE&gt;outputs.conf&lt;/CODE&gt; to heavyfwdr xx.xx.xx.xx:9997&lt;/P&gt;

&lt;P&gt;Heavy Forwarder:&lt;BR /&gt;
input - Windows TA &lt;CODE&gt;inputs.conf&lt;/CODE&gt; listening on port 9997?&lt;BR /&gt;
output - &lt;CODE&gt;outputs.conf&lt;/CODE&gt; to indexer:9997&lt;/P&gt;

&lt;P&gt;Question: &lt;BR /&gt;
1. Is this the heavy forwarder the best place for Windows TA, or should it be on the Universal Forwarders?&lt;BR /&gt;
2. If it is acceptable as-is, how do I configure the heavy forwarder to listen on 9997 and direct it to the Windows TA? Is that done in the Windows TA &lt;CODE&gt;inputs.conf&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 13:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251652#M48447</guid>
      <dc:creator>DBattisto</dc:creator>
      <dc:date>2019-02-21T13:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251653#M48448</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;

&lt;P&gt;The config is the same as described above. &lt;BR /&gt;
You dont have to config anything regarding your Windows TA. You just have to copy on the HF and it works. &lt;/P&gt;

&lt;P&gt;if you the whole Windows-TA 1:1 on the Heavyforwarder, be aware that only two configfiles are needed ( &lt;CODE&gt;props,conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt;) &lt;/P&gt;

&lt;P&gt;In our environment I make a new App (like Windows-TA-hf, depends on your naming convention) and put only the needed files into this app. &lt;BR /&gt;
We manually define Linebreaking and the Timestamp because of Splunks Best Practice and of performance reason. &lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 06:43:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251653#M48448</guid>
      <dc:creator>markusspitzli</dc:creator>
      <dc:date>2019-02-22T06:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251654#M48449</link>
      <description>&lt;P&gt;In the event that someone else has this issue and sees this thread, I created an environment where:&lt;/P&gt;

&lt;P&gt;Universal Forwarder --&amp;gt; Heavy Forwarder --&amp;gt; Indexer&lt;/P&gt;

&lt;P&gt;I had to draw out the setup on paper to visualize what files needed to be configured, and which ports/firewall rules needed to be opened/modified. Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 13:34:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251654#M48449</guid>
      <dc:creator>DBattisto</dc:creator>
      <dc:date>2019-02-26T13:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251655#M48450</link>
      <description>&lt;P&gt;Thanks for the explanation. However, I will like to know if it is ideal for the  Heavy Forwarder to be forwarding to the Indexer Master?&lt;/P&gt;

&lt;P&gt;I understand that the Indexer master is not part of the Indexer cluster and it only control the activities on the IDX cluster, but i am just just curious how do it do that.&lt;/P&gt;

&lt;P&gt;My question:&lt;BR /&gt;
1. Can the HF ----- IDX MASTER ? Can the HF forward data to the IDX Master too?&lt;BR /&gt;
2. Can the Indexer Master be added to the RECIEVING PEERS like the Indexers?&lt;BR /&gt;
3. If we have 2 HF and we want to forwarder data from UF to the HF, do we have to run the command to forward logs to the HF:9997 twice to achieve that?&lt;BR /&gt;
4. Is there any way to cluster Heavy Forwarder in SplunK&lt;/P&gt;

&lt;P&gt;Please advice&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 18:23:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251655#M48450</guid>
      <dc:creator>yomesky2000</dc:creator>
      <dc:date>2020-05-05T18:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward logs from universal forwarders to heavy forwarders for filtering before routing to indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251656#M48451</link>
      <description>&lt;P&gt;Hi yomesky2000,&lt;/P&gt;

&lt;P&gt;I will split the answer to your 4 questions into two answers:&lt;/P&gt;

&lt;P&gt;1+2: Technically you can; should you do that? No! Your IDXC Master will be busy doing things its supposed to do and you will get issues as soon as your IDXC recovers for example. Also it is not recommended to do so, see the docs &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Deploy/Manageyourdeployment#Whether_to_colocate_management_components"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Deploy/Manageyourdeployment#Whether_to_colocate_management_components&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;3+4: Use a deployment server to configure the 2 HWF's so they use the same config files and enable forwarding using an &lt;CODE&gt;outputs.conf&lt;/CODE&gt; config file, see the docs &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Outputsconf#outputs.conf.example"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Outputsconf#outputs.conf.example&lt;/A&gt;&lt;BR /&gt;
No, there is no clustering for HWF but using a deployment server and configuring a DNS round-robin CNAME that uses the IP's of both HWF's you get as close as possible, next you point your UF's to send to this CNAME. Don't use a physical load balancer in front of HWF for reasons, UF's can handle load balancing themselves and also the error handling of connections - which will a load balancer &lt;EM&gt;break&lt;/EM&gt; if you put one in the Splunk-2-Splunk traffic.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 20:16:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-logs-from-universal-forwarders-to-heavy/m-p/251656#M48451</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-05-05T20:16:22Z</dc:date>
    </item>
  </channel>
</rss>

