<?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: Sourcetype overide with a forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-overide-with-a-forwarder/m-p/171597#M34632</link>
    <description>&lt;P&gt;i have 3 forwarders, they each receive udp:514. They have nothing installed on them and are heavy forwarder.&lt;BR /&gt;
They forwards using tcp:9997 and my receiver is also listening from UDP:514 and receiving from forwarders.&lt;/P&gt;

&lt;P&gt;Each forwarders is sending to a specific index. Now i wants to override sourcetype with a regex.&lt;/P&gt;

&lt;P&gt;It's easier for me to make search with this configuration, like index=X sourcetype=Y where X is the index from my forwarder (that's part work fine) and Y is the constructor of the device sending logs.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2013 08:37:23 GMT</pubDate>
    <dc:creator>ddarmand</dc:creator>
    <dc:date>2013-12-09T08:37:23Z</dc:date>
    <item>
      <title>Sourcetype overide with a forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-overide-with-a-forwarder/m-p/171595#M34630</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;

&lt;P&gt;I want to override the sourcetype of my logs with a regex (i know how to do this part)&lt;BR /&gt;
but i have some issue to know how to override the sourcetype from logs received from a forwarder.&lt;/P&gt;

&lt;P&gt;I don't know if i have to  modify the props.conf and transforms.conf on the forwarder or on the receiver or if i can do both and specify a thing like [source::tcp:9997] &lt;/P&gt;

&lt;P&gt;Can you help me please ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 08:06:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-overide-with-a-forwarder/m-p/171595#M34630</guid>
      <dc:creator>ddarmand</dc:creator>
      <dc:date>2013-12-09T08:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype overide with a forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-overide-with-a-forwarder/m-p/171596#M34631</link>
      <description>&lt;P&gt;I think you need to provide more details regarding your use  case, but the &lt;CODE&gt;source&lt;/CODE&gt; field of events received from a forwarder will not be &lt;CODE&gt;[tcp:9997]&lt;/CODE&gt;, but rather the path to, and name of, the file that was read by the forwarder. If it is a scripted input, then the name of the script.&lt;/P&gt;

&lt;P&gt;This is unlike a Splunk indexer listening to syslog traffic directly, where the &lt;CODE&gt;source&lt;/CODE&gt; would be &lt;CODE&gt;[udp:514]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 08:24:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-overide-with-a-forwarder/m-p/171596#M34631</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-12-09T08:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype overide with a forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-overide-with-a-forwarder/m-p/171597#M34632</link>
      <description>&lt;P&gt;i have 3 forwarders, they each receive udp:514. They have nothing installed on them and are heavy forwarder.&lt;BR /&gt;
They forwards using tcp:9997 and my receiver is also listening from UDP:514 and receiving from forwarders.&lt;/P&gt;

&lt;P&gt;Each forwarders is sending to a specific index. Now i wants to override sourcetype with a regex.&lt;/P&gt;

&lt;P&gt;It's easier for me to make search with this configuration, like index=X sourcetype=Y where X is the index from my forwarder (that's part work fine) and Y is the constructor of the device sending logs.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 08:37:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-overide-with-a-forwarder/m-p/171597#M34632</guid>
      <dc:creator>ddarmand</dc:creator>
      <dc:date>2013-12-09T08:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype overide with a forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-overide-with-a-forwarder/m-p/171598#M34633</link>
      <description>&lt;P&gt;Well, you'll have to look at events that you &lt;EM&gt;know&lt;/EM&gt; are coming from a forwarder, and take the value of the &lt;CODE&gt;source&lt;/CODE&gt;, and run it through a transform. However, if this value is &lt;CODE&gt;udp:514&lt;/CODE&gt;, you might catch too many events in your transform, if your indexer is also listening on incoming syslog traffic.&lt;/P&gt;

&lt;P&gt;However, if the forwarders are indeed Heavy Forwarders, then you can set up the tranforming there, hopefully being able to only catch the 'correct' events.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 11:46:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-overide-with-a-forwarder/m-p/171598#M34633</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-12-09T11:46:48Z</dc:date>
    </item>
  </channel>
</rss>

