<?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: Negate the field containing both the values in SPLUNK query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Negate-the-field-containing-both-the-values-in-SPLUNK-query/m-p/531524#M150128</link>
    <description>&lt;P&gt;Like this, maybe?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype="my_sourcetype" session_id="1011" 
| eval indicator=mvappend(src,dest)
| mvexpand indicator
| stats count values(action) as actions by indicator,session_id
| where (isnull(mvfind(actions,"allowed")) AND isnull(mvfind(actions,"teared")))&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 01 Dec 2020 14:02:55 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-12-01T14:02:55Z</dc:date>
    <item>
      <title>Negate the field containing both the values in SPLUNK query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Negate-the-field-containing-both-the-values-in-SPLUNK-query/m-p/531499#M150122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have written following query where a field consisting of 2 actions as below,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query:&lt;/STRONG&gt;&lt;BR /&gt;sourcetype="my_sourcetype" session_id="1011" |eval indicator=mvappend(src,dest)|mvexpand indicator|stats count values(action) by indicator,session_id&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;indicator&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;session_id&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;count&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;value(action)&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;23.45.6.78&lt;/TD&gt;&lt;TD width="25%"&gt;1011&lt;/TD&gt;&lt;TD width="25%"&gt;2&lt;/TD&gt;&lt;TD width="25%"&gt;allowed&lt;BR /&gt;teared&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;23.45.6.79&lt;/TD&gt;&lt;TD width="25%"&gt;1045&lt;/TD&gt;&lt;TD width="25%"&gt;2&lt;/TD&gt;&lt;TD width="25%"&gt;allowed&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to negate the field which contain both allowed and teared. Please suggest any ideas.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 11:32:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Negate-the-field-containing-both-the-values-in-SPLUNK-query/m-p/531499#M150122</guid>
      <dc:creator>Janani_Krish</dc:creator>
      <dc:date>2020-12-01T11:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Negate the field containing both the values in SPLUNK query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Negate-the-field-containing-both-the-values-in-SPLUNK-query/m-p/531524#M150128</link>
      <description>&lt;P&gt;Like this, maybe?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype="my_sourcetype" session_id="1011" 
| eval indicator=mvappend(src,dest)
| mvexpand indicator
| stats count values(action) as actions by indicator,session_id
| where (isnull(mvfind(actions,"allowed")) AND isnull(mvfind(actions,"teared")))&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Dec 2020 14:02:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Negate-the-field-containing-both-the-values-in-SPLUNK-query/m-p/531524#M150128</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-01T14:02:55Z</dc:date>
    </item>
  </channel>
</rss>

