Archive

changing font size on iframe

neluvasilica
Explorer

Hi,
I want to embed the outcome of Jenkins latest version(https://updates.jenkins.io/stable-2.204/latestCore.txt) in a splunk dashboard and change the font size. I can change the background color but I couldn't find a way of changing the text size. Any ideas?

  <dashboard>
       <row>
         <panel>
            <html>
     <iframe  style="background: "#FF0000" src="https://updates.jenkins.io/stable-2.204/latestCore.txt">></iframe>
    </html>
          </panel>
       </row>
    </dashboard>
0 Karma

PavelP
Motivator

you cannot modify the content of an external resource. You cannot do this because of cross-site scripting restrictions.

If the html file that you're trying to embed under your control then change it in the source.

the other option is to write the html body using javascript

0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!