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
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...