<?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 do you exclude log lines from being indexed? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-log-lines-from-being-indexed/m-p/299821#M56722</link>
    <description>&lt;P&gt;It isn't possible to filter data using a Universal Forwarder, with the exception of Blacklisting or Whitelisting Wiindows event codes.  You would need to use the props and transforms settings on the indexers, or use a Heavy Forwarder.&lt;/P&gt;

&lt;P&gt;If using a Heavy Forwarder, you need to consider how much of the data you are actually filtering out.  If it isn't a large percentage, then it isn't worth it since Heavy Forwarders send what is called "cooked data" which is larger than what a Universal Forwarder would send.  So you really wouldn't be cutting back on any network traffic.  &lt;/P&gt;

&lt;P&gt;If you aren't filtering a large portion, use the Universal Forwarder and add the props.conf and transforms.conf settings to your indexers.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2017 13:53:04 GMT</pubDate>
    <dc:creator>kmorris_splunk</dc:creator>
    <dc:date>2017-08-25T13:53:04Z</dc:date>
    <item>
      <title>How do you exclude log lines from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-log-lines-from-being-indexed/m-p/299820#M56721</link>
      <description>&lt;P&gt;Hi, I am using Splunk 6.5.&lt;BR /&gt;
How can I exclude lines containing a pattern from being indexed? In my case I have IIS access logs forwarded by a Universal Forwarder. I have tried to configure like this, but log lines that contains bigip is still indexed.&lt;/P&gt;

&lt;P&gt;system/default/props.conf&lt;BR /&gt;
[iis]&lt;BR /&gt;
INDEXED_EXTRACTIONS = w3c&lt;/P&gt;

&lt;P&gt;system/local/props.conf&lt;BR /&gt;
[iis]&lt;BR /&gt;
TRANSFORMS-null=ignorebigip&lt;/P&gt;

&lt;P&gt;system/local/transforms.conf&lt;BR /&gt;
[ignorebigip]&lt;BR /&gt;
REGEX = (?m)^.&lt;EM&gt;(bigip)\s.&lt;/EM&gt;$&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;If I understand this answer &lt;A href="https://answers.splunk.com/answers/453417/parse-iis-logs-structured-data-on-universal-forwar.html"&gt;https://answers.splunk.com/answers/453417/parse-iis-logs-structured-data-on-universal-forwar.html&lt;/A&gt; , it is not possible to send to the nullQueue when the "standard" [iis] sourcetype with INDEXED_EXTRACTIONS = w3c. &lt;/P&gt;

&lt;P&gt;Is that true, do I really have to configure how to extract the fields the "pre-Splunk 6"-way?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 10:37:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-log-lines-from-being-indexed/m-p/299820#M56721</guid>
      <dc:creator>krisbent</dc:creator>
      <dc:date>2017-08-24T10:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do you exclude log lines from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-log-lines-from-being-indexed/m-p/299821#M56722</link>
      <description>&lt;P&gt;It isn't possible to filter data using a Universal Forwarder, with the exception of Blacklisting or Whitelisting Wiindows event codes.  You would need to use the props and transforms settings on the indexers, or use a Heavy Forwarder.&lt;/P&gt;

&lt;P&gt;If using a Heavy Forwarder, you need to consider how much of the data you are actually filtering out.  If it isn't a large percentage, then it isn't worth it since Heavy Forwarders send what is called "cooked data" which is larger than what a Universal Forwarder would send.  So you really wouldn't be cutting back on any network traffic.  &lt;/P&gt;

&lt;P&gt;If you aren't filtering a large portion, use the Universal Forwarder and add the props.conf and transforms.conf settings to your indexers.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 13:53:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-exclude-log-lines-from-being-indexed/m-p/299821#M56722</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2017-08-25T13:53:04Z</dc:date>
    </item>
  </channel>
</rss>

