Dashboards & Visualizations

Issue with accessing Dashboard through an iframe

andrewdove
New Member

Hi

I have setup several dashboards which we access over our intranet in an iframe with the following link in html.

"/splunk:8000/account/insecurelogin?username=intrauser&password=Password&return_to=%2Fapp%2Fsearch%2FSST_DB_STATS_LFW"

Since we have changed the license from the trial enterprise version to the Free License these links bring up the following error.

"UnboundLocalError: local variable 'sessionKey' referenced before assignment"

Is it possible to access dashboards in an iframe like this in the Free version and what changes are needed to do that?

Or do we need to purchase an enterprise license for this to work now?

Thanks for any advice

Andrew

Tags (3)
0 Karma

nmistry_splunk
Splunk Employee
Splunk Employee

For free license mode you do not need to perform authentication. Simply update the iframe src to the view uri. In your case, it would look something like

<iframe src="http://splunk:8000/app/search/SST_DB_STATS_LFW" ...
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...