<?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 to generate a search to find license usage for a particular index for past 7 days sorted by host and source? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359654#M106344</link>
    <description>&lt;P&gt;Thanks for your response, i verified query it worked for past 7 days of usage. I  want to break this per day for last 7 days. how can i do it?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 21:35:32 GMT</pubDate>
    <dc:creator>lwaddep1</dc:creator>
    <dc:date>2017-06-20T21:35:32Z</dc:date>
    <item>
      <title>How to generate a search to find license usage for a particular index for past 7 days sorted by host and source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359652#M106342</link>
      <description>&lt;P&gt;How to generate a search to find license usage for a particular index for past 7 days sorted by host and source?&lt;/P&gt;

&lt;P&gt;Particular indexer is pumping lot of data recently, we want to have a report for the index by host and source for the past 7 days.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 20:49:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359652#M106342</guid>
      <dc:creator>lwaddep1</dc:creator>
      <dc:date>2017-06-20T20:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to find license usage for a particular index for past 7 days sorted by host and source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359653#M106343</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd source=*license_usage.log type=Usage idx=YourIndexNameHere
| eval host=coalesce(h,"&amp;lt;&amp;lt;SQUASHED&amp;gt;&amp;gt;") | eval source=coalesce(s,"&amp;lt;&amp;lt;SQUASHED&amp;gt;&amp;gt;")
| stats sum(b) as usage by host source
| eval usageMB=round(usage/1024/1024,3)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jun 2017 21:11:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359653#M106343</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-20T21:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to find license usage for a particular index for past 7 days sorted by host and source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359654#M106344</link>
      <description>&lt;P&gt;Thanks for your response, i verified query it worked for past 7 days of usage. I  want to break this per day for last 7 days. how can i do it?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 21:35:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359654#M106344</guid>
      <dc:creator>lwaddep1</dc:creator>
      <dc:date>2017-06-20T21:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to find license usage for a particular index for past 7 days sorted by host and source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359655#M106345</link>
      <description>&lt;P&gt;Like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal sourcetype=splunkd source=*license_usage.log type=Usage idx=YourIndexNameHere
| bucket span=1d _time
 | eval host=coalesce(h,"&amp;lt;&amp;lt;SQUASHED&amp;gt;&amp;gt;") | eval source=coalesce(s,"&amp;lt;&amp;lt;SQUASHED&amp;gt;&amp;gt;")
 | stats sum(b) as usage by _time host source
 | eval usageMB=round(usage/1024/1024,3)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jun 2017 21:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359655#M106345</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-20T21:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to find license usage for a particular index for past 7 days sorted by host and source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359656#M106346</link>
      <description>&lt;P&gt;Thanks for the quick response, appreciate your help.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 20:32:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359656#M106346</guid>
      <dc:creator>lwaddep1</dc:creator>
      <dc:date>2017-06-21T20:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to find license usage for a particular index for past 7 days sorted by host and source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359657#M106347</link>
      <description>&lt;P&gt;what changes does it need if we want to capture the same data in a timechart ? &lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 22:14:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359657#M106347</guid>
      <dc:creator>lwaddep1</dc:creator>
      <dc:date>2017-06-22T22:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to find license usage for a particular index for past 7 days sorted by host and source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359658#M106348</link>
      <description>&lt;P&gt;Just want to note that this search will only show an accurate breakdown by source if your combination of indexes, sourcetype, sources, and hosts is below the "squashing threshold".  Index and sourcetype are guaranteed to remain accurate with a large number of combinations but the others are not.  See &lt;A href="https://answers.splunk.com/answers/48542/blank-h-and-s-in-license-usage-log.html"&gt;this&lt;/A&gt; answer for some more details.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 11:34:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-license-usage-for-a-particular/m-p/359658#M106348</guid>
      <dc:creator>traxxasbreaker</dc:creator>
      <dc:date>2017-09-02T11:34:26Z</dc:date>
    </item>
  </channel>
</rss>

