<?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: Why are results from two searches for license data different? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340143#M4833</link>
    <description>&lt;P&gt;comparison in my standalone 7.0.0 lab (obviously less complex enviro with much less usage) with these searches is pretty close. not perfect match, but close:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source="*license_usage.log" sourcetype=splunkd type="Usage"
| stats sum(b) AS license
| eval license=round('license'/1024/1024/1024, 3)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;that yields 1.115 using "yesterday" in timepicker. &lt;/P&gt;

&lt;P&gt;LM search for last 30 days&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d   | eval _time=_time - 43200 | bin _time span=1d | stats latest(b) AS b by slave, pool, _time | timechart span=1d sum(b) AS "volume" fixedrange=false | join type=outer _time [search index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | stats latest(stacksz) AS "stack size" by _time] | fields - _timediff  | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'/1024/1024/1024, 3)] | fields - "stack size"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;yields 1.133 for November 1&lt;/P&gt;

&lt;P&gt;obviously much closer than you are seeing, so hopefully digging in the data sets it straight. will be interested to hear what you find. &lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 14:25:22 GMT</pubDate>
    <dc:creator>mattymo</dc:creator>
    <dc:date>2017-11-02T14:25:22Z</dc:date>
    <item>
      <title>Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340122#M4812</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We've noticed some different numbers in our licensing, depending on which sources that we use, and I'm looking for guidance to identify the authoritize source for licensing.&lt;/P&gt;
&lt;P&gt;Currently, we have the following, to give us 30 day reports for licensing:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log* type="RolloverSummary" earliest=-30d@d pool="PWI License" | eval _time=_time - 43200 | bin _time span=1d | stats latest(b) AS b by slave, pool, _time | timechart span=1d sum(b) AS "volume" fixedrange=false | join type=outer _time [search index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d pool="PWI License" | eval _time=_time - 43200 | bin _time span=1d | stats latest(poolsz) AS  "pool size" by _time] | fields - _timediff  | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'/1024/1024/1024, 3)]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Some of our customers are questing the information returned, as they ran the following and get vastly different numbers:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log* pool="PWI License" type=Usage earliest=10/27/2017:00:00:00 latest=10/28/2017:00:00:00 | stats sum(b)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 23:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340122#M4812</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-06-15T23:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340123#M4813</link>
      <description>&lt;P&gt;@a212830, please check out Meta Woot app from Splunkbase: &lt;A href="https://splunkbase.splunk.com/app/2949/"&gt;https://splunkbase.splunk.com/app/2949/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 14:49:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340123#M4813</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-31T14:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340124#M4814</link>
      <description>&lt;P&gt;Thanks, I will, but I also need this answered. &lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 16:43:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340124#M4814</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-10-31T16:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340125#M4815</link>
      <description>&lt;P&gt;Actually check out the video on Splunkbase it mentions that the correlation between actual event volume vs impact of license is not accurate with Splunk query and thats where the app takes care of fairly accurate correlation. Please see if you can check out the demo video.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 17:36:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340125#M4815</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-31T17:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340126#M4816</link>
      <description>&lt;P&gt;Thanks.  I'm not interested in event volume vs license.   I need to understand why the two searches above create such different numbers and which is the "correct" method of reporting on licensing.  And if they are both "correct", why the difference in numbers?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:18:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340126#M4816</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-10-31T19:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340127#M4817</link>
      <description>&lt;P&gt;What does the actual License Manager say? Also where are you running these searches from?&lt;/P&gt;

&lt;P&gt;I have seen many people spin in circles trying to write their own SPL, that already exists in the License Manager and in the Monitoring console. &lt;/P&gt;

