<?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 do I hide panel when &amp;quot;no results found&amp;quot; text is displayed on dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277952#M17623</link>
    <description>&lt;P&gt;Try setting the tokens when &lt;CODE&gt;&amp;lt;done&amp;gt;&lt;/CODE&gt; OR &lt;CODE&gt;&amp;lt;finalized&amp;gt;&lt;/CODE&gt;, not &lt;CODE&gt;&amp;lt;progress&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;done&amp;gt;
    &amp;lt;condition match="match('job.resultCount' == 0)"&amp;gt;
      &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;condition&amp;gt;
       &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/done
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 31 Oct 2016 19:51:51 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-10-31T19:51:51Z</dc:date>
    <item>
      <title>How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277939#M17610</link>
      <description>&lt;P&gt;How do I hide my dashboard when I see "no results found" text displayed on my dashboard? I tried the code given by Splunk team on this website, but still didn't work.&lt;/P&gt;

&lt;P&gt;Below is my code and doesn't hide the dashboard. I do see "no results found" text on my dashboard instead. Please do provide your inputs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;Average % CPU Utilization&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=eapi_cloud_system_qa  $appname$  sourcetype=monitor OR sourcetype=monitor_log  |rex field=_raw "(EC2-CPUUtilization-Percent)[\w | ^:](?P&amp;amp;lt;ec2cpu&amp;amp;gt;[\w]+)" |stats avg(ec2cpu) as EC2_CPUUtilization&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;progress&amp;gt;
          &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
            &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;/condition&amp;gt;
          &amp;lt;condition&amp;gt;
            &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
          &amp;lt;/condition&amp;gt;
        &amp;lt;/progress&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY.text"&amp;gt;Percent&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart"&amp;gt;radialGauge&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;connect&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.legend.placement"&amp;gt;top&amp;lt;/option&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thx for your help&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 17:42:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277939#M17610</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T17:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277940#M17611</link>
      <description>&lt;P&gt;do you have a depends statement? It may have been cut off? Also, set the token when job.resultCount=0, try that.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;panel rejects="$hide_panel$"&amp;gt;
  &amp;lt;chart&amp;gt;
     &amp;lt;title&amp;gt;Average % CPU Utilization&amp;lt;/title&amp;gt;
     &amp;lt;search&amp;gt;
       &amp;lt;query&amp;gt;index=eapi_cloud_system_qa  $appname$  sourcetype=monitor OR sourcetype=monitor_log  |rex field=_raw "(EC2-CPUUtilization-Percent)[\w | ^:](?P&amp;lt;ec2cpu&amp;gt;[\w]+)" |stats avg(ec2cpu) as EC2_CPUUtilization&amp;lt;/query&amp;gt;
       &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
       &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
       &amp;lt;done&amp;gt;
           &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
             &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
           &amp;lt;/condition&amp;gt;
         &amp;lt;/done&amp;gt;
     &amp;lt;/search&amp;gt;
     &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.axisTitleY.text"&amp;gt;Percent&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart"&amp;gt;radialGauge&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;connect&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.legend.placement"&amp;gt;top&amp;lt;/option&amp;gt;
   &amp;lt;/chart&amp;gt;
 &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Oct 2016 17:52:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277940#M17611</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-31T17:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277941#M17612</link>
      <description>&lt;P&gt;your Panel start tag is missing in the sample code. Can you check If you have this there when Panel tag begins:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;panel depends="$hide_panel$"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Oct 2016 17:54:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277941#M17612</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2016-10-31T17:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277942#M17613</link>
      <description>&lt;P&gt;Yes, I do have a depends statement in my code, got cut off during my cut paste.&lt;/P&gt;

