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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...