Feedback
Got feedback? We want it! Submit your comments and suggestions for our community here.

show percentage

ELADMIN
Explorer

Hi, I would like to fix this alert to show the results in the value columm as a double digit percentage and have the percent sign after the number. for example  27%.  Thank you in advance for your help. 

MY SPL

index=perfmon object=Memory "% Committed Bytes In Use"
| where Value < 25
| table _time, host, Value, date
| dedup host

 

My Result. 

ELADMIN_0-1702390069307.png

 

0 Karma
1 Solution

dtburrows3
Builder

Performing this eval anytime after the where clause should do it.

index=perfmon object=Memory "% Committed Bytes In Use"
    | where Value < 25
    | table _time, host, Value, date
    | dedup host
    | eval Value=round(Value, 0)."%"



View solution in original post

dtburrows3
Builder

Performing this eval anytime after the where clause should do it.

index=perfmon object=Memory "% Committed Bytes In Use"
    | where Value < 25
    | table _time, host, Value, date
    | dedup host
    | eval Value=round(Value, 0)."%"



ELADMIN
Explorer

Yes, that works. thank you dtburrows3.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...