&lt;P&gt;So, to level set. What do they say compared to your spl?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 21:15:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340127#M4817</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-10-31T21:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340128#M4818</link>
      <description>&lt;P&gt;Fair enough.  Here's the the code from the license mgr, which is essentially the same and gives the same number.  I run the reports from our search-heads, so that business units can see their own data.  This report returns the same values. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d   | eval _time=_time - 43200 | bin _time span=1d | stats latest(b) AS b by slave, pool, _time | timechart span=1d sum(b) AS "volume" by pool fixedrange=false | join type=outer _time [search index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | stats latest(stacksz) AS "stack size" by _time] | fields - _timediff  | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'/1024/1024/1024, 3)]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So, the question still remains - why is the other search returning a different number? &lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 22:42:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340128#M4818</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-10-31T22:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340129#M4819</link>
      <description>&lt;P&gt;are u running the searches with the same user?&lt;/P&gt;

&lt;P&gt;I’d start with verifying that all the events that the LM sees are actually seen on the search heads. especially for different users who may not have _internal index acccess...&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 00:01:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340129#M4819</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-11-01T00:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340130#M4820</link>
      <description>&lt;P&gt;I am running these myself as admin.  First on a search-head, and then on the license mgr - and the results are the same - RollOverSummary and Usage report different numbers. So,  I'm  looking for an answer on the difference between these two sources.  What is the difference between RollOverSummary and Usage?  Should they be the same?  &lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 01:41:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340130#M4820</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-11-01T01:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340131#M4821</link>
      <description>&lt;P&gt;I think the challenge in the responses you're getting stem from the fact that we're not starting with apples to apples comparison. Take it all the way to the base case and show us. I'm assuming you get different responses when you simply run:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage* ( type=Usage OR type=RolloverSummary )
| stats sum(b) AS size BY type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please confirm? Also which one is higher, by how much or what specifically are the values? The search provided in the first post are over different time periods and do different things, so you're getting responses that are confused about if you're asking for SPL help with the longer one or if you want help with a difference in raw results. See the confusion?&lt;/P&gt;

&lt;P&gt;If it helps move things along, I also see a difference. I am wondering if it is due to my use of UseAck so I may try turning that off to see:&lt;BR /&gt;
type    values(pool)    size&lt;BR /&gt;
RolloverSummary auto_generated_pool_enterprise  10.353&lt;BR /&gt;
Usage   auto_generated_pool_enterprise  11.387&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:32:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340131#M4821</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2020-09-29T16:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340132#M4822</link>
      <description>&lt;P&gt;ah i see it now...finally had a chance to examine the spl. answer inbound...&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 13:22:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340132#M4822</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-11-01T13:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340133#M4823</link>
      <description>&lt;P&gt;hey a212830,&lt;/P&gt;

&lt;P&gt;Please review the following docs which I will reference in the answer below: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/AboutSplunksLicenseUsageReportView"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/AboutSplunksLicenseUsageReportView&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The differences you are seeing are due to the data coming from 2 different sources.&lt;/P&gt;

&lt;P&gt;Lets start with &lt;CODE&gt;index=_internal source=*license_usage.log type=rolloversummary&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If you search for these events, you will notice that there is only one event per day. (per slave it looks like in my lab)&lt;/P&gt;

&lt;P&gt;The license master generates this at midnight local time everyday, to post the total usage for the previous day. (this is important! note the timestamps! ie. rollover summary for nov 2 will have _time of nov 3rd!)&lt;/P&gt;

&lt;P&gt;Think of this as ur official invoice.&lt;/P&gt;

&lt;P&gt;This is what the License usage view relies on for the past 30 day view. &lt;/P&gt;

&lt;P&gt;You will also notice there are 2 distinct views in LURV/Monitoring Console - Today and last 30 days.&lt;/P&gt;

&lt;P&gt;In order to show usage in “realtime” &lt;CODE&gt;index=_internal source=*license_usage.log type=usage&lt;/CODE&gt; is used, and includes 1 min reports from each indexer.Please review the docs on things to watch for in this data, especially “squashing”.&lt;/P&gt;

&lt;P&gt;Think of this as the realtime usage summary that is on your cell phone account portal, to give you an up to date view at where you are with your usage. Its not your official bill, but its a good indicator of your usage.&lt;/P&gt;

