<?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 Reporting on deviceIDs that return no results for a specific search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Reporting-on-deviceIDs-that-return-no-results-for-a-specific/m-p/20593#M177303</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm trying to write a search query that will return the number of 'IntervalReadingEvent' per deviceID. I've got a full list of my deviceIDs in a lookup but my search will only ever return the count of 'IntervalReadingEvent' for deviceIDs that have at least one of the 'IntervalReadingEvent' results.&lt;/P&gt;

&lt;P&gt;Example search: &lt;BR /&gt;
&lt;CODE&gt;index="MyIndex" IntervalReadingEvent | lookup MyLookup deviceId OUTPUT MAC_Address | stats count by MAC_Address&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;That seems to work fine and will return a list of all the &lt;CODE&gt;MAC_Addresses&lt;/CODE&gt; and the count of how many IntervalReadingEvents they have had. The problem is a &lt;CODE&gt;MAC_Address&lt;/CODE&gt; must have at least 1 result to show up in my list. I want ALL the &lt;CODE&gt;MAC_Addresses&lt;/CODE&gt; in my lookup file to be show in the results and show '0' if they have had no IntervalReadingEvents in the last X minutes.&lt;/P&gt;

&lt;P&gt;My goal is to find the lack of a particular type of event over X minutes for my list of deviceIDs.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Feb 2013 18:52:52 GMT</pubDate>
    <dc:creator>kyle_ross</dc:creator>
    <dc:date>2013-02-05T18:52:52Z</dc:date>
    <item>
      <title>Reporting on deviceIDs that return no results for a specific search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reporting-on-deviceIDs-that-return-no-results-for-a-specific/m-p/20593#M177303</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm trying to write a search query that will return the number of 'IntervalReadingEvent' per deviceID. I've got a full list of my deviceIDs in a lookup but my search will only ever return the count of 'IntervalReadingEvent' for deviceIDs that have at least one of the 'IntervalReadingEvent' results.&lt;/P&gt;

&lt;P&gt;Example search: &lt;BR /&gt;
&lt;CODE&gt;index="MyIndex" IntervalReadingEvent | lookup MyLookup deviceId OUTPUT MAC_Address | stats count by MAC_Address&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;That seems to work fine and will return a list of all the &lt;CODE&gt;MAC_Addresses&lt;/CODE&gt; and the count of how many IntervalReadingEvents they have had. The problem is a &lt;CODE&gt;MAC_Address&lt;/CODE&gt; must have at least 1 result to show up in my list. I want ALL the &lt;CODE&gt;MAC_Addresses&lt;/CODE&gt; in my lookup file to be show in the results and show '0' if they have had no IntervalReadingEvents in the last X minutes.&lt;/P&gt;

&lt;P&gt;My goal is to find the lack of a particular type of event over X minutes for my list of deviceIDs.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 18:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reporting-on-deviceIDs-that-return-no-results-for-a-specific/m-p/20593#M177303</guid>
      <dc:creator>kyle_ross</dc:creator>
      <dc:date>2013-02-05T18:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting on deviceIDs that return no results for a specific search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reporting-on-deviceIDs-that-return-no-results-for-a-specific/m-p/20594#M177304</link>
      <description>&lt;P&gt;You could start with inputlookup, loading all MAC_Addresses - and then join that with your search. Just remember to use a left join with a max other than 1.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 20:25:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reporting-on-deviceIDs-that-return-no-results-for-a-specific/m-p/20594#M177304</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-02-05T20:25:08Z</dc:date>
    </item>
  </channel>
</rss>

