<?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 use NOT match condition in Case statement for Multi valued field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-NOT-match-condition-in-Case-statement-for-Multi/m-p/575305#M200476</link>
    <description>&lt;P&gt;&lt;SPAN&gt;|eval SNOW_Description=case(EMGC_ADMINSERVER_Status!="k1","Java Process EMGC_ADMINSERVER data not available in splunk on host, EMGC_ORACLE_Status!="k2","Java Process EMGC_ORACLE data not available in splunk on host)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the above query, I am getting the output if the first condition&amp;nbsp;EMGC_ADMINSERVER_Status!="k1" is met.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am expecting to get the output when both conditions&amp;nbsp;EMGC_ADMINSERVER_Status!="k1 and&amp;nbsp;EMGC_ORACLE_Status!="k2" are met.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 17:33:09 GMT</pubDate>
    <dc:creator>manjunath_0208</dc:creator>
    <dc:date>2021-11-17T17:33:09Z</dc:date>
    <item>
      <title>How to use NOT match condition in Case statement for Multi valued field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-NOT-match-condition-in-Case-statement-for-Multi/m-p/575301#M200472</link>
      <description>&lt;P&gt;&lt;SPAN&gt;|eval SNOW_Description=case(EMGC_ADMINSERVER_Status!="k1","Java Process EMGC_ADMINSERVER data not available in splunk on host, EMGC_ORACLE_Status!="k2","Java Process EMGC_ORACLE data not available in splunk on host)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here I am trying to use multiple fields inside case statement. I am not getting correct output. How can this be achieved?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 16:50:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-NOT-match-condition-in-Case-statement-for-Multi/m-p/575301#M200472</guid>
      <dc:creator>manjunath_0208</dc:creator>
      <dc:date>2021-11-17T16:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use NOT match condition in Case statement for Multi valued field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-NOT-match-condition-in-Case-statement-for-Multi/m-p/575302#M200473</link>
      <description>&lt;P&gt;What output are you getting and what output do you expect?&amp;nbsp; The title of the post says "multi valued field", but the body says "multiple fields".&amp;nbsp; That's two different things so which is the case?&amp;nbsp; The latter is commonplace and should work easily, whereas the former requires one or more mv* functions.&lt;/P&gt;&lt;P&gt;That looks like it should work once the quotation marks are matched up.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 16:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-NOT-match-condition-in-Case-statement-for-Multi/m-p/575302#M200473</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-17T16:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use NOT match condition in Case statement for Multi valued field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-NOT-match-condition-in-Case-statement-for-Multi/m-p/575305#M200476</link>
      <description>&lt;P&gt;&lt;SPAN&gt;|eval SNOW_Description=case(EMGC_ADMINSERVER_Status!="k1","Java Process EMGC_ADMINSERVER data not available in splunk on host, EMGC_ORACLE_Status!="k2","Java Process EMGC_ORACLE data not available in splunk on host)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the above query, I am getting the output if the first condition&amp;nbsp;EMGC_ADMINSERVER_Status!="k1" is met.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am expecting to get the output when both conditions&amp;nbsp;EMGC_ADMINSERVER_Status!="k1 and&amp;nbsp;EMGC_ORACLE_Status!="k2" are met.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 17:33:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-NOT-match-condition-in-Case-statement-for-Multi/m-p/575305#M200476</guid>
      <dc:creator>manjunath_0208</dc:creator>
      <dc:date>2021-11-17T17:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use NOT match condition in Case statement for Multi valued field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-NOT-match-condition-in-Case-statement-for-Multi/m-p/575306#M200477</link>
      <description>&lt;P&gt;Case is evaluated from the left until a condition is met.&lt;/P&gt;&lt;P&gt;So if the first condition is met, subsequent ones are not evaluated. You might want to rethink your conditions/evaluation order.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 17:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-NOT-match-condition-in-Case-statement-for-Multi/m-p/575306#M200477</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-17T17:59:17Z</dc:date>
    </item>
  </channel>
</rss>

