<?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: query help in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/query-help/m-p/754132#M4019</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258639"&gt;@Praz_123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using the bin command before your first stats, something like this should work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="_internal" source="*license_usage.log" type=Usage earliest=-3d@d latest=@d
| bin span=1d _time
| stats sum(b) as usage by _time, h
| eval usage_in_GB = usage / 1024 / 1024 / 1024
| where usage_in_GB &amp;gt; 2
| stats sum(usage_in_GB) as total_usage_GB by h
| sort - total_usage_GB
| head 10&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Oct 2025 14:55:16 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-10-09T14:55:16Z</dc:date>
    <item>
      <title>query help</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/query-help/m-p/754127#M4018</link>
      <description>&lt;P&gt;query is -&lt;BR /&gt;&lt;BR /&gt;index="_internal" source="*license_usage.log" type=Usage h="abc" earliest=-3d@d latest=@d | stats sum(b) as usage by _time | eval usage_in_GB = usage / 1024 / 1024 / 1024 | timechart span=1d sum(usage_in_GB) as usage_GB&lt;BR /&gt;&lt;BR /&gt;with the query I can see for specific host but I need a query to see top 10 host which are using daily more than 2gb usage&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;while using the below am not getting the results :-&lt;BR /&gt;&lt;BR /&gt;index="_internal" source="*license_usage.log" type=Usage earliest=-3d@d latest=@d&lt;BR /&gt;| stats sum(b) as usage by _time, h&lt;BR /&gt;| eval usage_in_GB = usage / 1024 / 1024 / 1024&lt;BR /&gt;| where usage_in_GB &amp;gt; 2&lt;BR /&gt;| stats sum(usage_in_GB) as total_usage_GB by h&lt;BR /&gt;| sort - total_usage_GB&lt;BR /&gt;| head 10&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 14:24:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/query-help/m-p/754127#M4018</guid>
      <dc:creator>Praz_123</dc:creator>
      <dc:date>2025-10-09T14:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: query help</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/query-help/m-p/754132#M4019</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258639"&gt;@Praz_123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using the bin command before your first stats, something like this should work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="_internal" source="*license_usage.log" type=Usage earliest=-3d@d latest=@d
| bin span=1d _time
| stats sum(b) as usage by _time, h
| eval usage_in_GB = usage / 1024 / 1024 / 1024
| where usage_in_GB &amp;gt; 2
| stats sum(usage_in_GB) as total_usage_GB by h
| sort - total_usage_GB
| head 10&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 14:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/query-help/m-p/754132#M4019</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-10-09T14:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: query help</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/query-help/m-p/754149#M4020</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258639"&gt;@Praz_123&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;For each day if you want to check try below,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source="*license_usage.log" type=Usage earliest=-3d@d latest=@d
| eval usage_in_GB = b/1024/1024/1024
| bin _time span=1d
| stats sum(usage_in_GB) as daily_usage_GB by _time h
| where daily_usage_GB &amp;gt; 2
| sort - daily_usage_GB
| head 10&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 Oct 2025 04:26:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/query-help/m-p/754149#M4020</guid>
      <dc:creator>PrewinThomas</dc:creator>
      <dc:date>2025-10-10T04:26:33Z</dc:date>
    </item>
  </channel>
</rss>

