<?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 convert a pie chart into a single value visualization when the search returns no results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338914#M100502</link>
    <description>&lt;P&gt;nope, they are fine, and still same result:(   is there any other way to display 0  whenever the search returns nothing?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 17:12:17 GMT</pubDate>
    <dc:creator>Chinmai</dc:creator>
    <dc:date>2017-04-19T17:12:17Z</dc:date>
    <item>
      <title>How to convert a pie chart into a single value visualization when the search returns no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338908#M100496</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;

&lt;P&gt;I have a pie chart in my dashboard,  so whenever the search returns nothing, the pie chart should convert into single value visualization showing count as 0. And if there are any results from the search, pie chart should remain as it is.&lt;BR /&gt;
Currently it shows no results found whenever the search returns nothing.&lt;/P&gt;

&lt;P&gt;Can anyone help me with this problem?&lt;/P&gt;

&lt;P&gt;Many Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 14:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338908#M100496</guid>
      <dc:creator>Chinmai</dc:creator>
      <dc:date>2017-04-19T14:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a pie chart into a single value visualization when the search returns no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338909#M100497</link>
      <description>&lt;P&gt;Since the query is returning nothing, there is nothing to chart.  Add this snippet to your search to force a count of zero when there are no results.  Change the 'foo' and 'bar' fields to fields in your current query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| appendpipe [ stats count | eval foo="Nothing found" | eval bar=0 | where count==0 | fields - count ] | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Apr 2017 15:24:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338909#M100497</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-04-19T15:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a pie chart into a single value visualization when the search returns no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338910#M100498</link>
      <description>&lt;P&gt;Thanks for your answer, but how will this convert pie chart into  single value? this is in my dashboard panel, under chart tag the query is written&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 15:39:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338910#M100498</guid>
      <dc:creator>Chinmai</dc:creator>
      <dc:date>2017-04-19T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a pie chart into a single value visualization when the search returns no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338911#M100499</link>
      <description>&lt;P&gt;It won't change the type of chart.  You'll still see a pie chart, but that's better than "No results found", right?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 16:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338911#M100499</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-04-19T16:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a pie chart into a single value visualization when the search returns no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338912#M100500</link>
      <description>&lt;P&gt;when count is 0, its not showing pie chart, it is showing "numeric data required"&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 16:49:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338912#M100500</guid>
      <dc:creator>Chinmai</dc:creator>
      <dc:date>2017-04-19T16:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a pie chart into a single value visualization when the search returns no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338913#M100501</link>
      <description>&lt;P&gt;Check the field names in the &lt;CODE&gt;appendpipe&lt;/CODE&gt; command.  You may have foo and bar mixed up.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 17:00:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338913#M100501</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-04-19T17:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a pie chart into a single value visualization when the search returns no results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338914#M100502</link>
      <description>&lt;P&gt;nope, they are fine, and still same result:(   is there any other way to display 0  whenever the search returns nothing?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 17:12:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-pie-chart-into-a-single-value-visualization/m-p/338914#M100502</guid>
      <dc:creator>Chinmai</dc:creator>
      <dc:date>2017-04-19T17:12:17Z</dc:date>
    </item>
  </channel>
</rss>

