Dashboards & Visualizations

Dashboard Studio: How to hide export and full screen that come up upon mouse hovering on icons?

av_
Path Finder

In a Dashboard Studio: I applied drilldown to one of the standard icons and linked to another dashboard.

The goal is to view the linked dashboard upon clicking on the icon, and it works.

However, people get distracted when they place mouse upon the icon and the export and Full screen icons pump up. Is there a way to disable this default unneeded functionality so nothings pumps up on mouse hovering over an icon ?

 

@elizabethl_splu 

Labels (1)
0 Karma

elizabethl_splu
Splunk Employee
Splunk Employee

Hi @av_ - this is not currently supported but we have heard this feedback before and have it prioritized on our roadmap to address. Stay tuned for updates! 

mjlsnombrado
Communicator

Hi @elizabethl_splu,

Good day, is this implemented already? I have a requirement to hide job inspect, full screen and refresh which comes up upon mouse hovering on icons/single values, i was able to hide search and export using this doc Apply view mode settings for dashboards but I can't find any doc related to hiding the other options. 

Thanks in advance!

0 Karma

gcasaldi
Explorer

Try to do this:

  1. Open the Dashboard in Edit Mode:

    • Navigate to the dashboard you want to edit.
    • Click on the "Edit" button to enter the edit mode.
    • Access the Source Code:

      • In the top right corner of the dashboard editor, click on the "Source" button to open the JSON source code of the dashboard.
      • Add Custom CSS:

        • Insert a custom CSS block within the JSON to target and hide the export and full-screen icons.
        • To add custom CSS, you need to define a css block within the options field of your dashboard's JSON configuration.

          Here's a sample of how you can add the custom CSS:

           

          json
          Copia codice
          {
            "type": "dashboard",
            "title": "Your Dashboard Title",
            "options": {
              "css": ".dashboard-panel .dashboard-panel-action { display: none !important; }"
            },
            "visualizations": [
              {
                "type": "icon",
                "options": {
                  "title": "Your Icon Title",
                  "drilldown": {
                    "type": "link",
                    "dashboard": "linked_dashboard_name"
                  }
                }
              }
              // Add other visualizations here
            ]
          }
          1. Save and Verify:
            • Save the changes to the dashboard.
            • Verify that the export and full-screen icons no longer appear when hovering over the icon.

              you can see if this works

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...