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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...