Dashboards & Visualizations

adding an html meta tag to a dashboard

cphair
Builder

Hello all,

I would like a particular advanced XML dashboard to display in standards mode by default in IE9. Instead of making users change their IE settings, I'd like to include a meta tag that (as I understand it) requests the browser to use standards mode: <meta http-equiv="X-UA-Compatible" value="IE=9">. Is there a way to tell Splunk to insert that meta tag in the HTML page that it generates? This is intended to get a particular piece of Javascript/CSS working.

1 Solution

nmistry_splunk
Splunk Employee
Splunk Employee

I highly recommend not taking that path.

The current issue at hand is you have javascript/css which was incorrectly implemented using non-standard behavior or using a deprecated feature. I would spend time to resolve this issue vs running a dashboard in legacy mode.

Some cons of legacy mode:-

  1. Web applications do not take advantage of new feature of latest version
  2. Performance degradation
  3. Your custom javascript may be execute perfectly, but you may end up having issues with Splunk

View solution in original post

0 Karma

nmistry_splunk
Splunk Employee
Splunk Employee

I highly recommend not taking that path.

The current issue at hand is you have javascript/css which was incorrectly implemented using non-standard behavior or using a deprecated feature. I would spend time to resolve this issue vs running a dashboard in legacy mode.

Some cons of legacy mode:-

  1. Web applications do not take advantage of new feature of latest version
  2. Performance degradation
  3. Your custom javascript may be execute perfectly, but you may end up having issues with Splunk
0 Karma

nmistry_splunk
Splunk Employee
Splunk Employee

I see, your users are in compatibility mode and you want to force them to render in standard mode. Sorry about that, I thought you wanted to render in compatibility mode.

I do not think there is a way to set meta tag on dashboard by dashboard bases. You can modify base.html file under $SPLUNK_HOME/share/splunk/search_mrsparkle/templates/layout/base.html and add the meta tag for all dashboards.

HTH

0 Karma

cphair
Builder

Not sure I understand. My users' IE browsers are set to Compatibility mode by default. I want them to be using Standards mode for this page--the javascript in question works in modern browsers but not in IE7 mode.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...