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.
Whereas I am unable to get contents from this webpage as shown in attachment, please assist.
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.
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.