<?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 is License used by each Splunk instance ? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/520740#M3530</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222977"&gt;@Ashwini008&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q - How can we calculate the license used by each splunk instance(indexer,search head etc) because in Monitoring console(MC) i can see the overall license used by a pool.How can i differentiate ?&lt;/P&gt;&lt;P&gt;A - One simple idea. logs/events flow from UF/HF to indexers and stored "in" indexers. Search Heads simply query the events from indexers. so search head does not consume license. only indexers consume license.&amp;nbsp;&lt;/P&gt;&lt;P&gt;on MC, as you are getting per pool license usage, as per solution's search query, you can search for indexer wise license usage. hope this helps in your understandings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(i have received 250 karma giver badge, how many karma points you have given so far?!?! )&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2020 07:15:54 GMT</pubDate>
    <dc:creator>inventsekar</dc:creator>
    <dc:date>2020-09-22T07:15:54Z</dc:date>
    <item>
      <title>How is License used by each Splunk instance ?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/520729#M3528</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to understand the License used by each instance in Splunk.Can anyone help me in understanding the below points?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How can we calculate the license used by each splunk instance(indexer,search head etc) because in Monitoring console(MC) i can see the overall license used by a pool.How can i differentiate ?&lt;/LI&gt;&lt;LI&gt;What is the source of licenseusage.log file and how it is generated?&lt;/LI&gt;&lt;LI&gt;In MC Todays license usage panel query consists of&amp;nbsp;&lt;STRONG&gt;| eval usedGB=round(used/1024/1024/1024,3)&lt;/STRONG&gt;&amp;nbsp; What does this mean?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks you in Advance!&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 05:52:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/520729#M3528</guid>
      <dc:creator>Ashwini008</dc:creator>
      <dc:date>2020-09-22T05:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: How is License used by each Splunk instance ?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/520731#M3529</link>
      <description>&lt;UL&gt;&lt;LI&gt;How can we calculate the license used by each splunk instance(indexer,search head etc) because in Monitoring console(MC) i can see the overall license used by a pool.How can i differentiate ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;h = host, st= sourcetype, idx=index, s= source.&lt;/P&gt;&lt;P&gt;I used h in below query because you want to calculate by host.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal host=&amp;lt;yourlicensemaster&amp;gt; source="*license_usage.log" (h=&amp;lt;yourindexer&amp;gt; OR h=&amp;lt;yoursearchhead&amp;gt;)
| stats sum(b) as bytes by h
| eval GB=round(bytes/1024/1024/1024,2)
| table h GB&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;What is the source of licenseusage.log file and how it is generated?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;All Events that are getting indexed will pass through License meter just before indexing events in indexers. Splunk License master will then extract meta data and write events to license_usage.log.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In MC Todays license usage panel query consists of&amp;nbsp;&lt;STRONG&gt;| eval usedGB=round(used/1024/1024/1024,3)&lt;/STRONG&gt;&amp;nbsp; What does this mean?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;license_usage.log will record size in bytes.&amp;nbsp;&lt;STRONG&gt;| eval usedGB=round(used/1024/1024/1024,3) is used convert bytes to GB and rounding decimal to 3 digits.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 06:20:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/520731#M3529</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-22T06:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: How is License used by each Splunk instance ?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/520740#M3530</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222977"&gt;@Ashwini008&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q - How can we calculate the license used by each splunk instance(indexer,search head etc) because in Monitoring console(MC) i can see the overall license used by a pool.How can i differentiate ?&lt;/P&gt;&lt;P&gt;A - One simple idea. logs/events flow from UF/HF to indexers and stored "in" indexers. Search Heads simply query the events from indexers. so search head does not consume license. only indexers consume license.&amp;nbsp;&lt;/P&gt;&lt;P&gt;on MC, as you are getting per pool license usage, as per solution's search query, you can search for indexer wise license usage. hope this helps in your understandings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(i have received 250 karma giver badge, how many karma points you have given so far?!?! )&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 07:15:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/520740#M3530</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-09-22T07:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: How is License used by each Splunk instance ?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/520963#M3552</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129407"&gt;@thambisetty&lt;/a&gt;&amp;nbsp; Thank you your answers helped me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I have few doubts on the Monitoring console License page.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Todays' s License GB panel is it represents the average the License used by only indexers&amp;nbsp; in day,Since license is metered only for the ingested data?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is so ,then by using the above query which you gave to calculate the license used by h(in my case i gave indexers as host) the results does not match with the average results present in "Todays' s License GB panel"&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;License usage in previous 30 days panel shows the data of only previous 4 days data. Type=rolloversummary.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any query which i can use to calculate the license used by each indexer per day ?Or any document to understand&amp;nbsp; License page in MC?&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 05:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/520963#M3552</guid>
      <dc:creator>Ashwini008</dc:creator>
      <dc:date>2020-09-23T05:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: How is License used by each Splunk instance ?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/521021#M3554</link>
      <description>&lt;P&gt;If you want to check the total license in realtime will be the following query:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal host="&amp;lt;licensemaster&amp;gt;" source="/opt/splunk/var/log/splunk/license_usage.log" type=Usage
| timechart span=1d sum(b) as bytes
| eval GB=round(bytes/1024/1024/1024,2)
| table _time GB&lt;/LI-CODE&gt;&lt;P&gt;Remember that the RolloverSummary is a component that will be updated at the end of the day ( this will fall next day). so if you want to check the total license in the current day I recommend using the above query.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/228137" target="_blank"&gt;https://community.splunk.com/t5/Monitoring-Splunk/What-is-the-difference-between-RollOverSummary-and-Usage-types/m-p/228137&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Why-does-license-usage-differ-between-the-number-found-using/m-p/207671" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/Why-does-license-usage-differ-between-the-number-found-using/m-p/207671&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 10:47:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-is-License-used-by-each-Splunk-instance/m-p/521021#M3554</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-23T10:47:21Z</dc:date>
    </item>
  </channel>
</rss>

