<?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: If I want to gather the statistics day by day for seeing the trend of each type of data and for checking the usage of any new data on-board in the future. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/If-I-want-to-gather-the-statistics-day-by-day-for-seeing-the/m-p/471448#M192254</link>
    <description>&lt;P&gt;thanks @to4kawa, its work !&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 02:20:36 GMT</pubDate>
    <dc:creator>ctksplunkctk</dc:creator>
    <dc:date>2020-02-18T02:20:36Z</dc:date>
    <item>
      <title>If I want to gather the statistics day by day for seeing the trend of each type of data and for checking the usage of any new data on-board in the future.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-want-to-gather-the-statistics-day-by-day-for-seeing-the/m-p/471446#M192252</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;
I have search through the questions asked regarding caption question and find below query. If I want to gather the statistics day by day for seeing the trend of each type of data and for checking the usage of any new data on-board in the future.&lt;BR /&gt;
How should I modify the query?&lt;BR /&gt;
Thanks for the help in advance.&lt;BR /&gt;
Ricky&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; index=_internal source=*license_usage.log type="Usage" &lt;/LI&gt;
&lt;LI&gt; | eval indexname = if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx)&lt;/LI&gt;
&lt;LI&gt; | eval sourcetypename = st&lt;/LI&gt;
&lt;LI&gt; | bin _time span=1d &lt;/LI&gt;
&lt;LI&gt; | stats sum(b) as b by _time, pool, indexname, sourcetypename&lt;/LI&gt;
&lt;LI&gt; | eval GB=round(b/1024/1024/1024, 3)&lt;/LI&gt;
&lt;LI&gt; | fields _time, indexname, sourcetypename, GB&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:11:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-want-to-gather-the-statistics-day-by-day-for-seeing-the/m-p/471446#M192252</guid>
      <dc:creator>ctksplunkctk</dc:creator>
      <dc:date>2020-09-30T04:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: If I want to gather the statistics day by day for seeing the trend of each type of data and for checking the usage of any new data on-board in the future.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-want-to-gather-the-statistics-day-by-day-for-seeing-the/m-p/471447#M192253</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type="Usage" 
| eval indexname = if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx) 
| eval sourcetypename = st 
| bin _time span=1d 
| stats sum(b) as b by _time, pool, indexname, sourcetypename 
| eval GB=round(b/1024/1024/1024, 3) 
| fields _time, indexname, sourcetypename, GB
| eval index_sourcetype=indexname.":".sourcetypename
| xyseries _time index_sourcetype GB
| fillnull value=0.000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi, @ctksplunkctk&lt;BR /&gt;
How about this?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 09:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-want-to-gather-the-statistics-day-by-day-for-seeing-the/m-p/471447#M192253</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-16T09:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: If I want to gather the statistics day by day for seeing the trend of each type of data and for checking the usage of any new data on-board in the future.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-want-to-gather-the-statistics-day-by-day-for-seeing-the/m-p/471448#M192254</link>
      <description>&lt;P&gt;thanks @to4kawa, its work !&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 02:20:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-want-to-gather-the-statistics-day-by-day-for-seeing-the/m-p/471448#M192254</guid>
      <dc:creator>ctksplunkctk</dc:creator>
      <dc:date>2020-02-18T02:20:36Z</dc:date>
    </item>
  </channel>
</rss>

