<?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: chart with missing values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155282#M43690</link>
    <description>&lt;P&gt;yes you are right. But when i use timechart, i don't get the date format in the way i want (month-day) and also when i chart it, it skips showing some of the dates (even though data points are there)&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jul 2014 03:06:13 GMT</pubDate>
    <dc:creator>xvxt006</dc:creator>
    <dc:date>2014-07-24T03:06:13Z</dc:date>
    <item>
      <title>chart with missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155280#M43688</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i am charting errors and i see that for some of the days there is no data and i want to fill that date with 0. So i have used this query. I see that i have 0s when there are no actual values. But in the chart, i see actual values on the x axis and date values as the data points. How to flip this so that i see date on the x axis and actual data on the data points..&lt;/P&gt;

&lt;P&gt;| gentimes start=06/23/2014 end=07/23/2014 increment=1d | fields starttime |  eval Date=strftime(starttime," %m-%d") | eval Errors= 0 | fields 404s,Date | join type=outer Date[search xxxxx | eval Date=strftime(_time," %m-%d") | chart count(uri) as Errors over Date | sort by Date]&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 23:01:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155280#M43688</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2014-07-23T23:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: chart with missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155281#M43689</link>
      <description>&lt;P&gt;Looks like your use case is: Chart count of errors over date (with span as 1 day) and when there is no data you should show it as 0. &lt;BR /&gt;
Is there any specific reason to use join?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 02:11:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155281#M43689</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-24T02:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: chart with missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155282#M43690</link>
      <description>&lt;P&gt;yes you are right. But when i use timechart, i don't get the date format in the way i want (month-day) and also when i chart it, it skips showing some of the dates (even though data points are there)&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 03:06:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155282#M43690</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2014-07-24T03:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: chart with missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155283#M43691</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Could you try to use "timechart" instead of "chart"?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;xxxxxx | timechart span=1d count(uri) AS Errors | eval Date=strftime(_time," %m-%d") | table Date Errors
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I believe it would be simple.&lt;/P&gt;

&lt;P&gt;I hope it helps you. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 03:39:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155283#M43691</guid>
      <dc:creator>Suda</dc:creator>
      <dc:date>2014-07-24T03:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: chart with missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155284#M43692</link>
      <description>&lt;P&gt;Thank you. i did not know that having table would still show the chart&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 03:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155284#M43692</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2014-07-24T03:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: chart with missing values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155285#M43693</link>
      <description>&lt;P&gt;You want to see the chart (historical graph), don't you?&lt;BR /&gt;
If you stop "timechart" command, you may see the timechart.&lt;BR /&gt;
Is it an answer which you want?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 03:53:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-with-missing-values/m-p/155285#M43693</guid>
      <dc:creator>Suda</dc:creator>
      <dc:date>2014-07-24T03:53:42Z</dc:date>
    </item>
  </channel>
</rss>

