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!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...