Dashboards & Visualizations

How to hide "populating..." text on dashboard

questionsdaniel
Observer

Hi! I was wondering if anybody knows if there's a way to hide the "populating..." text under this drillthrough on my dashboard? Screenshot (223).png

Labels (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

That is the splunk-choice-input-message class - so you can do it like this - note that this will hide it always.

 

<form version="1.1" theme="light">
  <label>populating</label>
  <fieldset submitButton="false">
    <input type="time" token="time_range" searchWhenChanged="true">
      <label>Time Range</label>
      <default>
        <earliest>-24h@h</earliest>
        <latest>now</latest>
      </default>
    </input>
    <input id="user_input" type="dropdown" token="tok_user" searchWhenChanged="true">
      <label>User</label>
      <search>
        <query>index=_audit
| stats count by user</query>
        <earliest>$time_range.earliest$</earliest>
        <latest>$time_range.latest$</latest>
      </search>
      <fieldForLabel>user</fieldForLabel>
      <fieldForValue>user</fieldForValue>
    </input>
  </fieldset>
  <row depends="$AlwaysHideCSS$">
    <panel>
      <html>
        <style>
          #user_input .splunk-choice-input-message{
            display: none !important;
          }
        </style>
      </html>
    </panel>
  </row>
  <row>
    <panel>
      <table>
        <search>
          <query>index=_audit user=$tok_user$
| stats count by user</query>
        <earliest>$time_range.earliest$</earliest>
        <latest>$time_range.latest$</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="count">100</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">none</option>
        <option name="percentagesRow">false</option>
        <option name="refresh.display">progressbar</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
      </table>
    </panel>
  </row>
</form>

 

 

0 Karma

bowesmana
SplunkTrust
SplunkTrust

You can also do it more elegantly by hiding the Populating message when the search is in progress using <progress> and <done> clauses in the search, e.g.

<form version="1.1" theme="light">
  <label>populating</label>
  <init>
    <set token="input_message_display">none</set>
  </init>
  <fieldset submitButton="false">
    <input type="time" token="time_range" searchWhenChanged="true">
      <label>Time Range</label>
      <default>
        <earliest>-24h@h</earliest>
        <latest>now</latest>
      </default>
      <change>
        <set token="input_message_display">none</set>
      </change>
    </input>
    <input id="user_input" type="dropdown" token="tok_user" searchWhenChanged="true">
      <label>User</label>
      <search>
        <query>index=_audit
| stats count by user</query>
        <earliest>$time_range.earliest$</earliest>
        <latest>$time_range.latest$</latest>
        <progress>
          <set token="input_message_display">none</set>
        </progress>
        <done>
          <set token="input_message_display"></set>
        </done>
      </search>
      <fieldForLabel>user</fieldForLabel>
      <fieldForValue>user</fieldForValue>
    </input>
  </fieldset>
  <row depends="$AlwaysHideCSS$">
    <panel>
      <html>
        <style>
          #user_input .splunk-choice-input-message{
            display: $input_message_display$;
          }
        </style>
      </html>
    </panel>
  </row>
  <row>
    <panel>
      <table>
        <search>
          <query>index=_audit user=$tok_user$
| stats count by user</query>
          <earliest>$time_range.earliest$</earliest>
          <latest>$time_range.latest$</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="count">100</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">none</option>
        <option name="percentagesRow">false</option>
        <option name="refresh.display">progressbar</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
      </table>
    </panel>
  </row>
</form>

This will hide the populating message every time you change the time that the dropdown depends on, then when the search is finished, it will re-enable it - so that if you get no results, it will say 'Search produced no results'

 

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...