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!

Security Highlights: September 2022 Newsletter

 September 2022 The Splunk App for Fraud Analytics (SFA) is now Splunk SupportedUse your existing Splunk ...

Platform Highlights | September 2022 Newsletter

 September 2022 What’s New in 9.0 and How to UpgradeGet a walk through of what is new Splunk Enterprise 9.0 ...

Observability Highlights | September 2022 Newsletter

 September 2022 Splunk Observability SuiteAccess to "Classic" SignalFx Interface Will be Removed on Sept 30, ...