<?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: Is the &amp;quot;type&amp;quot; field removed from Splunk metrics in 6.6? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414902#M169284</link>
    <description>&lt;P&gt;Before Splunk 6.5.x, Splunk used to report license data in a single log file &lt;CODE&gt;license_usage.log&lt;/CODE&gt;. It used to differentiate frequent license usage vs daily rollover summary via field &lt;CODE&gt;type&lt;/CODE&gt; that you used in the search above. Starting 6.5.x, the license rollover summary logs have been moved a dedicated log file called &lt;CODE&gt;license_usage_summary.log&lt;/CODE&gt; (so all logs with &lt;CODE&gt;type=RolloverSummary&lt;/CODE&gt;), thus the field &lt;CODE&gt;type&lt;/CODE&gt; is removed. See below links for brief details on both the files (and other internal log files) in Splunk.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.0/Troubleshooting/WhatSplunklogsaboutitself#Internal_logs"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.0/Troubleshooting/WhatSplunklogsaboutitself#Internal_logs&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 May 2018 16:28:08 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-05-22T16:28:08Z</dc:date>
    <item>
      <title>Is the "type" field removed from Splunk metrics in 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414900#M169282</link>
      <description>&lt;P&gt;So we have this query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal type=Usage  st!=splunk_metrics earliest=-1d@d latest=-0d@d  | bucket _time span=1d | stats sum(eval(b/1024/1024/1024)) as GB by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Its been running on Splunk for years for us, producing some info about how much is being indexed per day .. we upgraded to Splunk 6.6 and it seems like it doesn't work anymore.&lt;BR /&gt;
I don't see the field "type" anymore&lt;BR /&gt;
Does anyone know if they changed this in this new version?&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 15:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414900#M169282</guid>
      <dc:creator>EricLloyd79</dc:creator>
      <dc:date>2018-05-22T15:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is the "type" field removed from Splunk metrics in 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414901#M169283</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/36604"&gt;@EricLloyd79&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;Can you give this search a try&lt;/P&gt;

&lt;P&gt;index=_internal source=*license_usage.log type=Usage earliest=-1d@d latest=-0d@d | bucket _time span=1d | stats sum(eval(b/1024/1024/1024)) as GB by _time&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:36:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414901#M169283</guid>
      <dc:creator>PowerPacked</dc:creator>
      <dc:date>2020-09-29T19:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is the "type" field removed from Splunk metrics in 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414902#M169284</link>
      <description>&lt;P&gt;Before Splunk 6.5.x, Splunk used to report license data in a single log file &lt;CODE&gt;license_usage.log&lt;/CODE&gt;. It used to differentiate frequent license usage vs daily rollover summary via field &lt;CODE&gt;type&lt;/CODE&gt; that you used in the search above. Starting 6.5.x, the license rollover summary logs have been moved a dedicated log file called &lt;CODE&gt;license_usage_summary.log&lt;/CODE&gt; (so all logs with &lt;CODE&gt;type=RolloverSummary&lt;/CODE&gt;), thus the field &lt;CODE&gt;type&lt;/CODE&gt; is removed. See below links for brief details on both the files (and other internal log files) in Splunk.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.0/Troubleshooting/WhatSplunklogsaboutitself#Internal_logs"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.0/Troubleshooting/WhatSplunklogsaboutitself#Internal_logs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 16:28:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414902#M169284</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-05-22T16:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is the "type" field removed from Splunk metrics in 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414903#M169285</link>
      <description>&lt;P&gt;I tried that search and got no results.&lt;/P&gt;

&lt;P&gt;This search works to find specifically by host:&lt;BR /&gt;
index="_internal" source="*metrics.log" group="per_host_thruput" | chart sum(kb) by series | sort - sum(kb)&lt;/P&gt;

&lt;P&gt;Now, I was able to get results when I took type=Usage out:&lt;BR /&gt;
index=_internal source=*license_usage.log  earliest=-1d@d latest=-0d@d | bucket _time span=1d | stats sum(eval(b/1024/1024/1024)) as GB by _time&lt;/P&gt;

&lt;P&gt;But I am beginning to suspect it has to do with, for some reason, we are unable to access license_usage.log on our licensing server.&lt;BR /&gt;
We get this message:&lt;/P&gt;

&lt;P&gt;LicenseUsage - type=Message - License usage logging not available for slave licensing instances, please see license_usage.log on license master=&lt;A href="https://10.10.x.x:8089" target="_blank"&gt;https://10.10.x.x:8089&lt;/A&gt; for usage breakdown&lt;/P&gt;

&lt;P&gt;I can see the license_usage.log file in our licensing server via CLI but when I run this query it can't seem to find it. We recently upgraded to 6.6 but I doubt that would have anything to do with it.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:39:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414903#M169285</guid>
      <dc:creator>EricLloyd79</dc:creator>
      <dc:date>2020-09-29T19:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is the "type" field removed from Splunk metrics in 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414904#M169286</link>
      <description>&lt;P&gt;This is interesting. When I go on our licensing server and look at license_usage.log, I still see a Type=Usage being logged as of a few mins ago.&lt;/P&gt;

&lt;P&gt;We are currently experiencing some unusual SSL error connecting to our licensing server when we run our script so I suspect that may be part of the issue that our original query isn't working:&lt;BR /&gt;
index=_internal type=Usage st!=splunk_metrics earliest=-1d@d latest=-0d@d | bucket _time span=1d | stats sum(eval(b/1024/1024/1024)) as GB by _time&lt;/P&gt;

&lt;P&gt;It is looking for a log file with type=Usage which only exists in the license_usage.log on the licensing manager which cannot be accessed.  When I change it to type=* ( and remove st!=splunk metrics which seems like an artifact), I get these types:&lt;/P&gt;

&lt;P&gt;Message - License usage logging not available for slave licensing instances &lt;BR /&gt;
RolloverSummary &lt;BR /&gt;
SlaveWarnSummary&lt;/P&gt;

&lt;P&gt;This seems to correlate with what you are saying (sort of) and also is retrieving license_usage.log files from slave licensing instances which do not have the type=Usage field (hence why the original query got no results).&lt;/P&gt;

&lt;P&gt;We will work on getting the SSL error resolved then go from there.  Thanks for the info.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:40:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414904#M169286</guid>
      <dc:creator>EricLloyd79</dc:creator>
      <dc:date>2020-09-29T19:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is the "type" field removed from Splunk metrics in 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414905#M169287</link>
      <description>&lt;P&gt;The problem was that for some reason when we upgrades, the inputs.conf changed the hostname of our licensing server (very odd) so once we fixed that it all worked correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 19:19:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-the-quot-type-quot-field-removed-from-Splunk-metrics-in-6-6/m-p/414905#M169287</guid>
      <dc:creator>EricLloyd79</dc:creator>
      <dc:date>2018-05-22T19:19:56Z</dc:date>
    </item>
  </channel>
</rss>

