Dashboards & Visualizations

Embed extrenal link in Dashboard studio

tgulgund
Explorer

I have a dashboard built using dashboard studio and I need to embed external link but I am unable to do us. 

How do I add an external embed link

Labels (1)
0 Karma
1 Solution

livehybrid
SplunkTrust
SplunkTrust

Ahh my apologies @tgulgund  - I misunderstood what you were looking for.

Unfortunately embedding HTML directly in Dashboard Studio is not available/supported - only the limited Markdown code.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

View solution in original post

0 Karma

tgulgund
Explorer

Thanks @livehybrid 

I have an  embed link for a widget on the external website and want to display in on my dashboard. I have a <iframe></iframe> link. how do I add it go my dashboard ?

0 Karma

tgulgund
Explorer

Thanks. 

I am looking to add a embded widget from external site and I have a <ifram><i/frame> link. How do i add it to my dashboard

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Ahh my apologies @tgulgund  - I misunderstood what you were looking for.

Unfortunately embedding HTML directly in Dashboard Studio is not available/supported - only the limited Markdown code.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @tgulgund 

Using dashboard studio you can create a link by using the Markdown object:

livehybrid_0-1749192827224.png

The following markdown is what was used in this example:

This is a link to [google](https://www.google.com)

If unfamiliar with markdown, essentially you put the text in square brackets followed by the URL in regular brackets.

Here is a full dashboard example:

{
    "title": "testing",
    "description": "",
    "inputs": {},
    "defaults": {
        "dataSources": {
            "ds.search": {
                "options": {
                    "queryParameters": {
                        "earliest": "-24h@h",
                        "latest": "now"
                    }
                }
            }
        }
    },
    "visualizations": {
        "viz_hwZoBg6m": {
            "options": {
                "fontSize": "extraLarge",
                "markdown": "This is a link to [google](https://www.google.com)"
            },
            "type": "splunk.markdown"
        }
    },
    "dataSources": {
        "ds_UUxjD5lL": {
            "name": "Search_1",
            "options": {
                "query": "index=cultivar* clientip!=\"\\\"-\\\"\" | iplocation clientip | geostats latfield=lat longfield=lon count by method "
            },
            "type": "ds.search"
        },
        "search1": {
            "name": "search1",
            "options": {
                "query": "| makeresults \n|  eval msg=\"Search 1\""
            },
            "type": "ds.search"
        },
        "search2": {
            "name": "search2",
            "options": {
                "query": "| makeresults \n|  eval msg=\"Search2\""
            },
            "type": "ds.search"
        }
    },
    "layout": {
        "globalInputs": [],
        "layoutDefinitions": {
            "layout_1": {
                "options": {
                    "display": "auto",
                    "height": 960,
                    "width": 1440
                },
                "structure": [
                    {
                        "item": "viz_hwZoBg6m",
                        "position": {
                            "h": 190,
                            "w": 830,
                            "x": 0,
                            "y": 0
                        },
                        "type": "block"
                    }
                ],
                "type": "absolute"
            }
        },
        "tabs": {
            "items": [
                {
                    "label": "New tab",
                    "layoutId": "layout_1"
                }
            ]
        }
    }
}

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

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 ...