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!

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