<?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 generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259943#M7132</link>
    <description>&lt;P&gt;I'm still not clear about what you're looking for &lt;/P&gt;

&lt;P&gt;Here's a query which will find the average of 60 days worth of data &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="RolloverSummary" earliest=-60d@d pool="rtg_pool" | 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 source=*license_usage.log type="RolloverSummary" earliest=-60d@d pool="rtg_pool" | 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)] | stats avg(volume)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 19 Oct 2016 15:09:24 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2016-10-19T15:09:24Z</dc:date>
    <item>
      <title>How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259938#M7127</link>
      <description>&lt;P&gt;How can I generate a SPL search to get data on Splunk licensed users along with their license usage (Total and Average) over a 60 days period?&lt;/P&gt;

&lt;P&gt;I have searched Answers and I couldn't find what I was looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 14:22:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259938#M7127</guid>
      <dc:creator>splgeek</dc:creator>
      <dc:date>2016-10-19T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259939#M7128</link>
      <description>&lt;P&gt;Go to Settings&amp;gt;Licensing &amp;gt;Usage report &amp;gt; Previous 30 days &amp;gt; Open in search &amp;gt; Time range picker for past 60 days &lt;/P&gt;

&lt;P&gt;Or do this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="RolloverSummary" earliest=-60d@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 source=*license_usage.log type="RolloverSummary" earliest=-60d@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;</description>
      <pubDate>Wed, 19 Oct 2016 14:27:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259939#M7128</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-10-19T14:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259940#M7129</link>
      <description>&lt;P&gt;Thanks&lt;BR /&gt;
I got Time , Volume in GB and Stacksize, i dont need stack size&lt;/P&gt;

&lt;P&gt;Also how can i further drill down to License usage by users , total and average &lt;/P&gt;

&lt;P&gt;I dont have direct access to License master&lt;BR /&gt;
so i cant use Settings,License Master&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 14:34:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259940#M7129</guid>
      <dc:creator>splgeek</dc:creator>
      <dc:date>2016-10-19T14:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259941#M7130</link>
      <description>&lt;P&gt;Since Splunks licensing model is based off data indexed and not tied to users, this is not possible. A user cannot consume licenses, the only thing that can consume licenses is by adding more data into Splunk. By average licenses used, can you give me an example of what your looking for? Do you want average license amount consumed per month? Why get averages when you have the total amount per day? &lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 14:39:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259941#M7130</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-10-19T14:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259942#M7131</link>
      <description>&lt;P&gt;Sorry got mixed up&lt;/P&gt;

&lt;P&gt;Total  License Usage over 60 days&lt;BR /&gt;
based off splunk servers,  - extracted field splunk_server&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 14:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259942#M7131</guid>
      <dc:creator>splgeek</dc:creator>
      <dc:date>2016-10-19T14:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259943#M7132</link>
      <description>&lt;P&gt;I'm still not clear about what you're looking for &lt;/P&gt;

&lt;P&gt;Here's a query which will find the average of 60 days worth of data &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="RolloverSummary" earliest=-60d@d pool="rtg_pool" | 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 source=*license_usage.log type="RolloverSummary" earliest=-60d@d pool="rtg_pool" | 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)] | stats avg(volume)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Oct 2016 15:09:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259943#M7132</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-10-19T15:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259944#M7133</link>
      <description>&lt;P&gt;sorry about the confusion-&lt;BR /&gt;
some how i am still seeing only last 30 days worth of data only.&lt;/P&gt;

&lt;P&gt;Also I want to add to this search the &lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 15:13:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259944#M7133</guid>
      <dc:creator>splgeek</dc:creator>
      <dc:date>2016-10-19T15:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259945#M7134</link>
      <description>&lt;P&gt;Add what to the search?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 15:34:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259945#M7134</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-10-19T15:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259946#M7135</link>
      <description>&lt;P&gt;add Host info to the search aswell&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 15:37:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259946#M7135</guid>
      <dc:creator>splgeek</dc:creator>
      <dc:date>2016-10-19T15:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259947#M7136</link>
      <description>&lt;P&gt;Here's licenses usage by host &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="Usage" | eval h=if(len(h)=0 OR isnull(h),"(SQUASHED)",h) | eval s=if(len(s)=0 OR isnull(s),"(SQUASHED)",s) | eval idx=if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx) | bin _time span=1d | stats sum(b) as b by _time, pool, s, st, h, idx  | search pool="rtg_pool" | timechart span=1d sum(b) AS volumeB by h fixedrange=false  | join type=outer _time [search index=_internal source=*license_usage.log type="RolloverSummary" earliest=-60d@d  | search pool="rtg_pool" | 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;</description>
      <pubDate>Wed, 19 Oct 2016 15:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259947#M7136</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-10-19T15:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 day period?</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259948#M7137</link>
      <description>&lt;P&gt;thank you for your time and effort&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 20:20:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/259948#M7137</guid>
      <dc:creator>splgeek</dc:creator>
      <dc:date>2016-10-19T20:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to obtain a report on licensed users and their Total and Average license usage over a 60 da</title>
      <link>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/656899#M17267</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem here. Tried to set it to 60 days but it only shows 30 day data by using your spl.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 01:26:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-generate-a-search-to-obtain-a-report-on-licensed-users/m-p/656899#M17267</guid>
      <dc:creator>TrangCIC81</dc:creator>
      <dc:date>2023-09-07T01:26:25Z</dc:date>
    </item>
  </channel>
</rss>

