<?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: Dashboard panels becoming unhidden on page refresh in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-panels-becoming-unhidden-on-page-refresh/m-p/467038#M30654</link>
    <description>&lt;P&gt;I have the time picker set to Global as the time is irrelevant. The data is essentially a csv dump of rows without _time being used.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 19:32:44 GMT</pubDate>
    <dc:creator>thisissplunk</dc:creator>
    <dc:date>2019-12-17T19:32:44Z</dc:date>
    <item>
      <title>Dashboard panels becoming unhidden on page refresh</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-panels-becoming-unhidden-on-page-refresh/m-p/467036#M30652</link>
      <description>&lt;P&gt;I hide certain panels if their results are 0 in my dashboard. This works great when I load up my dashboard page initially. However, if I manually refresh the browser page, these panels seems to re-search but continue to show themselves even when they have 0 results. The only way I can get them to hide again is to go to the main dashboard link without the trailing field/values for time etc in the URL.&lt;/P&gt;

&lt;P&gt;This is one of the panels code and the hide logic is the same throughout (within "progress" block):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;row&amp;gt;
    &amp;lt;panel depends="$exec_show$"&amp;gt;
      &amp;lt;title&amp;gt;Pending Executive Summaries&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;progress&amp;gt;
            &amp;lt;condition match="'job.resultCount' &amp;gt; 0"&amp;gt;
              &amp;lt;set token="exec_show"&amp;gt;true&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
            &amp;lt;condition&amp;gt;
              &amp;lt;unset token="exec_show"&amp;gt;&amp;lt;/unset&amp;gt;
            &amp;lt;/condition&amp;gt;
          &amp;lt;/progress&amp;gt;
          &amp;lt;query&amp;gt;
MY QUERY
          &amp;lt;earliest&amp;gt;$earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$latest$&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;100&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Of note is that the data is from an &lt;CODE&gt;| inputlookup&lt;/CODE&gt; search command and uses global time because it's more of a DB dump than events over time.&lt;/P&gt;

&lt;P&gt;Anyone know how to keep the panels hidden on browser refresh?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 18:15:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-panels-becoming-unhidden-on-page-refresh/m-p/467036#M30652</guid>
      <dc:creator>thisissplunk</dc:creator>
      <dc:date>2019-12-17T18:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard panels becoming unhidden on page refresh</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-panels-becoming-unhidden-on-page-refresh/m-p/467037#M30653</link>
      <description>&lt;P&gt;@thisissplunk if you have time input with token name as &lt;CODE&gt;time_tok&lt;/CODE&gt; then corresponding earliest and latest tokens will be &lt;CODE&gt;$time_tok.earliest$&lt;/CODE&gt; and &lt;CODE&gt;$time_tok.latest$&lt;/CODE&gt; respectively, not $earliest$ or $latest$. Please verify and confirm.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-panels-becoming-unhidden-on-page-refresh/m-p/467037#M30653</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-12-17T19:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard panels becoming unhidden on page refresh</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-panels-becoming-unhidden-on-page-refresh/m-p/467038#M30654</link>
      <description>&lt;P&gt;I have the time picker set to Global as the time is irrelevant. The data is essentially a csv dump of rows without _time being used.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:32:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-panels-becoming-unhidden-on-page-refresh/m-p/467038#M30654</guid>
      <dc:creator>thisissplunk</dc:creator>
      <dc:date>2019-12-17T19:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard panels becoming unhidden on page refresh</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-panels-becoming-unhidden-on-page-refresh/m-p/467039#M30655</link>
      <description>&lt;P&gt;Please ignore...&lt;/P&gt;

&lt;P&gt;I was setting the token unintentionally in another search in the dashboard due to a poor copy/paste.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-panels-becoming-unhidden-on-page-refresh/m-p/467039#M30655</guid>
      <dc:creator>thisissplunk</dc:creator>
      <dc:date>2019-12-17T19:57:20Z</dc:date>
    </item>
  </channel>
</rss>

