Dashboards & Visualizations

3rd party launching splunk saved search with parameters?

pmeyerson
Path Finder

Hi - I have a button click action in a 3rd party system to launch a new browser window to my splunk instance. I can tweak the search. If I created a tokenized dashboard, is it possible to drive the tokens from the URL into the dashboard somehow?

To clarify, I am not trying to pull the dash results into the 3rd party app - the app is launching a window and I am seeing the dashboard in splunk directly, with details provided by the third party.

Thanks for any pointers!

0 Karma
1 Solution

amcjohn
Engager

If you can dynamically populate the link the user clicks on in the third party tool then yes, you can pre-populate your dashboard by making your link look like the code below.

[URL]?form.[target_token_name]=[$source_value$]

[URL] = the URL of your Splunk dashboard
[target_token_name] = the name of your Splunk dashboard token
[$source_value$] = the value populated from the third party tool.

Pulled from Splunk documentation here: http://docs.splunk.com/Documentation/Splunk/7.0.3/Viz/DrilldownLinkToDashboard

View solution in original post

0 Karma

amcjohn
Engager

If you can dynamically populate the link the user clicks on in the third party tool then yes, you can pre-populate your dashboard by making your link look like the code below.

[URL]?form.[target_token_name]=[$source_value$]

[URL] = the URL of your Splunk dashboard
[target_token_name] = the name of your Splunk dashboard token
[$source_value$] = the value populated from the third party tool.

Pulled from Splunk documentation here: http://docs.splunk.com/Documentation/Splunk/7.0.3/Viz/DrilldownLinkToDashboard

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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...