Splunk Search

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
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.