Hi,
I am sharing the Grafana dashboard using the following link in a webpage
The way I had done is I had copy pasted the above link into an HTML file dashboard.html and tried to open the file dashboard.html through browser. http://platform.mylabs123.com/dashboard.html
When I open this in browser - The browser shows me the following error
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This content can’t be shown in a frame
There is supposed to be some content here, but the publisher doesn’t allow it to be displayed in a frame. This is to help protect the security of any information you might enter into this site.
Try this
[Open this in a new window]
-=-=-=-=-=-----------------------------
I had tried changing permission in my webserver(apache2) but I am not able to resolve. If any of you has faced this issue can you give me some tips ?
But this changes did not help me. Yes, I am using grafana 6.2.2. I ma attaching the iam attaching the image for your reference
I keep seeing the message content can’t shown in frame. What the browser says is:
"There is supposed to be some content here, but the publisher doesn’t allow it to be displayed in a frame. This is to help protect the security of any information you might enter into this site.
Yes, I did restart the grafana every time I made changes to the config files
Still it is not working. Have you tried this iframe and did it work for you
Regards
Girish
If anyone else stumbles on this and needs the solution -
Edit disable_sanitize_html to true in the default.ini file. This is located in /usr/share/grafana/conf/ for those trying to locate it in the prebuilt Docker container.
Save the file
Restart Grafana or the Docker container
Make sure to fully refresh the page (Ctrl+F5) you are trying to have an embedded iframe located in