<?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 exclude string from being indexed? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448649#M77983</link>
    <description>&lt;P&gt;Glad that it worked out. Cheers !&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 17:30:19 GMT</pubDate>
    <dc:creator>amitm05</dc:creator>
    <dc:date>2019-06-27T17:30:19Z</dc:date>
    <item>
      <title>How to exclude string from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448645#M77979</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;

&lt;P&gt;i want to configure the splunk forwarder to exclude one specific string from being indexed to the splunk index.&lt;/P&gt;

&lt;P&gt;In my case i want to exclude all lines like this from being transferred to the indexer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;*[25-Jun-2019 15:31:29 Europe/Berlin] PHP Deprecated:  The "checkDataSubmission" hook will be removed...*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;These are my config files:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;File: **/opt/splunkforwarder/etc/system/local/inputs.conf**

...
[monitor:///var/log/docker/php-fpm/error.log]
sourcetype=php:fpm:error
crcSalt=
index=php


File: **/opt/splunkforwarder/etc/system/local/props.conf**

[source::/var/log/docker/php-fpm/error.log]
TRANSFORMS-null= setnull


File: **/opt/splunkforwarder/etc/system/local/transforms.conf **

[setnull]
REGEX = .*PHP Deprecated.*
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;I've done the following steps to debug this by myself:&lt;/STRONG&gt;&lt;BR /&gt;
executed:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;- *./splunk cmd btool props list --debug*
- *./splunk cmd btool transforms list --debug*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To check if my configuration files was loaded when restarting the splunk service. All my configured lines are displayed by this.&lt;/P&gt;

&lt;P&gt;Also i've restarted the splunk forwarder after editing the config.&lt;/P&gt;

&lt;P&gt;Every help will be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 13:45:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448645#M77979</guid>
      <dc:creator>mmsbswe</dc:creator>
      <dc:date>2019-06-25T13:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude string from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448646#M77980</link>
      <description>&lt;P&gt;@mmsbswe&lt;BR /&gt;
Looks like you are trying to do this on the Univ forwarder itself. These would not apply on UF.&lt;BR /&gt;
You'd require to take these settings of props.conf and transforms.conf onto your indexer.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 16:09:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448646#M77980</guid>
      <dc:creator>amitm05</dc:creator>
      <dc:date>2019-06-25T16:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude string from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448647#M77981</link>
      <description>&lt;P&gt;Have you tried this? Let us know.&lt;BR /&gt;
You can also mention if you have already sorted this out OR Accept this one if it worked. It'll help others. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 20:02:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448647#M77981</guid>
      <dc:creator>amitm05</dc:creator>
      <dc:date>2019-06-26T20:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude string from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448648#M77982</link>
      <description>&lt;P&gt;Thanks for your reply. &lt;/P&gt;

&lt;P&gt;Correct, i do this on the universial forwarder. It seems that i have to try it on our indexer.&lt;/P&gt;

&lt;P&gt;Edit: Now it works :-).&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 14:04:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448648#M77982</guid>
      <dc:creator>mmsbswe</dc:creator>
      <dc:date>2019-06-27T14:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude string from being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448649#M77983</link>
      <description>&lt;P&gt;Glad that it worked out. Cheers !&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 17:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-string-from-being-indexed/m-p/448649#M77983</guid>
      <dc:creator>amitm05</dc:creator>
      <dc:date>2019-06-27T17:30:19Z</dc:date>
    </item>
  </channel>
</rss>

