<?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: Search for a field which is NOT success from multi-value field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-for-a-field-which-is-NOT-success-from-multi-value-field/m-p/514373#M144362</link>
    <description>&lt;LI-CODE lang="markup"&gt;| makeresults
| eval status=split("success,bounced,deffered",",")
| search status="bounced"&lt;/LI-CODE&gt;&lt;P&gt;this works fine.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval status=split("success,bounced,deffered",",")
| search NOT status="bounced"&lt;/LI-CODE&gt;&lt;P&gt;this doesn't work fine.&lt;BR /&gt;&lt;BR /&gt;If&lt;STRONG&gt; NOT &lt;/STRONG&gt;works well, there is not the words.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 04:57:54 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-08-17T04:57:54Z</dc:date>
    <item>
      <title>Search for a field which is NOT success from multi-value field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-a-field-which-is-NOT-success-from-multi-value-field/m-p/514371#M144361</link>
      <description>&lt;P&gt;Using `transaction` to trace email delivery through a chain of postfix relays, and I end up with a transaction where each relay reported a `status=`. In the normal case all of these are `status=sent` but now and then I see `status=bounced` or `status=deferred`.&lt;/P&gt;&lt;P&gt;How do I search for the non-success `status` when there are multiple success ones and only one non-success.&lt;/P&gt;&lt;P&gt;If I add `| search NOT status=sent` to the search, nothing gets matched because there is almost always a `status=sent`. Sadly, `| search status != sent` seems to behave the same way.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I could list all the other possible values so I can have `| search status=bounced OR status=deferred` but this not what I am looking for.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 04:29:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-a-field-which-is-NOT-success-from-multi-value-field/m-p/514371#M144361</guid>
      <dc:creator>chutz</dc:creator>
      <dc:date>2020-08-17T04:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Search for a field which is NOT success from multi-value field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-a-field-which-is-NOT-success-from-multi-value-field/m-p/514373#M144362</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults
| eval status=split("success,bounced,deffered",",")
| search status="bounced"&lt;/LI-CODE&gt;&lt;P&gt;this works fine.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval status=split("success,bounced,deffered",",")
| search NOT status="bounced"&lt;/LI-CODE&gt;&lt;P&gt;this doesn't work fine.&lt;BR /&gt;&lt;BR /&gt;If&lt;STRONG&gt; NOT &lt;/STRONG&gt;works well, there is not the words.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 04:57:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-a-field-which-is-NOT-success-from-multi-value-field/m-p/514373#M144362</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-08-17T04:57:54Z</dc:date>
    </item>
  </channel>
</rss>

