<?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: Hourly License Usage in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174282#M2673</link>
    <description>&lt;P&gt;Use the time picker to select what time frame to check.  Last 60 minutes will give you the last hour. Today will give you the amount indexed today.&lt;BR /&gt;&lt;BR /&gt;
Standby and I'll update the search to give an hourly chart.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2013 20:23:38 GMT</pubDate>
    <dc:creator>lukejadamec</dc:creator>
    <dc:date>2013-12-10T20:23:38Z</dc:date>
    <item>
      <title>Hourly License Usage</title>
      <link>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174279#M2670</link>
      <description>&lt;P&gt;How would you go about retrieving the License Usage by Hour in GB?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 19:54:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174279#M2670</guid>
      <dc:creator>rrjcraft</dc:creator>
      <dc:date>2013-12-10T19:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly License Usage</title>
      <link>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174280#M2671</link>
      <description>&lt;P&gt;Run this search for whatever timeframe you like - it does not count all indexed data, just the data that counts against your license:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type=Usage 
| stats sum(b) as bytes 
| eval GB = round(bytes/1024/1024/1024,5)
| fields GB
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In chart form:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type=Usage 
| stats sum(b) as bytes by date_hour 
| eval GB = round(bytes/1024/1024/1024,5) 
| table date_hour,GB
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will need to specify the timerange. Switch from table to chart with the chart button in the upper left.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 20:01:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174280#M2671</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-12-10T20:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly License Usage</title>
      <link>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174281#M2672</link>
      <description>&lt;P&gt;That is the tricky part. How would you go about having it display per hour? That query appears to calculate GB for all time.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 20:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174281#M2672</guid>
      <dc:creator>rrjcraft</dc:creator>
      <dc:date>2013-12-10T20:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly License Usage</title>
      <link>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174282#M2673</link>
      <description>&lt;P&gt;Use the time picker to select what time frame to check.  Last 60 minutes will give you the last hour. Today will give you the amount indexed today.&lt;BR /&gt;&lt;BR /&gt;
Standby and I'll update the search to give an hourly chart.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 20:23:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174282#M2673</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-12-10T20:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly License Usage</title>
      <link>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174283#M2674</link>
      <description>&lt;P&gt;Per hour, use timechart&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_internal source=*license_usage.log* type=Usage &lt;BR /&gt;
| timechart span=1h  sum(b) as bytes &lt;BR /&gt;
| eval GB = round(bytes/1024/1024/1024,5)&lt;BR /&gt;
| fields _time GB&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;or use a bucketing per hour with stats&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_internal source=*license_usage.log* type=Usage &lt;BR /&gt;
| bucket _time span=1h &lt;BR /&gt;
| stats  sum(b) as bytes by _time &lt;BR /&gt;
| eval GB = round(bytes/1024/1024/1024,5)&lt;BR /&gt;
| fields _time GB&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 20:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174283#M2674</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-12-10T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly License Usage</title>
      <link>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174284#M2675</link>
      <description>&lt;P&gt;I'm not sure what the bucketing means&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 21:42:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174284#M2675</guid>
      <dc:creator>rrjcraft</dc:creator>
      <dc:date>2013-12-10T21:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly License Usage</title>
      <link>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174285#M2676</link>
      <description>&lt;P&gt;This is the bucket command, that regroup events based on a field, and normalize them.&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Bucket"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Bucket&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you use for the _time, it will replace all the _time by the first value of the span, here every events of the hour will have the same timestamp, the first second of the hour.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 21:47:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Hourly-License-Usage/m-p/174285#M2676</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-12-10T21:47:52Z</dc:date>
    </item>
  </channel>
</rss>

