Splunk Enterprise

Unable to load local html webpage in Splunk dashboard

vijayaaccent
New Member

I would like to view html webpage which is located under one of the Splunk apps local directory. I have created dashboard to embed this html webpage.

vijayaaccent_1-1643902072150.png

 

Whereas I am unable to get contents from this webpage as shown in attachment, please assist.

vijayaaccent_0-1643902279547.png

 

 

 

 

 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I'm a little confused.  The question says "Splunk apps local directory", but the screenshot says "Splunk apps bin directory".  Which is correct?

Have you tried file://... ?  The colon is key.

---
If this reply helps you, Karma would be appreciated.
0 Karma

vijayaaccent
New Member

html webpage is located under bin folder of one of the apps. Below is the Splunk dashboard definition for your reference.

<panel>
<title>Validation Report</title>
<html>
<a href="http://file:///C:/Program%20Files/Splunk/etc/apps/*********/bin/webpage.html">Click to view Validation Report</a>
</html>
</panel>

 

I also tried below, page is not loading and I see following error in debug tool "not allowed to load local resource"

<a href="file:///C:/Program%20Files/Splunk/etc/apps/*********/bin/webpage.html">Click to view Validation Report</a>

Please suggest how can I get webpage results in Splunk.

0 Karma
Get Updates on the Splunk Community!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...