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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...