Dashboards & Visualizations

Splunk drilldown open two tabs instead of one

LearningGuy
Motivator

Hello,

Why does Splunk drilldown open two tabs instead of one?
Here's my setting:
Image => Drilldown settings => On click link to custom URL => put URL
When I clicked it opened two tabs

If found old post, but nobody answered.   Please help.  Thanks
https://community.splunk.com/t5/Dashboards-Visualizations/Why-is-Splunk-drilldown-setting-opening-tw...

Labels (2)
0 Karma

LearningGuy
Motivator

@ITWhisperer @gcusello 
Do you have any ideas on how to fix this?  Thanks

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Please share the source code of your dashboard in a code block </>

LearningGuy
Motivator

Hi @ITWhisperer 
Here's the code:    Thank you so much

{
    "type": "splunk.singlevalueicon",
    "options": {
        "showValue": false,
        "icon": "splunk-enterprise-kvstore://12345abcdefg"
    },
    "eventHandlers": [
        {
            "type": "drilldown.customUrl",
            "options": {
                "url": "/splunk/app/test_app/second_dashboard?form.student_token=$student_token$",
                "newTab": true
            }
        }
    ],
    "context": {},
    "showProgressBar": false,
    "showLastUpdated": false
}

 

LearningGuy_0-1729045910393.png

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Please share the source code of your dashboard in a code block </>

LearningGuy
Motivator

Hello @ITWhisperer ,

I shared the screenshot and Step by step in the reply to @gcusello 

 

/splunk/app/test_app/classicdashboard?form.student_token=$student_token$

 

 

 

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

hi @LearningGuy ,

could you better describe your issue?

eventually attaching some screenshot, because I don't understand this behavior.

Ciao.

Giuseppe

LearningGuy
Motivator

Hello @gcusello , 
Here's the screenshot and steps
Thank you in advance

On Dashboard Studio 
1) Put an icon and go to configuration

LearningGuy_2-1707494174345.png
2) On configuration, I set a link to a second dashboard (classicdashboard)

LearningGuy_1-1707494031977.png

 

/splunk/app/test_app/classicdashboard?form.student_token=$student_token$

 

3) Go to View mode and click the Icon
It opened 2 tabs, instead of only 1

LearningGuy_3-1707494507305.png

 

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @LearningGuy on the step 2, pls uncheck the "Open in new tab". sometimes this creates the 2 tabs. 

thanks. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !

LearningGuy
Motivator

Hi @inventsekar ,

If I uncheck open in new tab, it will not open a new tab and use the current tab.
My goal is to open a new tab, but only one, not two.   Thank you

LearningGuy_0-1729045955908.png

 

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...