Reporting

scheduled reports in color format

raomu
Explorer

Hello,

I have a scheduled report which gives me a list of server which are "Active"/ "Missing" under Status tab in CSV file. I want to set the color "Red" for the one which are "Missing" and "green" for the one which are "Active"

any suggestion?

Tags (1)
0 Karma

niketn
Legend

@raomu, refer to answer https://answers.splunk.com/answers/582632/how-do-you-use-custom-xml-in-reports-from-dashboar.html#an...

You can configure display.visualizations.charting.fieldColors property for scheduled search to apply colors.
Please try out and confirm.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

raomu
Explorer

Thanks for your reply.

Since we are using Splunkmanaged cloud service, this change try will take time. Well, what about this code ?

 <head>
 <title>Splunk Embedded Report</title>
 </head>
 <body>
     <h2 style="text-align:center">Splunk Embedded Report</h2>
     <div>
         <iframe height="350px" width="100%" frameborder="0" src="<YOUR_EMBEDDED_REPORT_SOURCE>"></iframe>
     </div>
 <body>
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...