<?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: EASY QUESTION: How to search for events that produce a field value of zero in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/EASY-QUESTION-How-to-search-for-events-that-produce-a-field/m-p/88716#M182193</link>
    <description>&lt;P&gt;Thanks for the reply, but SCHEDULED is a field value corresponding to the field ns2:sessionType, so I want something like count(ns2:sessionType=Scheduled)=0. However this command doesn't work.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2013 20:16:22 GMT</pubDate>
    <dc:creator>cosullivan66</dc:creator>
    <dc:date>2013-04-09T20:16:22Z</dc:date>
    <item>
      <title>EASY QUESTION: How to search for events that produce a field value of zero</title>
      <link>https://community.splunk.com/t5/Splunk-Search/EASY-QUESTION-How-to-search-for-events-that-produce-a-field/m-p/88714#M182191</link>
      <description>&lt;P&gt;Hi all, wish I could figure this one out myself but I'm stumped. I'm interested in producing a list of all the account IDs that have count(ns2:sessionType=SCHEDULED) = 0. I can produce the following list with this search:&lt;/P&gt;

&lt;P&gt;sourcetype="ScreenSharingEvent" | xmlkv | chart count by ns2:accountId ns2:sessionType&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ns2:accountId        IMPROMPTU     RECURRING    SCHEDULED
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1   545538432972491782        0     0             2&lt;/P&gt;

&lt;P&gt;2   1937523452352853511       2     0             5&lt;/P&gt;

&lt;P&gt;3   2633426351742639109       7     0             0&lt;/P&gt;

&lt;P&gt;I simply want a chart that would list the account with SCHEDULED=0&lt;/P&gt;

&lt;P&gt;ns2:accountId&lt;/P&gt;

&lt;P&gt;1       2633426351742639109&lt;/P&gt;

&lt;P&gt;Thanks for the help!!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 19:44:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/EASY-QUESTION-How-to-search-for-events-that-produce-a-field/m-p/88714#M182191</guid>
      <dc:creator>cosullivan66</dc:creator>
      <dc:date>2013-04-09T19:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: EASY QUESTION: How to search for events that produce a field value of zero</title>
      <link>https://community.splunk.com/t5/Splunk-Search/EASY-QUESTION-How-to-search-for-events-that-produce-a-field/m-p/88715#M182192</link>
      <description>&lt;P&gt;Assuming that in this case, the xmlkv command is splitting the KVs correctly, you could do this:&lt;/P&gt;

&lt;P&gt;sourcetype="ScreenSharingEvent" | xmlkv | search SCHEDULED=0 | chart count by ns2:accountId ns2:sessionType&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 20:02:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/EASY-QUESTION-How-to-search-for-events-that-produce-a-field/m-p/88715#M182192</guid>
      <dc:creator>jdunlea_splunk</dc:creator>
      <dc:date>2013-04-09T20:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: EASY QUESTION: How to search for events that produce a field value of zero</title>
      <link>https://community.splunk.com/t5/Splunk-Search/EASY-QUESTION-How-to-search-for-events-that-produce-a-field/m-p/88716#M182193</link>
      <description>&lt;P&gt;Thanks for the reply, but SCHEDULED is a field value corresponding to the field ns2:sessionType, so I want something like count(ns2:sessionType=Scheduled)=0. However this command doesn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 20:16:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/EASY-QUESTION-How-to-search-for-events-that-produce-a-field/m-p/88716#M182193</guid>
      <dc:creator>cosullivan66</dc:creator>
      <dc:date>2013-04-09T20:16:22Z</dc:date>
    </item>
  </channel>
</rss>

