I have created a dashboard that shows a single number based on the vulnerabilities in a group of devices. I'm wondering if there is a way to use something like an if/else statement in Splunk based on that query that is returning the number, to show a letter grade for it.
So if there was a scheme like: 0-10 = A, 11-20 = B, 21-30 = C, 31-40 = D, >=41 = F, then the number could be pulled out of the original query and then the letter grade substituted based on the value.
Has anyone done something like this before that can help with this?
↧