<?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 Syslog forwarding/routing with Heavy Forwarder is sending more logs than excepted in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-forwarding-routing-with-Heavy-Forwarder-is-sending-more/m-p/568238#M100855</link>
    <description>&lt;P&gt;Dear Splunkers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to forward a specific sourcetype (let's call it "mySourcetype") to a third party software with a Heavy Forwarder.&lt;/P&gt;&lt;P&gt;The Heavy Forwarder receives the data on a udp port with a splunk input:&lt;/P&gt;&lt;P&gt;[udp://xxxxx:514]&lt;BR /&gt;connection_host = dns&lt;BR /&gt;sourcetype = mySourcetype&lt;BR /&gt;_SYSLOG_ROUTING = mySyslogRouting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We added the _SYSLOG_ROUTING line to also send it to the third party software as described in outputs.conf:&lt;/P&gt;&lt;P&gt;[syslog:mySyslogRouting]&lt;BR /&gt;type = udp&lt;BR /&gt;priority = NO_PRI&lt;BR /&gt;syslogSourceType = sourcetype::mySourcetype&lt;BR /&gt;server = yyyyyy:3000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the destination "yyyyyy:3000" receive all data (not just this sourcetype) from the HF. So that means all the other sourcetype and internal Splunk logs...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried to use the props.conf and transforms.conf to route it:&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[mySourcetype]&lt;BR /&gt;TRANSFORMS-changehost = routeSourcetype&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[routeSourcetype]&lt;BR /&gt;DEST_KEY=_SYSLOG_ROUTING&lt;BR /&gt;REGEX=(.)&lt;BR /&gt;FORMAT=mySyslogRouting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result is the same : the destination receive too much data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea to limit the Syslog forwarding to just one sourcetype?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: I found an old post that seems to be talking about the same issue but with no answers...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Route-syslog-from-heavy-forwarder-to-3rd-party-but-only/m-p/535722" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/Route-syslog-from-heavy-forwarder-to-3rd-party-but-only/m-p/535722&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2021 08:46:22 GMT</pubDate>
    <dc:creator>davietch</dc:creator>
    <dc:date>2021-09-24T08:46:22Z</dc:date>
    <item>
      <title>Syslog forwarding/routing with Heavy Forwarder is sending more logs than excepted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-forwarding-routing-with-Heavy-Forwarder-is-sending-more/m-p/568238#M100855</link>
      <description>&lt;P&gt;Dear Splunkers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to forward a specific sourcetype (let's call it "mySourcetype") to a third party software with a Heavy Forwarder.&lt;/P&gt;&lt;P&gt;The Heavy Forwarder receives the data on a udp port with a splunk input:&lt;/P&gt;&lt;P&gt;[udp://xxxxx:514]&lt;BR /&gt;connection_host = dns&lt;BR /&gt;sourcetype = mySourcetype&lt;BR /&gt;_SYSLOG_ROUTING = mySyslogRouting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We added the _SYSLOG_ROUTING line to also send it to the third party software as described in outputs.conf:&lt;/P&gt;&lt;P&gt;[syslog:mySyslogRouting]&lt;BR /&gt;type = udp&lt;BR /&gt;priority = NO_PRI&lt;BR /&gt;syslogSourceType = sourcetype::mySourcetype&lt;BR /&gt;server = yyyyyy:3000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the destination "yyyyyy:3000" receive all data (not just this sourcetype) from the HF. So that means all the other sourcetype and internal Splunk logs...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried to use the props.conf and transforms.conf to route it:&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[mySourcetype]&lt;BR /&gt;TRANSFORMS-changehost = routeSourcetype&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[routeSourcetype]&lt;BR /&gt;DEST_KEY=_SYSLOG_ROUTING&lt;BR /&gt;REGEX=(.)&lt;BR /&gt;FORMAT=mySyslogRouting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result is the same : the destination receive too much data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea to limit the Syslog forwarding to just one sourcetype?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: I found an old post that seems to be talking about the same issue but with no answers...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Route-syslog-from-heavy-forwarder-to-3rd-party-but-only/m-p/535722" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/Route-syslog-from-heavy-forwarder-to-3rd-party-but-only/m-p/535722&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 08:46:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-forwarding-routing-with-Heavy-Forwarder-is-sending-more/m-p/568238#M100855</guid>
      <dc:creator>davietch</dc:creator>
      <dc:date>2021-09-24T08:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog forwarding/routing with Heavy Forwarder is sending more logs than excepted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-forwarding-routing-with-Heavy-Forwarder-is-sending-more/m-p/568901#M100934</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It turns out our HF version (8.2.1) had a bug and upgrading to the latest (8.2.2) fixed the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 09:25:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-forwarding-routing-with-Heavy-Forwarder-is-sending-more/m-p/568901#M100934</guid>
      <dc:creator>davietch</dc:creator>
      <dc:date>2021-09-29T09:25:46Z</dc:date>
    </item>
  </channel>
</rss>