&lt;P&gt;This is my code..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;Average % CPU Utilization&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=eapi_cloud_system_qa  $appname$  sourcetype=monitor OR sourcetype=monitor_log  |rex field=_raw "(EC2-CPUUtilization-Percent)[\w | ^:](?P&amp;amp;lt;ec2cpu&amp;amp;gt;[\w]+)" |stats avg(ec2cpu) as EC2_CPUUtilization&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;progress&amp;gt;
          &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
            &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;/condition&amp;gt;
          &amp;lt;condition&amp;gt;
            &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
          &amp;lt;/condition&amp;gt;
        &amp;lt;/progress&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY.text"&amp;gt;Percent&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart"&amp;gt;radialGauge&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;connect&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.legend.placement"&amp;gt;top&amp;lt;/option&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Oct 2016 17:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277942#M17613</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T17:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277943#M17614</link>
      <description>&lt;P&gt;sorry got cut off again, but basically I do have the below depends in my code and my dashboard doesn't hide still.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:01:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277943#M17614</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T18:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277944#M17615</link>
      <description>&lt;P&gt;Based on your code, you need to switch the &lt;CODE&gt;set&lt;/CODE&gt; and &lt;CODE&gt;unset&lt;/CODE&gt; lines. You should be setting the token when job.resultCount is not 0.  Unless you are using &lt;CODE&gt;rejects&lt;/CODE&gt; instead of &lt;CODE&gt;depends&lt;/CODE&gt;, but you said you are using &lt;CODE&gt;depends&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:02:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277944#M17615</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-10-31T18:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277945#M17616</link>
      <description>&lt;P&gt;Follow your comments and the panel is still not hidden, below is my code: Based on your code, you need to switch the set and unset lines. You should be setting the token when job.resultCount is not 0. Unless you are using rejects instead of depends, but you said you are using depends&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;Top % Disk Space Utilization&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=eapi_cloud_system_qa  $appname$  sourcetype=monitor OR sourcetype=monitor_log  |rex field=_raw "(Host-TopDiskSpaceUsageByPercent-Percent)[\w | ^:](?P&amp;amp;lt;topdisk&amp;amp;gt;[\w]+)" |stats avg(topdisk) as TopDiskSpaceUsage&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;progress&amp;gt;
          &amp;lt;condition match="'job.resultCount' != 0"&amp;gt;
            &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;condition&amp;gt;
             &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
          &amp;lt;/condition&amp;gt;
        &amp;lt;/progress&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:19:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277945#M17616</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T18:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277946#M17617</link>
      <description>&lt;P&gt;you should set the token when the resultcount is 0&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;progress&amp;gt;
       &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
         &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
         &amp;lt;/condition&amp;gt;
       &amp;lt;condition&amp;gt;
          &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
       &amp;lt;/condition&amp;gt;
     &amp;lt;/progress&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:22:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277946#M17617</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-31T18:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277947#M17618</link>
      <description>&lt;P&gt;Tried the below suggestion and still doesn't hide my panel..&lt;/P&gt;

&lt;P&gt;you should set the code when the resultcount is 0&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;progress&amp;gt;
    &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
      &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;condition&amp;gt;
       &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/progress&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;below is my updated code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;Top % Disk Space Utilization&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=eapi_cloud_system_qa  $appname$  sourcetype=monitor OR sourcetype=monitor_log  |rex field=_raw "(Host-TopDiskSpaceUsageByPercent-Percent)[\w | ^:](?P&amp;amp;lt;topdisk&amp;amp;gt;[\w]+)" |stats avg(topdisk) as TopDiskSpaceUsage&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;progress&amp;gt;
    &amp;lt;condition match="'job.resultCount'== 0"&amp;gt;
      &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;condition&amp;gt;
       &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/progress&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:40:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277947#M17618</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T18:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277948#M17619</link>
      <description>&lt;P&gt;depends was used above chart..&lt;/P&gt;

