<?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: Filter events on indexer from multiple universal forwarders in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-on-indexer-from-multiple-universal-forwarders/m-p/136077#M28016</link>
    <description>&lt;P&gt;Do those files use the same sourcetype? If so, put the TRANSFORMS-foo value under that sourcetype.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Apr 2014 16:45:21 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-04-18T16:45:21Z</dc:date>
    <item>
      <title>Filter events on indexer from multiple universal forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-on-indexer-from-multiple-universal-forwarders/m-p/136076#M28015</link>
      <description>&lt;P&gt;We've about 20 universal forwarders monitoring different log files. Our system doesn't allow to use heavy forwarders because of their performance impact on data indexing.&lt;BR /&gt;
These universal forwarders send their data to a couple of indexers.&lt;/P&gt;

&lt;P&gt;I've read &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.3/Forwarding/Routeandfilterdatad"&gt;Route and filter data&lt;/A&gt; docu (&lt;CODE&gt;Discard specific events and keep the rest section&lt;/CODE&gt;). My question is that as we have different source log files located on different boxes, how would I refer them in &lt;CODE&gt;props.conf&lt;/CODE&gt; file:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[source::?????]&lt;BR /&gt;
TRANSFORMS-null= setnull&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;For example, on one box I monitor /log/log.1 and on another /log/log.2. &lt;BR /&gt;
Should I point the hostname after the &lt;CODE&gt;source::&lt;/CODE&gt; as well? Could somebody show an example?&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;BR /&gt;
Alexey&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2014 13:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-on-indexer-from-multiple-universal-forwarders/m-p/136076#M28015</guid>
      <dc:creator>takemusu</dc:creator>
      <dc:date>2014-04-18T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter events on indexer from multiple universal forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-on-indexer-from-multiple-universal-forwarders/m-p/136077#M28016</link>
      <description>&lt;P&gt;Do those files use the same sourcetype? If so, put the TRANSFORMS-foo value under that sourcetype.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2014 16:45:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-on-indexer-from-multiple-universal-forwarders/m-p/136077#M28016</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-18T16:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter events on indexer from multiple universal forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-on-indexer-from-multiple-universal-forwarders/m-p/136078#M28017</link>
      <description>&lt;P&gt;Yes, for now these files are using the same sourcetype (log4j). When you say &lt;CODE&gt;put the TRANSFORMS-foo value under that sourcetype&lt;/CODE&gt; - do you mean editing sourcetype.conf?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2014 07:45:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-on-indexer-from-multiple-universal-forwarders/m-p/136078#M28017</guid>
      <dc:creator>takemusu</dc:creator>
      <dc:date>2014-04-21T07:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filter events on indexer from multiple universal forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-on-indexer-from-multiple-universal-forwarders/m-p/136079#M28018</link>
      <description>&lt;P&gt;Editing sourcetypes.conf rarely ever is required, your own sourcetype settings reside in props.conf.&lt;/P&gt;

&lt;P&gt;Put your transforms list under your common sourcetype &lt;CODE&gt;log4j&lt;/CODE&gt; in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[log4j]
TRANSFORMS-null = ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Remember, this will affect every event with &lt;CODE&gt;sourcetype=log4j&lt;/CODE&gt; regardless of &lt;CODE&gt;host&lt;/CODE&gt; and &lt;CODE&gt;sourcetype&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2014 09:33:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-on-indexer-from-multiple-universal-forwarders/m-p/136079#M28018</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-21T09:33:26Z</dc:date>
    </item>
  </channel>
</rss>