&lt;P&gt;So...type=rollover_summary is only ever going to show the data from “yesterday” (remember, we are talking local midnight of the LM). Type=usage is going to show up to date info from each indexer, but u will need to review the events to ensure ur data makes sense and doesnt have missing data or duplicates because of $reasons.&lt;/P&gt;

&lt;P&gt;Also, is your LM forwarding it’s logs to ur cluster? are you even running a cluster?&lt;/P&gt;

&lt;P&gt;As suggested above. Meta Woot 4 life. Not only does it provide some goodies for the admins and users (answering the questions of “whats in here??”) but it also provides a licensing data model you can share with your users, which uses a root search of &lt;CODE&gt;index=_internal source="*license_usage.log" sourcetype=splunkd type="Usage"&lt;/CODE&gt; so that points to the fact that usage should be closer to rollover than you are seeing. &lt;/P&gt;

&lt;P&gt;Dig around in those 2 separate types of events and let us know if the difference becomes clearer.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 13:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340133#M4823</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-11-01T13:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340134#M4824</link>
      <description>&lt;P&gt;Thanks.  Ok, so let me see if I get this straight:&lt;/P&gt;

&lt;P&gt;1) The RollOverSummary type is the official license source. This number is posted only once - at midnight every day.&lt;BR /&gt;&lt;BR /&gt;
2) The Usage type is an indicator of where I stand "today", but not the official source and generates throughout the day. &lt;/P&gt;

&lt;P&gt;So, if that's correct, shouldn't the usage type at least be close to the RollOverSummary for yesterday?  My numbers are waaay off.  &lt;/P&gt;

&lt;P&gt;I ran Burch's recommended search for yesterday, and here are the results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    type    size
1   RolloverSummary     4964185154275
2   Usage   1044223392440
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Nov 2017 13:57:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340134#M4824</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-11-01T13:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340135#M4825</link>
      <description>&lt;P&gt;you need to look at your raw events. also time is a heck if a drug. be careful with them timezones....&lt;/P&gt;

&lt;P&gt;but like Burch said...peel back the pipes and start with simply looking at the rollover events you have, then examine the usage events.&lt;/P&gt;

&lt;P&gt;Again...are u clustered? Are you forwarding the LM logs to that cluster??&lt;/P&gt;

&lt;P&gt;also, if I’m not mistaken, Burch’s search could pick up multiple license_usage.log files (they roll and 5 are kept)&lt;/P&gt;

&lt;P&gt;anyways...ur answer lies in the data. less spl is more in this scenario...search the raw data and examine the fields you are seeing...like source, host, indexer, etc&lt;/P&gt;

&lt;P&gt;also, please go read the docs link I provided&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 14:01:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340135#M4825</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-11-01T14:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340136#M4826</link>
      <description>&lt;P&gt;Yes, we are clustered, and we use SHP, and our LM is it's own entity and forwards events to that cluster.   I'll dig into the docs, but ultimately, customers want to know why the usage numbers are so different, and what is the official source.  I now have the official source, but the numbers for the "unofficial" source really don't make sense.   Sounds like you think Usage event types are getting dropped somewhere along the path? &lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 14:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340136#M4826</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-11-01T14:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340137#M4827</link>
      <description>&lt;P&gt;im thinking the pool field is not guaranteed to account for every byte, similar to how metrics.log protects itself from cardinality.&lt;/P&gt;

&lt;P&gt;docs say, due to squashing, only sourcetype and index are able to account for all usage&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 14:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340137#M4827</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-11-01T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340138#M4828</link>
      <description>&lt;P&gt;Thanks a lot.  This has been a big help.  I'm all set.  &lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 12:12:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340138#M4828</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-11-02T12:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340139#M4829</link>
      <description>&lt;P&gt;Actually,, sorry, not quite ready to let this one go.  Are idx and sourcetype reliable from the  Usage type as well, meaning that if I look at yesterdays numbers for an index, using the Usage type, should they align with the RollOverSummary numbers? If not, then I'm really not sure what use this feed is...&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 12:29:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340139#M4829</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2017-11-02T12:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340140#M4830</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Sorry to be a downer, but I'm not convinced on this just yet.&lt;/P&gt;