&lt;P&gt;Still doesn't work..can you tell me if I could use reject instead of depend? can you please help me with how reject could be used within my code?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:42:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277948#M17619</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T18:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277949#M17620</link>
      <description>&lt;P&gt;see my updated syntax at the top.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:49:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277949#M17620</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-31T18:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277950#M17621</link>
      <description>&lt;P&gt;Tried your updated syntax, but my panel is still NOT hidden and I still do see the same result "no result found" on my panel...&lt;/P&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;Top % Disk Space Utilization&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=eapi_cloud_system_qa  $appname$  sourcetype=monitor OR sourcetype=monitor_log  |rex field=_raw "(Host-TopDiskSpaceUsageByPercent-Percent)[\w | ^:](?P&amp;amp;lt;topdisk&amp;amp;gt;[\w]+)" |stats avg(topdisk) as TopDiskSpaceUsage&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
       &amp;lt;progress&amp;gt;
    &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
      &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;condition&amp;gt;
       &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/progress&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:54:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277950#M17621</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T18:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277951#M17622</link>
      <description>&lt;P&gt;I changed &lt;CODE&gt;depends&lt;/CODE&gt; to &lt;CODE&gt;reject&lt;/CODE&gt; and also changed &lt;CODE&gt;&amp;lt;progress&amp;gt;&lt;/CODE&gt; to &lt;CODE&gt;&amp;lt;done&amp;gt;&lt;/CODE&gt; while also removing the      &lt;CODE&gt;&amp;lt;condition&amp;gt;        &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;     &amp;lt;/condition&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I tried it on a test dashboard and got it to hide the panel when empty and show the panel when there were results.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:57:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277951#M17622</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-31T18:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277952#M17623</link>
      <description>&lt;P&gt;Try setting the tokens when &lt;CODE&gt;&amp;lt;done&amp;gt;&lt;/CODE&gt; OR &lt;CODE&gt;&amp;lt;finalized&amp;gt;&lt;/CODE&gt;, not &lt;CODE&gt;&amp;lt;progress&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;done&amp;gt;
    &amp;lt;condition match="match('job.resultCount' == 0)"&amp;gt;
      &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;condition&amp;gt;
       &amp;lt;unset token="hide_panel"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/done
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Oct 2016 19:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277952#M17623</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-31T19:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277953#M17624</link>
      <description>&lt;P&gt;I tried the above as you've suggested and still didn't work. Am I doing anything wrong here?&lt;/P&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;Top % Disk Space Utilization&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=eapi_cloud_system_qa  $appname$  sourcetype=monitor OR sourcetype=monitor_log  |rex field=_raw "(Host-TopDiskSpaceUsageByPercent-Percent)[\w | ^:](?P&amp;amp;lt;topdisk&amp;amp;gt;[\w]+)" |stats avg(topdisk) as TopDiskSpaceUsage&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
       &amp;lt;done&amp;gt;
    &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
      &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
          &amp;lt;/done&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Oct 2016 19:58:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277953#M17624</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T19:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277954#M17625</link>
      <description>&lt;P&gt;Add the below reject for the above code before chart as well..&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 20:00:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277954#M17625</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T20:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277955#M17626</link>
      <description>&lt;P&gt;You have &lt;CODE&gt;&amp;lt;panel rejects="$hide_panel$"&amp;gt;&lt;/CODE&gt; ? &lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 20:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277955#M17626</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-31T20:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277956#M17627</link>
      <description>&lt;P&gt;Didn't you want me to use reject instead of depends? Can you please provide the full code along with reject that worked for you. You've mentioned you were able to hide the panel. Can you please provide me the code where you were able to hide the panel?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 20:07:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277956#M17627</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T20:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277957#M17628</link>
      <description>&lt;P&gt;the code at the top is what i used. If it isn't working for you, I'm not entirely sure why, because it works for me.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;panel rejects="$hide_panel$"&amp;gt;
   &amp;lt;chart&amp;gt;
      &amp;lt;title&amp;gt;Average % CPU Utilization&amp;lt;/title&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=eapi_cloud_system_qa  $appname$  sourcetype=monitor OR sourcetype=monitor_log  |rex field=_raw "(EC2-CPUUtilization-Percent)[\w | ^:](?P&amp;lt;ec2cpu&amp;gt;[\w]+)" |stats avg(ec2cpu) as EC2_CPUUtilization&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;done&amp;gt;
            &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
              &amp;lt;set token="hide_panel"&amp;gt;true&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;/done&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleY.text"&amp;gt;Percent&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart"&amp;gt;radialGauge&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;connect&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.legend.placement"&amp;gt;top&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Oct 2016 20:37:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277957#M17628</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-31T20:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide panel when "no results found" text is displayed on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277958#M17629</link>
      <description>&lt;P&gt;Thank you cmerriman for the above code. This code hides the panel although my search results are displayed.&lt;/P&gt;

&lt;P&gt;I would like to hide my dashboard panel ONLY when my search results are zero. Currently, I do have search results displayed and your above code hides the panel although the search results are NOT zero.&lt;/P&gt;

&lt;P&gt;Can you please tell me what is wrong in here?&lt;/P&gt;

&lt;P&gt;Thx for your help,&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 20:53:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-hide-panel-when-quot-no-results-found-quot-text-is/m-p/277958#M17629</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-31T20:53:07Z</dc:date>
    </item>
  </channel>
</rss>

