<?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 index=_internal source=*license_usage.log* returning no data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296025#M163704</link>
    <description>&lt;P&gt;Ahhh, it sounds like your license master isn't forwarding its logs to your indexers.  This would definitely result in what you are seeing.&lt;/P&gt;

&lt;P&gt;I highly recommend putting that forwarding in place.  If you run this on your license master you'll likely see no forwarders defined:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk list forward-server
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 11 Jan 2018 22:16:57 GMT</pubDate>
    <dc:creator>micahkemp</dc:creator>
    <dc:date>2018-01-11T22:16:57Z</dc:date>
    <item>
      <title>Why is index=_internal source=*license_usage.log* returning no data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296022#M163701</link>
      <description>&lt;P&gt;Running this search from a search head (also tried the indexer) and attempting to breakdown the daily license usage for a particular index over a 1 week period. Seemed easy enough. But getting (0) records returned for even a basic query of usage data. Appears that I'm not tracking licensing usage? Whaaaaat?&lt;/P&gt;

&lt;P&gt;Primary Search (using "oracle" index):&lt;BR /&gt;
index=_internal source=&lt;EM&gt;license_usage.log&lt;/EM&gt; type="Usage" splunk_server=* idx=oracle earliest=-1w@d &lt;BR /&gt;
| eval Date=strftime(_time, "%Y/%m/%d") &lt;BR /&gt;
| eventstats sum(b) as volume by st, Date &lt;BR /&gt;
| eval MB=round(volume/1024/1024,5)&lt;BR /&gt;
| timechart first(MB) AS volume by st&lt;/P&gt;

&lt;P&gt;Tested for license usage data (got zero records returned as well???):&lt;BR /&gt;
index=_internal source=*license_usage.log&lt;/P&gt;

&lt;P&gt;I'm the splunk admin, checked that the admin role has access to all internal indexes &amp;amp; all non-internal indexes. Super strange. Helpful ideas???&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;

&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:33:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296022#M163701</guid>
      <dc:creator>joesrepsol</dc:creator>
      <dc:date>2020-09-29T17:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index=_internal source=*license_usage.log* returning no data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296023#M163702</link>
      <description>&lt;P&gt;Your source isn't &lt;CODE&gt;license_usage.log&lt;/CODE&gt;, but it can be matched with &lt;CODE&gt;*license_usage.log&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="Usage" splunk_server=* idx=oracle earliest=-1w@d 
| eval Date=strftime(_time, "%Y/%m/%d") 
| eventstats sum(b) as volume by st, Date 
| eval MB=round(volume/1024/1024,5)
| timechart first(MB) AS volume by st
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This worked for me, removing the splunk_server, idx filters:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="Usage"
| eval Date=strftime(_time, "%Y/%m/%d") 
| eventstats sum(b) as volume by st, Date 
| eval MB=round(volume/1024/1024,5)
| timechart first(MB) AS volume by st
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jan 2018 22:09:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296023#M163702</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-01-11T22:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index=_internal source=*license_usage.log* returning no data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296024#M163703</link>
      <description>&lt;P&gt;I do have the star license_usage.log star in my query... for some reason the web GUI marks that as italics... and it didn't show up on the webpage.&lt;/P&gt;

&lt;P&gt;It does work on my license master though... so when using a license master, is all the licensing information only available on that master?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 22:14:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296024#M163703</guid>
      <dc:creator>joesrepsol</dc:creator>
      <dc:date>2018-01-11T22:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index=_internal source=*license_usage.log* returning no data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296025#M163704</link>
      <description>&lt;P&gt;Ahhh, it sounds like your license master isn't forwarding its logs to your indexers.  This would definitely result in what you are seeing.&lt;/P&gt;

&lt;P&gt;I highly recommend putting that forwarding in place.  If you run this on your license master you'll likely see no forwarders defined:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk list forward-server
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jan 2018 22:16:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296025#M163704</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-01-11T22:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index=_internal source=*license_usage.log* returning no data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296026#M163705</link>
      <description>&lt;P&gt;It only shows one active forwards. It's one of my indexers. There is another listed as "configured but inactive forwards"... and it's the other indexer (part of a 2 Indexer cluster).&lt;/P&gt;

&lt;P&gt;So how would I configure this to forward and whats the impact? Does it just forward the licensing_usage log? or all of the _internal? Reading up on this feature.&lt;/P&gt;

&lt;P&gt;We have (3) splunk environments... DEV, PROD, and a PCI space. All 3 report up to the same license master and we separate the pools there. Wondering if that's an optimal configuration?&lt;/P&gt;

&lt;P&gt;Thanks for the help!&lt;/P&gt;

&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 22:22:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296026#M163705</guid>
      <dc:creator>joesrepsol</dc:creator>
      <dc:date>2018-01-11T22:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index=_internal source=*license_usage.log* returning no data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296027#M163706</link>
      <description>&lt;P&gt;hey @joesrepsol&lt;/P&gt;

&lt;P&gt;Is your license master forwarding internal logs to indexers?&lt;BR /&gt;
If you are not then have a look at this doc!&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.1/Indexer/Forwardmasterdata"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.1/Indexer/Forwardmasterdata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 05:27:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296027#M163706</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-12T05:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index=_internal source=*license_usage.log* returning no data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296028#M163707</link>
      <description>&lt;P&gt;Can confirm. Had a similar issue when I replaced an indexer.&lt;/P&gt;

&lt;P&gt;Created an outputs.conf file that pointed to my indexer and restarted Splunk. All works well now.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 14:47:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-internal-source-license-usage-log-returning-no-data/m-p/296028#M163707</guid>
      <dc:creator>DBattisto</dc:creator>
      <dc:date>2019-02-21T14:47:28Z</dc:date>
    </item>
  </channel>
</rss>

