<?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 Exclude Sourcetype from being indexed in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-Sourcetype-from-being-indexed/m-p/240000#M46620</link>
    <description>&lt;P&gt;How do i exclude paticular sourcetype from being indexed at my indexer end&lt;BR /&gt;
Or is there any method to stop them at forwarder end&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2017 08:21:16 GMT</pubDate>
    <dc:creator>himapate</dc:creator>
    <dc:date>2017-01-17T08:21:16Z</dc:date>
    <item>
      <title>Exclude Sourcetype from being indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-Sourcetype-from-being-indexed/m-p/240000#M46620</link>
      <description>&lt;P&gt;How do i exclude paticular sourcetype from being indexed at my indexer end&lt;BR /&gt;
Or is there any method to stop them at forwarder end&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 08:21:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-Sourcetype-from-being-indexed/m-p/240000#M46620</guid>
      <dc:creator>himapate</dc:creator>
      <dc:date>2017-01-17T08:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Sourcetype from being indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-Sourcetype-from-being-indexed/m-p/240001#M46621</link>
      <description>&lt;P&gt;Hi himapate,&lt;BR /&gt;
you can stop ingestion inserting disabled=1 in each stanza of your sourcetype in your forwarders inputs.conf, this is easy if you have not many Forwarders or a Deployment Server.&lt;/P&gt;

&lt;P&gt;Otherwise, if you want to filter them on the indexers, you have to insert:&lt;BR /&gt;
in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_sourcetype]
TRANSFORMS-set-nullqueue=set_nullqueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and in transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[set_nullqueue]
REGEX=.
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and restart Splunk&lt;/P&gt;

&lt;P&gt;When you want to disable filter, you have only to comment (#) the TRANSFORMS command in props.conf (obviously restarting Splunk!).&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 08:26:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-Sourcetype-from-being-indexed/m-p/240001#M46621</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-01-17T08:26:28Z</dc:date>
    </item>
  </channel>
</rss>

