<?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 filter out the event log based on the Message attribute which is having space in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-out-the-event-log-based-on-the-Message-attribute/m-p/487419#M193835</link>
    <description>&lt;P&gt;Hello @nsudha1975,&lt;/P&gt;

&lt;P&gt;there are several options, two of them are:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  | regex _raw!="\[Message=Call received for PID"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  NOT "Message=Call received for PID"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if you want to extract the field Message in full try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  | rex "\[Message=(?&amp;lt;Message&amp;gt;[^\]]+)\]"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know how it went&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 06:04:54 GMT</pubDate>
    <dc:creator>PavelP</dc:creator>
    <dc:date>2020-04-27T06:04:54Z</dc:date>
    <item>
      <title>How to filter out the event log based on the Message attribute which is having space</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-out-the-event-log-based-on-the-Message-attribute/m-p/487418#M193834</link>
      <description>&lt;P&gt;Here is my event log sample below&lt;BR /&gt;
[LOG LEVEL=INFO] [LOGGER=WIFI_ACCESS_INFO] [INTERFACE ID=WIFI_ACCESS] [STEP=START] [RUN_ID=20200426140325679]  [Message=Call received for PID: 1234 ] &lt;/P&gt;

&lt;P&gt;Actually i don't need this event, so I would like filter out this event based on the Message   but it is not working as Message has phrase. Please let me know how to filter out this event. Thanks for your help in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-out-the-event-log-based-on-the-Message-attribute/m-p/487418#M193834</guid>
      <dc:creator>nsudha1975</dc:creator>
      <dc:date>2020-09-30T05:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out the event log based on the Message attribute which is having space</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-out-the-event-log-based-on-the-Message-attribute/m-p/487419#M193835</link>
      <description>&lt;P&gt;Hello @nsudha1975,&lt;/P&gt;

&lt;P&gt;there are several options, two of them are:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  | regex _raw!="\[Message=Call received for PID"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  NOT "Message=Call received for PID"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if you want to extract the field Message in full try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  | rex "\[Message=(?&amp;lt;Message&amp;gt;[^\]]+)\]"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know how it went&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 06:04:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-out-the-event-log-based-on-the-Message-attribute/m-p/487419#M193835</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-04-27T06:04:54Z</dc:date>
    </item>
  </channel>
</rss>

