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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...