Dashboards & Visualizations

dashboard "refreshed on <date>" is there a way to suppress this?

davesplunkmonky
Splunk Employee
Splunk Employee

Can I suppress the "refreshed on: bla bla message in a dashboard chart or table?

Tags (1)
1 Solution

sideview
SplunkTrust
SplunkTrust

If you're using the advanced XML there is a way to do this, but its a little indirect.

If you're using the simplified XML I cant think of a way but maybe someone else can.

(if you want to convert from simplified to the advanced XML, see http://docs.splunk.com/Documentation/Splunk/5.0/Viz/Buildandeditforms#Simple_XML_and_advanced_XML.)

So assuming we're in the advanced XML, the 'last refreshed' header is tied to that panel title that you see in green at the top of the panel. So you can make the 'last refreshed' go away by making the green title go away.

And to make the green title go away, just dont specify any group="My Panel" attribute(s) anywhere in that dashboard's modules. Reload your views and both will vanish.

And if you want the green header back, you can get one manually by using a GenericHeader module. (see /en-US/modules#Splunk.Module.GenericHeader on your splunk instance for comments about that module)

View solution in original post

the_wolverine
Champion

That was easy! Just literally copied .splLastRefreshed { display:none; } to my application.css file for my app and it worked.

0 Karma

sideview
SplunkTrust
SplunkTrust

that's true. I think you can add
.splLastRefreshed {
display:none;
}
to a custom CSS file. See here for custom CSS docs : http://www.splunk.com/base/Documentation/4.1/Developer/UseCSS

0 Karma

sideview
SplunkTrust
SplunkTrust

If you're using the advanced XML there is a way to do this, but its a little indirect.

If you're using the simplified XML I cant think of a way but maybe someone else can.

(if you want to convert from simplified to the advanced XML, see http://docs.splunk.com/Documentation/Splunk/5.0/Viz/Buildandeditforms#Simple_XML_and_advanced_XML.)

So assuming we're in the advanced XML, the 'last refreshed' header is tied to that panel title that you see in green at the top of the panel. So you can make the 'last refreshed' go away by making the green title go away.

And to make the green title go away, just dont specify any group="My Panel" attribute(s) anywhere in that dashboard's modules. Reload your views and both will vanish.

And if you want the green header back, you can get one manually by using a GenericHeader module. (see /en-US/modules#Splunk.Module.GenericHeader on your splunk instance for comments about that module)

davesplunkmonky
Splunk Employee
Splunk Employee

splLastRefreshed in dashboard.js perhaps?

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...