I am trying to write a search that reports the percentage of total users impacted from log data.
// All users will have this line recorded
initializing user blah blah
// success user will have this line recorded
init succeeded
// fail users will have a few variations
init failed A
init failed B
How do I write a search that counts the occurrences of these strings and calculate a percentage from there? Also preferably, I would like to use the userid field to only count each user once.
The report would look something like
Total User | Success Rate | Failure Rates
53334 | 99% | 1%
I tried using the append command to combine the counting of each result, but it is too slow. I was hoping for a more streamline answer. Thank you very much
↧
How to write a search to calculate percentages for success and failure rates from my user log data?
↧