<?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: Not getting data for all day in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387033#M112917</link>
    <description>&lt;P&gt;I downvoted this post because your original post doesn't even mention dedup...  this solution helps no future people who come across this question&lt;/P&gt;</description>
    <pubDate>Tue, 19 Feb 2019 11:29:00 GMT</pubDate>
    <dc:creator>chrisyounger</dc:creator>
    <dc:date>2019-02-19T11:29:00Z</dc:date>
    <item>
      <title>Not getting data for all day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387026#M112910</link>
      <description>&lt;P&gt;I am running timechart command for sum of free space and used space with span of 1 day. I am missing data for few days. but when I am running the same command on those specific date, I am getting data.&lt;/P&gt;

&lt;P&gt;Below command for last 7 days.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | timechart span=1d sum(Used_Space_GB) as "Used Space", sum(Free_Space_GB) as "Free Space" 
_time           Used Space           Free Space
2019-02-06       0.03                    0.95
2019-02-07       3744.03             2575.97
2019-02-08      56946.22            122232.70
2019-02-09      0                           0
2019-02-10      0                           0
2019-02-11     19.00                   2330.00
2019-02-12     0                          0
2019-02-13    399369.75      791924.36
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but when I am running the same query for 12th Feb 2019. I am getting below result.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | timechart span=1d sum(Used_Space_GB) as "Used Space", sum(Free_Space_GB) as "Free Space"
_time                Used Space Free Space
2019-02-12 00:00:00 398641.91   792654.95
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Feb 2019 10:26:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387026#M112910</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2019-02-13T10:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting data for all day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387027#M112911</link>
      <description>&lt;P&gt;I think your query should be using &lt;CODE&gt;avg&lt;/CODE&gt; instead of &lt;CODE&gt;sum&lt;/CODE&gt;:&lt;/P&gt;

&lt;P&gt;Try this: &lt;CODE&gt;base search | timechart span=1d avg(Used_Space_GB) as "Used Space", avg(Free_Space_GB) as "Free Space"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This is becuase there are probably a few monitoring points per day&lt;/P&gt;

&lt;P&gt;As for why the 12th is different, I am not sure...&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 10:48:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387027#M112911</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-13T10:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting data for all day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387028#M112912</link>
      <description>&lt;P&gt;Hi @chrisyoungerjds ,&lt;BR /&gt;
I want the sum of free space and sum of used space with daily span. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 11:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387028#M112912</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2019-02-13T11:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting data for all day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387029#M112913</link>
      <description>&lt;P&gt;how often are the raw events arriving? are they on a daily basis? is the time the measurement take at midnight - if so, does the exact time drift a little which causes the days to not add up properly?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 11:30:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387029#M112913</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-13T11:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting data for all day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387030#M112914</link>
      <description>&lt;P&gt;data is coming every 10 min.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 13:13:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387030#M112914</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2019-02-13T13:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting data for all day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387031#M112915</link>
      <description>&lt;P&gt;It is highly unlikely that your logs are giving you delta values.  I have never seen any disk usage tool present data in such a way.  If you are getting deltas, then &lt;CODE&gt;sum&lt;/CODE&gt; is correct.  However, if the logs are giving you current state, then you should be using &lt;CODE&gt;avg&lt;/CODE&gt;.  Take a good hard look at the logs and the source of them.  I am sure that @chrisyoungerjds is correct.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 17:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387031#M112915</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-13T17:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting data for all day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387032#M112916</link>
      <description>&lt;P&gt;I have removed the &lt;STRONG&gt;dedup&lt;/STRONG&gt; from host and got the desired output.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 11:23:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387032#M112916</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2019-02-19T11:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting data for all day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387033#M112917</link>
      <description>&lt;P&gt;I downvoted this post because your original post doesn't even mention dedup...  this solution helps no future people who come across this question&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 11:29:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-getting-data-for-all-day/m-p/387033#M112917</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-19T11:29:00Z</dc:date>
    </item>
  </channel>
</rss>

