<?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 to configure selective data indexing ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-selective-data-indexing/m-p/88705#M18396</link>
    <description>&lt;P&gt;You do that through props.conf and transforms.conf on the indexer, since that is where the parsing takes place. If you hava a full/heavy forwarder, you can do the operation there.&lt;/P&gt;

&lt;P&gt;For instance, if your special log file contains a lot of events containing WARNING, and you don't want to index them, your config should look something like;&lt;/P&gt;

&lt;P&gt;In props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/var/your_special.log]
TRANSFORMS-set= setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX=WARNING
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also see;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings" target="_blank"&gt;http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 11:30:06 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2020-09-28T11:30:06Z</dc:date>
    <item>
      <title>How to configure selective data indexing ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-selective-data-indexing/m-p/88704#M18395</link>
      <description>&lt;P&gt;Our configuration has universal forwarder - so the whole log file is being forwarded to the indexer. I know there is lot of data/information/warning in the log file which is not required for monitoring. How can I ignore those data so that indexer don't have to index so much (not needed) data ? I understand there is some configuration for that - but couldn't figure out from the deployment document of splunk. Or am I looking at the wrong document ?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2012 14:57:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-selective-data-indexing/m-p/88704#M18395</guid>
      <dc:creator>somnathnag</dc:creator>
      <dc:date>2012-03-09T14:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure selective data indexing ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-selective-data-indexing/m-p/88705#M18396</link>
      <description>&lt;P&gt;You do that through props.conf and transforms.conf on the indexer, since that is where the parsing takes place. If you hava a full/heavy forwarder, you can do the operation there.&lt;/P&gt;

&lt;P&gt;For instance, if your special log file contains a lot of events containing WARNING, and you don't want to index them, your config should look something like;&lt;/P&gt;

&lt;P&gt;In props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/var/your_special.log]
TRANSFORMS-set= setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX=WARNING
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also see;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings" target="_blank"&gt;http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-selective-data-indexing/m-p/88705#M18396</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2020-09-28T11:30:06Z</dc:date>
    </item>
  </channel>
</rss>

