All Apps and Add-ons

Percentage of Field

hafizuddin
Path Finder

hi,

I'm used status indicator to show the current status of the field. I had notice when I click on the field it show the count and percentage for the event. How can I simulate the percentage at the field to status indicator dashboard since I had attention when the 100% of Up will turn to UP with green color, when the percent of Up 70% it turn to Warning with color orange and when Up show below 40% it turn to red and Down.

alt text

0 Karma
1 Solution

cmerriman
Super Champion

to mimic that data, just use index=indexName|top GroupStatusName and you'll get the GroupStatusName, count and percent. to color the table, you click on the little paintbrush by the column name and set the rules to look for. see the document below.
http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Viz/TableFormatsFormatting#Format_table_colum...

View solution in original post

0 Karma

cmerriman
Super Champion

to mimic that data, just use index=indexName|top GroupStatusName and you'll get the GroupStatusName, count and percent. to color the table, you click on the little paintbrush by the column name and set the rules to look for. see the document below.
http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Viz/TableFormatsFormatting#Format_table_colum...

0 Karma

hafizuddin
Path Finder

yeay I can make it...so how if I want just to mimic the percent only where the count table i hide

0 Karma

cmerriman
Super Champion

add |fields - count to the end of query.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...