<?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 compare the hourly count of events for a particular event and show what is the difference in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598813#M208507</link>
    <description>&lt;LI-CODE lang="markup"&gt;| bin _time span=1h
| stats dc(_time) as hours min(_time) as _time by id
| where hours = 1
| stats values(id) as ids by _time&lt;/LI-CODE&gt;&lt;P&gt;Ids in the earlier hour are missing from the later hour and ids in the later hour are new to the later hour.&lt;/P&gt;</description>
    <pubDate>Sun, 22 May 2022 18:59:09 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-05-22T18:59:09Z</dc:date>
    <item>
      <title>How to compare the hourly count of events for a particular event and show what is the difference?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598778#M208499</link>
      <description>&lt;P&gt;I am trying to&amp;nbsp; create a search&amp;nbsp; which will give the difference in count for a field called "id" and show what are those different values for that field "id".&lt;/P&gt;
&lt;P&gt;For instance if the current hour count for id is 900 and previous hour count is 830 ...I want to see the difference as 70 and show what are those 70 different id's .Currently I am able to get the difference using below search&lt;/P&gt;
&lt;P&gt;index="netbox_test"&lt;BR /&gt;| rename "results{}.id" as "id"&lt;BR /&gt;| timechart span=1h count(id) as total&lt;BR /&gt;| delta total as difference&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 19:26:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598778#M208499</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2022-05-22T19:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the hourly count of events for a particular event and show what is the difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598780#M208500</link>
      <description>&lt;P&gt;If the difference in id count between two hour-long periods is 70 doesn't mean that it's only 70 ids that differ. Example - in one hour you have ids of 1,2,3 in next - 4,5. The count difference is 1 but all the ids are different.&lt;/P&gt;&lt;P&gt;Either you're assuming too much or there are additional unmentioned conditions.&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 06:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598780#M208500</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-22T06:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the hourly count of events for a particular event and show what is the difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598787#M208502</link>
      <description>&lt;P&gt;To be more clear I am pulling netbox data into Splunk...so there are 900 devices in netbox...sometimes these 900 devices might be turned off or removed or added...So when these changes occur the count differs...I want to see what is the difference when compared hourly...I&amp;nbsp; was able to find the difference every hour by using the delta..but I want to know what are those different devices for that particular hour..like comparing current hour with previous hour and show the count difference and what is different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Previous Hour:&amp;nbsp; 1 , 2 ,3&lt;/P&gt;&lt;P&gt;Current Hour : 2,3,4,5,6&lt;/P&gt;&lt;P&gt;Difference Count :2&lt;/P&gt;&lt;P&gt;ID's different : 1,4,5,6&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 14:33:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598787#M208502</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2022-05-22T14:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the hourly count of events for a particular event and show what is the difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598803#M208505</link>
      <description>&lt;P&gt;So you see for yourself that simply counting is not a reliable way of noticing that the sets are different. If you had 1,2,3,4 during one hour and 3,4,6,9 next hour, you'd miss that 1,2 turned into 6,9.&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 16:34:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598803#M208505</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-22T16:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the hourly count of events for a particular event and show what is the difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598813#M208507</link>
      <description>&lt;LI-CODE lang="markup"&gt;| bin _time span=1h
| stats dc(_time) as hours min(_time) as _time by id
| where hours = 1
| stats values(id) as ids by _time&lt;/LI-CODE&gt;&lt;P&gt;Ids in the earlier hour are missing from the later hour and ids in the later hour are new to the later hour.&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 18:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598813#M208507</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-22T18:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the hourly count of events for a particular event and show what is the difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598942#M208527</link>
      <description>&lt;P&gt;Thank You ...Let me check this and get back to you&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 17:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-hourly-count-of-events-for-a-particular-event/m-p/598942#M208527</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2022-05-23T17:06:52Z</dc:date>
    </item>
  </channel>
</rss>

