<?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 Excluding log entries based on specific String in msg field in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Excluding-log-entries-based-on-specific-String-in-msg-field/m-p/671067#M112498</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a problem excluding or including only entries that contain specific String values in the msg field. For example, there are two (maybe more) definite String values contained in the msg field:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. "GET /ecc/v1/content/preLoginBanners HTTP/1.0"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;"GET /ecc/v1/content/category/LegalTerms HTTP/1.0"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need 3 statements like the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Include ONLY 1 above in the msg field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Include ONLY 2 above in the msg field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Exclude 1 and 2 above to determine if there are more unknown values in the msg field.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I imagine I will be using thistype of&amp;nbsp; logic more on other output fields as time goes on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am new to this and I am using the XML-based AdHoc Search input/output form. Any help is greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 19:11:21 GMT</pubDate>
    <dc:creator>bblackmon</dc:creator>
    <dc:date>2023-12-06T19:11:21Z</dc:date>
    <item>
      <title>Excluding log entries based on specific String in msg field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Excluding-log-entries-based-on-specific-String-in-msg-field/m-p/671067#M112498</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a problem excluding or including only entries that contain specific String values in the msg field. For example, there are two (maybe more) definite String values contained in the msg field:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. "GET /ecc/v1/content/preLoginBanners HTTP/1.0"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;"GET /ecc/v1/content/category/LegalTerms HTTP/1.0"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need 3 statements like the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Include ONLY 1 above in the msg field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Include ONLY 2 above in the msg field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Exclude 1 and 2 above to determine if there are more unknown values in the msg field.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I imagine I will be using thistype of&amp;nbsp; logic more on other output fields as time goes on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am new to this and I am using the XML-based AdHoc Search input/output form. Any help is greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 19:11:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Excluding-log-entries-based-on-specific-String-in-msg-field/m-p/671067#M112498</guid>
      <dc:creator>bblackmon</dc:creator>
      <dc:date>2023-12-06T19:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding log entries based on specific String in msg field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Excluding-log-entries-based-on-specific-String-in-msg-field/m-p/671125#M112507</link>
      <description>&lt;P&gt;OK. You're mixing so many different things here that I'm not really sure what you want.&lt;/P&gt;&lt;P&gt;You posted this in "Getting Data In" section which typically deals with issues regarding ingesting data from sources into Splunk.&lt;/P&gt;&lt;P&gt;You labeled your post with "field extraction" but doesn't mention the extraction in the contents - are your fields properly extracted? Do you need to extract them before searching?&lt;/P&gt;&lt;P&gt;And your post is clearly about searching as such. But mentions something you call "XML-based AdHoc Search input/output form". What do you mean?&lt;/P&gt;&lt;P&gt;I suggest you check out the "Intro to Splunk" free course on the STEP education portal (see &lt;A href="https://www.splunk.com/en_us/training/course-catalog.html" target="_blank"&gt;https://www.splunk.com/en_us/training/course-catalog.html&lt;/A&gt; )&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 08:39:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Excluding-log-entries-based-on-specific-String-in-msg-field/m-p/671125#M112507</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-12-07T08:39:15Z</dc:date>
    </item>
  </channel>
</rss>

