<?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: Exclude lines from log at input time in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423744#M74403</link>
    <description>&lt;P&gt;Don't you forget to modify your props.conf and restart splunk?&lt;/P&gt;</description>
    <pubDate>Wed, 30 May 2018 13:24:09 GMT</pubDate>
    <dc:creator>artist0</dc:creator>
    <dc:date>2018-05-30T13:24:09Z</dc:date>
    <item>
      <title>Exclude lines from log at input time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423740#M74399</link>
      <description>&lt;P&gt;Hello there, &lt;BR /&gt;
i got a Catalina log and i don't want to index lines that contains one of that word: API PROXY, WARN, ERROR&lt;/P&gt;

&lt;P&gt;After that i want to aggregate some lines.&lt;/P&gt;

&lt;P&gt;I'm using a Single instance deployment of Splunk7.1.&lt;/P&gt;

&lt;P&gt;Can someone help me to delete the log lines?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 09:50:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423740#M74399</guid>
      <dc:creator>marziaolla</dc:creator>
      <dc:date>2018-05-30T09:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude lines from log at input time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423741#M74400</link>
      <description>&lt;P&gt;Hello, try some solutions from this post:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk.html"&gt;https://answers.splunk.com/answers/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 10:09:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423741#M74400</guid>
      <dc:creator>artist0</dc:creator>
      <dc:date>2018-05-30T10:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude lines from log at input time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423742#M74401</link>
      <description>&lt;P&gt;If you want to filter the captured logs, use "nullQueue".&lt;/P&gt;

&lt;P&gt;Filter event data and send to queues&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 10:14:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423742#M74401</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2018-05-30T10:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude lines from log at input time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423743#M74402</link>
      <description>&lt;P&gt;I tried with this transforms.conf file &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = API PROXY|WARN|ERROR
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX = .
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it doesn't work&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 13:15:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423743#M74402</guid>
      <dc:creator>marziaolla</dc:creator>
      <dc:date>2018-05-30T13:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude lines from log at input time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423744#M74403</link>
      <description>&lt;P&gt;Don't you forget to modify your props.conf and restart splunk?&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 13:24:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423744#M74403</guid>
      <dc:creator>artist0</dc:creator>
      <dc:date>2018-05-30T13:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude lines from log at input time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423745#M74404</link>
      <description>&lt;P&gt;i've modified props.conf and restart but it still doesnt work&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 13:46:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423745#M74404</guid>
      <dc:creator>marziaolla</dc:creator>
      <dc:date>2018-05-30T13:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude lines from log at input time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423746#M74405</link>
      <description>&lt;P&gt;How is this done?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [setnull]
 REGEX = (API PROXY|WARN|ERROR)
 DEST_KEY = queue
 FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 May 2018 15:54:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-lines-from-log-at-input-time/m-p/423746#M74405</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2018-05-30T15:54:23Z</dc:date>
    </item>
  </channel>
</rss>

