Dashboards & Visualizations

Splunk drilldown open two tabs instead of one

LearningGuy
Builder

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
Builder

@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
Builder

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
Builder

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
Builder

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
Builder

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!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...