<?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: What is the difference between RollOverSummary and Usage types of in license_usage.log? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/228138#M2274</link>
    <description>&lt;P&gt;Your first query references; "source=&lt;EM&gt;license_usage.log"&lt;BR /&gt;
Your second uses; "source=*license_usage.log&lt;/EM&gt;"&lt;/P&gt;

&lt;P&gt;Was this intentional? Did you mean to search;&lt;BR /&gt;
1=license_usage.log only&lt;BR /&gt;
2=license_usage.log, license_usage.log.1 and license_usage.log.2, etc&lt;BR /&gt;
3=Something else.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 14:34:15 GMT</pubDate>
    <dc:creator>bohanlon_splunk</dc:creator>
    <dc:date>2020-09-29T14:34:15Z</dc:date>
    <item>
      <title>What is the difference between RollOverSummary and Usage types of in license_usage.log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/228137#M2273</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I get different results when I run the following searches:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="RolloverSummary" earliest=-1d@d   latest=-0d@d | bin _time span=1d  | stats sum(b) AS volumeB by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;gives me 50 GB (of course in bytes though).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log* type=Usage earliest=-1d@d latest=-0d@d | eval s=if(s=="","unknown",s) | eval h=if(h=="","unknown",h) | bucket _time span=1d | stats sum(b) AS volume_b
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;gives me 90 GB (of course in bytes though)&lt;/P&gt;

&lt;P&gt;Where did the remaining 40 GB data go?&lt;/P&gt;

&lt;P&gt;Some points that may help the Splunk users for answering:&lt;BR /&gt;
 1. I restarted Splunk on universal forwarders. After that for next 20 min period, the &lt;CODE&gt;per_index_thruput&lt;/CODE&gt; in metrics.log shows spikes.&lt;BR /&gt;
 2. When I run the searches on my raw index, for the period when there are spikes in &lt;CODE&gt;per_index_thruput&lt;/CODE&gt;, I do not see any duplicate log events. &lt;BR /&gt;
 So where did the log events go? &lt;/P&gt;

&lt;P&gt;My daily usage is 50GB only, why does the type=Usage gives me 90GB&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Strive&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 17:08:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/228137#M2273</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2016-04-29T17:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between RollOverSummary and Usage types of in license_usage.log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/228138#M2274</link>
      <description>&lt;P&gt;Your first query references; "source=&lt;EM&gt;license_usage.log"&lt;BR /&gt;
Your second uses; "source=*license_usage.log&lt;/EM&gt;"&lt;/P&gt;

&lt;P&gt;Was this intentional? Did you mean to search;&lt;BR /&gt;
1=license_usage.log only&lt;BR /&gt;
2=license_usage.log, license_usage.log.1 and license_usage.log.2, etc&lt;BR /&gt;
3=Something else.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:34:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/228138#M2274</guid>
      <dc:creator>bohanlon_splunk</dc:creator>
      <dc:date>2020-09-29T14:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between RollOverSummary and Usage types of in license_usage.log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/228139#M2275</link>
      <description>&lt;P&gt;Some older question but the "which type counts what" topic is still current. Try the following two commands as examples:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;type=Usage&lt;/CODE&gt; -  data from the day before yesterday&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=/opt/splunk/var/log/splunk/license_usage.log type=Usage earliest=-2d@d latest=-1d@d
| stats sum(b)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;type=RolloverSummary&lt;/CODE&gt; - data from yesterday, which is the aggregated data of the day before yesterday&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=/opt/splunk/var/log/splunk/license_usage.log type=RolloverSummary earliest=-1d@d latest=@d
| stats sum(b)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The result is exactly the same - at least on my testsystem. The license usage of one day is aggregated at midnight and added to the &lt;CODE&gt;_internal&lt;/CODE&gt; index. Unfortunately I don't know the technical details and I have no documentation link.&lt;/P&gt;

&lt;P&gt;You can match the data of both types like the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;type=Usage     type=RolloverSummary
===================================
pool           pool   (the license pool)
i              slave  (the GUID of the indexer as defined in $SPLUNK_HOME/etc/instance.cfg)
b              b      (the byte count - summed up for the previous day the RolloverSummary-type)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Addionally &lt;CODE&gt;type=Usage&lt;/CODE&gt; has some more columns to investigate or differentiate:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;h     the host sending the data (e.g. a UF)
s     the source of the data (e.g. /var/log/messages or XmlWinEventLog:Application)
st    the sourcetype of the data (e.g. syslog or XmlWinEventLog)
idx   the index where the data is ingested
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Aug 2019 11:20:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/228139#M2275</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2019-08-23T11:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between RollOverSummary and Usage types of in license_usage.log?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/588248#M8834</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/79269"&gt;@strive&lt;/a&gt;&amp;nbsp;can you please tell me why you have used&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;license_usage.log&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;license_usage.log*&lt;/EM&gt; , I know it does make a difference but can you please explain why you used it differently&amp;nbsp;specifically in this case ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also can someone please tell the difference between &lt;EM&gt;type=RolloverSummary&lt;/EM&gt; and &lt;EM&gt;type=Usage&lt;/EM&gt; along with addressing&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/79269"&gt;@strive&lt;/a&gt;&amp;nbsp;'s initial query.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you so much.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 15:14:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/588248#M8834</guid>
      <dc:creator>pharish1511</dc:creator>
      <dc:date>2022-03-09T15:14:55Z</dc:date>
    </item>
  </channel>
</rss>