&lt;P&gt;When using Ack, we may see duplicate license usage, but that is never scrubbed out by the licensing system, it's just the cost of using that feature. So those should be there in both license types.&lt;/P&gt;

&lt;P&gt;Also, if the search was wrong because it had multiple license_usage files returning results, then I would expect the Usage type to be higher, but we're seeing the opposite on @a212830's results.&lt;/P&gt;

&lt;P&gt;I'd assuming squashing is not relevant here since the only metric we're looking at is &lt;CODE&gt;b&lt;/CODE&gt; (not &lt;CODE&gt;idx&lt;/CODE&gt;, or &lt;CODE&gt;h&lt;/CODE&gt; or anything else). And lastly, the pool shouldn't matter since we're seeing differences even when the pool aspect is removed.&lt;/P&gt;

&lt;P&gt;I'm also not seeing anything in the docs that officially clarify this. @mmodestino, feel free to be explicit if we're missing something obvious in there.&lt;/P&gt;

&lt;P&gt;I know that @a212830's peer has a case open for this as well so I would suggest keeping that case open to find out as well.&lt;/P&gt;

&lt;P&gt;In the meantime, I've just turned off useAck in my lab but it will obviously need a day before the RolloverSummary numbers with useAck off are ready.&lt;/P&gt;

&lt;P&gt;Let me know if I made a mistake in my doubts here...&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 12:33:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340140#M4830</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2017-11-02T12:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why are results from two searches for license data different?</title>
      <link>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340141#M4831</link>
      <description>&lt;P&gt;Honestly, without examining this data/environment (don't think we have even covered what version we are talking here) , doubt is perfectly fine, cause its all theory until someone actually deep dives the data. Confirming or denying any of the items pointed out should be moving us closer to root cause. &lt;/P&gt;

&lt;P&gt;Again, I'll state, this kind of search expends so much energy with clients. Probably good to have docs address this somehow. &lt;/P&gt;

&lt;P&gt;RE: UseAck -   the main point is....what do the raw events show??? can you account for messages from each indexer for this pool? Are you missing any? duplicates?&lt;/P&gt;

&lt;P&gt;RE your search:  I didn't say it was wrong...just pointing out your use of wildcards COULD pull more files, or conversely show that you are missing some....again, easily confirmed by examining the raw search results for the source field, which is what was the main point. In fact, you would need your wildcards for the long term searches...but this issue needs to be scoped down a bit to examine the events before it is understood and used for reporting. &lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://i.imgur.com/wGmU43o.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;the search that is being chased here is:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_internal source=*license_usage.log* pool="PWI License" type=Usage earliest=10/27/2017:00:00:00 latest=10/28/2017:00:00:00 | stats sum(b)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;So the way i read the docs, it is like metrics.log. You can't guarantee all fields are captured in each poll, which is something we are filtering for. I know we are not splitting by it, but do we have pool present in 100% of events from each indexer when not filtering by it?? Maybe pools is immune to squashing? if that is the case, then we can cross that off the list. Also if you remove pool completely then we can disregard. &lt;/P&gt;

&lt;P&gt;"Because of squashing on the other fields, only the split-by source type and index will guarantee full reporting (every byte). Split by source and host do not guarantee full reporting necessarily"&lt;/P&gt;

&lt;P&gt;I guess that could just mean host and source...again...check these points and we should be getting closer. &lt;/P&gt;

&lt;P&gt;Also, not sure I mentioned this..but have we tried without earliest/latest? that can cause some headaches too. &lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 13:40:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-are-results-from-two-searches-for-license-data-different/m-p/340141#M4831</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-11-02T13:40:41Z</dc:date>
    </item>
  </channel>
</rss>

