<?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 How do I display &amp;quot;no data found&amp;quot; message when there are no search results displayed for each dashboard panel? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280210#M17756</link>
    <description>&lt;P&gt;How do I display message to the user saying "No data found" on the dashboard panel when each of the panels returns no data at all. Currently, I am hiding panels when no search results are displayed for the dashboard. So, my dashboard shows as blank when no data is been returned. &lt;/P&gt;

&lt;P&gt;I would like to display a user friendly message to the user saying "No data found" when all the panels in my dashboard returns no results.&lt;/P&gt;

&lt;P&gt;Thx for your help,&lt;BR /&gt;
Sirisha&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 14:44:32 GMT</pubDate>
    <dc:creator>smuppava</dc:creator>
    <dc:date>2016-10-25T14:44:32Z</dc:date>
    <item>
      <title>How do I display "no data found" message when there are no search results displayed for each dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280210#M17756</link>
      <description>&lt;P&gt;How do I display message to the user saying "No data found" on the dashboard panel when each of the panels returns no data at all. Currently, I am hiding panels when no search results are displayed for the dashboard. So, my dashboard shows as blank when no data is been returned. &lt;/P&gt;

&lt;P&gt;I would like to display a user friendly message to the user saying "No data found" when all the panels in my dashboard returns no results.&lt;/P&gt;

&lt;P&gt;Thx for your help,&lt;BR /&gt;
Sirisha&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 14:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280210#M17756</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-25T14:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display "no data found" message when there are no search results displayed for each dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280211#M17757</link>
      <description>&lt;P&gt;You will need to use a webhook&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Alert/Webhooks"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Alert/Webhooks&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Alert/Alertexamples"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Alert/Alertexamples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 14:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280211#M17757</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-10-25T14:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display "no data found" message when there are no search results displayed for each dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280212#M17758</link>
      <description>&lt;P&gt;i just helped someone with this the other day&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/467823/if-there-are-no-results-found-how-do-i-get-my-sear.html#answer-468832"&gt;https://answers.splunk.com/answers/467823/if-there-are-no-results-found-how-do-i-get-my-sear.html#answer-468832&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;use &lt;CODE&gt;| appendpipe [ stats count | eval "NoResults"="No Data Found"  | where count=0 |table "NoResults"]&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 14:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280212#M17758</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-25T14:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display "no data found" message when there are no search results displayed for each dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280213#M17759</link>
      <description>&lt;P&gt;Hi smuppava,&lt;BR /&gt;
You could see an example in Dashboard Examples app (you can download it from appbase &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;), showing an html message instead of "No data found".&lt;BR /&gt;
something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;search id="search_logic"&amp;gt;
    &amp;lt;query&amp;gt;
      mysearch
    &amp;lt;/query&amp;gt;
    &amp;lt;!-- Progress event has access to job properties only --&amp;gt;
    &amp;lt;progress&amp;gt;
      &amp;lt;condition match="'job.resultCount' == 0"&amp;gt;
        &amp;lt;set token="show_html"&amp;gt;foob&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
      &amp;lt;condition&amp;gt;
        &amp;lt;unset token="show_html"&amp;gt;&amp;lt;/unset&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;/progress&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart rejects="$show_html$"&amp;gt;
        &amp;lt;title&amp;gt;XXXXXXXXXXXXXXXXXXXXXXXXXX&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;
              myquery
          &amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
          &amp;lt;progress&amp;gt;
            &amp;lt;set token="count"&amp;gt;$job.eventCount$&amp;lt;/set&amp;gt;
          &amp;lt;/progress&amp;gt;
          &amp;lt;cancelled&amp;gt;
            &amp;lt;unset token="count"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;/cancelled&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.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;pie&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;gaps&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;right&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
      &amp;lt;html depends="$show_html$"&amp;gt;
        &amp;lt;p style="color:red;margin-left:30px;font-size:24px"&amp;gt;BEWARE:&amp;lt;/p&amp;gt;
        &amp;lt;br/&amp;gt;
         &amp;lt;p style="color:blue;margin-left:30px;font-size:24px"&amp;gt;message&amp;lt;/p&amp;gt;
         &amp;lt;p style="color:blue;margin-left:30px;font-size:24px"&amp;gt;message&amp;lt;/p&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:29:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280213#M17759</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-10-25T15:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display "no data found" message when there are no search results displayed for each dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280214#M17760</link>
      <description>&lt;P&gt;I incorporated the above code into my query. But didn't work.&lt;/P&gt;

&lt;P&gt;index=eapi_cloud_system_qa  id-swiftid-green-ITE-app sourcetype=monitor OR sourcetype=monitor_log  | appendpipe [ stats count | eval "NoResults"="No Data Found" | where count=0 |table "NoResults"]|rex field=_raw "(EC2-CPUUtilization-Percent)&lt;A href="https://community.splunk.com/?P%5Bw%5D+" target="_blank"&gt;\w | ^:&lt;/A&gt;" | rex field=_raw "(Host-ProcessCPUUtilization-Percent)&lt;A href="https://community.splunk.com/?P%5Bw%5D+" target="_blank"&gt;\w | ^:&lt;/A&gt;" |chart values(ec2cpu) as EC2_CPUUtilization values(processcpu) AS Process_CPUUtilization by _time span=1m&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:36:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280214#M17760</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2020-09-29T11:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display "no data found" message when there are no search results displayed for each dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280215#M17761</link>
      <description>&lt;P&gt;This doesn't help!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:35:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280215#M17761</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-25T15:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display "no data found" message when there are no search results displayed for each dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280216#M17762</link>
      <description>&lt;P&gt;try placing the append at the very end.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=eapi_cloud_system_qa id-swiftid-green-ITE-app sourcetype=monitor OR sourcetype=monitor_log|rex field=_raw "(EC2-CPUUtilization-Percent)[\w | ^:](?P[\w]+)" | rex field=_raw "(Host-ProcessCPUUtilization-Percent)[\w | ^:](?P[\w]+)" |chart values(ec2cpu) as EC2_CPUUtilization values(processcpu) AS Process_CPUUtilization by _time span=1m | appendpipe [ stats count | eval "NoResults"="No Data Found" | where count=0 |table "NoResults"]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:35:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280216#M17762</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-25T15:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display "no data found" message when there are no search results displayed for each dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280217#M17763</link>
      <description>&lt;P&gt;The above query given results in a row being displayed with 3 columns and 1 column displays no data found&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 17:31:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280217#M17763</guid>
      <dc:creator>smuppava</dc:creator>
      <dc:date>2016-10-25T17:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display "no data found" message when there are no search results displayed for each dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280218#M17764</link>
      <description>&lt;P&gt;Is your dashboard in XML or HTML?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 05:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-quot-no-data-found-quot-message-when-there-are/m-p/280218#M17764</guid>
      <dc:creator>lquinn</dc:creator>
      <dc:date>2016-10-26T05:27:58Z</dc:date>
    </item>
  </channel>
</rss>

