<?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: Need to omit events with specific strings (info or debug) in them. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-to-omit-events-with-specific-strings-info-or-debug-in-them/m-p/382338#M168928</link>
    <description>&lt;P&gt;In order to remove events at index time use SEDCMD in props.conf&lt;/P&gt;

&lt;P&gt;ex:&lt;BR /&gt;
[your_custom_sourcetype]&lt;BR /&gt;
SEDCMD-remove = s/(place_regex_that_matches_events_you_wish_to_remove_here)//g&lt;/P&gt;

&lt;P&gt;Let me know if that helps.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:54:39 GMT</pubDate>
    <dc:creator>lacastillo</dc:creator>
    <dc:date>2020-09-29T19:54:39Z</dc:date>
    <item>
      <title>Need to omit events with specific strings (info or debug) in them.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-omit-events-with-specific-strings-info-or-debug-in-them/m-p/382336#M168926</link>
      <description>&lt;P&gt;I am trying to prevent debug and info events from getting logged into splunk. I created an inputs.conf and used blacklist statement to blacklist these events, but it didn't help. &lt;/P&gt;

&lt;P&gt;I wrote below stanza in inputs.conf using regex, but no luck.&lt;/P&gt;

&lt;H1&gt;blacklist = .&lt;EM&gt;:\s+[(debug|\sinfo)|.&lt;/EM&gt;&lt;/H1&gt;

&lt;P&gt;Can i directly do blacklisting in inputs.conf using the below statements? &lt;BR /&gt;
blacklist1 = debug&lt;BR /&gt;
blacklist2 = info&lt;/P&gt;

&lt;P&gt;If not how can I do it? Is the only option left is using props.conf and transforms.conf and sending these events to nullqueue?&lt;/P&gt;

&lt;P&gt;Please help!&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Arpit&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 10:37:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-omit-events-with-specific-strings-info-or-debug-in-them/m-p/382336#M168926</guid>
      <dc:creator>Arpit_S</dc:creator>
      <dc:date>2018-06-13T10:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need to omit events with specific strings (info or debug) in them.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-omit-events-with-specific-strings-info-or-debug-in-them/m-p/382337#M168927</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;If 'INFO' and 'DEBUG' events are in the same log file along with other data(you want to ingest), then yes, using props.conf and transforms.conf is the only way. Using blacklist in inputs.conf will only look for the keywords in the name of the source-file not inside the file. Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 19:05:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-omit-events-with-specific-strings-info-or-debug-in-them/m-p/382337#M168927</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-06-13T19:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to omit events with specific strings (info or debug) in them.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-omit-events-with-specific-strings-info-or-debug-in-them/m-p/382338#M168928</link>
      <description>&lt;P&gt;In order to remove events at index time use SEDCMD in props.conf&lt;/P&gt;

&lt;P&gt;ex:&lt;BR /&gt;
[your_custom_sourcetype]&lt;BR /&gt;
SEDCMD-remove = s/(place_regex_that_matches_events_you_wish_to_remove_here)//g&lt;/P&gt;

&lt;P&gt;Let me know if that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-omit-events-with-specific-strings-info-or-debug-in-them/m-p/382338#M168928</guid>
      <dc:creator>lacastillo</dc:creator>
      <dc:date>2020-09-29T19:54:39Z</dc:date>
    </item>
  </channel>
</rss>

