<?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 is there no license usage data available in Splunk? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374118#M13730</link>
    <description>&lt;P&gt;am running the query in search head which is assocaite with all the indexers :&lt;BR /&gt;
 Was able to reterive only the below log&lt;/P&gt;

&lt;P&gt;01-29-2018 10:06:30.048 +0000 INFO  LicenseUsage - type=Message - License usage logging not available for slave licensing instances, please see license_usage.log on license master=&lt;A href="https://X.X.X.X:8089"&gt;https://X.X.X.X:8089&lt;/A&gt; for usage breakdown&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2018 12:05:05 GMT</pubDate>
    <dc:creator>Venkat_16</dc:creator>
    <dc:date>2018-02-13T12:05:05Z</dc:date>
    <item>
      <title>Why is there no license usage data available in Splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374116#M13728</link>
      <description>&lt;P&gt;I was trying to find the license usage logs using the query: &lt;CODE&gt;index=_internal source=license_usage.log&lt;/CODE&gt; but we are not getting any data. Am able to see one-day data as it runs the query using  |rest... I check the list monitor command which also showed the license usage logs being monitored by Splunk. &lt;/P&gt;

&lt;P&gt;Note: license master + cluster master + Distributed Management Console are all residing in the same instance.&lt;/P&gt;

&lt;P&gt;Please advice&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 11:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374116#M13728</guid>
      <dc:creator>Venkat_16</dc:creator>
      <dc:date>2018-02-13T11:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there no license usage data available in Splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374117#M13729</link>
      <description>&lt;P&gt;Cluster master internal logs are forwarded to Indexer as best practice?&lt;/P&gt;

&lt;P&gt;And in your search try to run it as:&lt;/P&gt;

&lt;P&gt;index=_internal source="/opt/splunk/var/log/splunk/license_usage.log"&lt;/P&gt;

&lt;P&gt;to get data from license_usage.log&lt;/P&gt;

&lt;P&gt;For 30 days license usage&lt;/P&gt;

&lt;P&gt;index=_internal source=&lt;EM&gt;license_usage.log type=Usage pool=&lt;/EM&gt; | rename _time as Date | eval Date=strftime(Date, "%m-%d-%y") | stats sum(b) as ub by Date | eval ub=round(ub/1024/1024/1024,3) | rename ub as "Daily License Quota - GB's Used"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:00:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374117#M13729</guid>
      <dc:creator>ansif</dc:creator>
      <dc:date>2020-09-29T18:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there no license usage data available in Splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374118#M13730</link>
      <description>&lt;P&gt;am running the query in search head which is assocaite with all the indexers :&lt;BR /&gt;
 Was able to reterive only the below log&lt;/P&gt;

&lt;P&gt;01-29-2018 10:06:30.048 +0000 INFO  LicenseUsage - type=Message - License usage logging not available for slave licensing instances, please see license_usage.log on license master=&lt;A href="https://X.X.X.X:8089"&gt;https://X.X.X.X:8089&lt;/A&gt; for usage breakdown&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 12:05:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374118#M13730</guid>
      <dc:creator>Venkat_16</dc:creator>
      <dc:date>2018-02-13T12:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there no license usage data available in Splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374119#M13731</link>
      <description>&lt;P&gt;Try this for last 30 days on the &lt;CODE&gt;license master&lt;/CODE&gt; In order to receive logs on search head you need to forward internal logs of license master.&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)]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, you can get then same in &lt;CODE&gt;Settings » Licensing » License Usage Reporting » Previous 30 days&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 12:10:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374119#M13731</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-13T12:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there no license usage data available in Splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374120#M13732</link>
      <description>&lt;P&gt;That means you have not forwarded the internal logs to indexer. In that case run the query from Licence Master.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 12:12:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374120#M13732</guid>
      <dc:creator>ansif</dc:creator>
      <dc:date>2018-02-13T12:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there no license usage data available in Splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374121#M13733</link>
      <description>&lt;P&gt;i am running the query from license master only&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 12:16:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-there-no-license-usage-data-available-in-Splunk/m-p/374121#M13733</guid>
      <dc:creator>Venkat_16</dc:creator>
      <dc:date>2018-02-13T12:16:56Z</dc:date>
    </item>
  </channel>
</rss>

