Splunk Search

Calculate total and percentage of Incidents?

priya1926
Path Finder

Hi friends,

 

I am trying to get total resolved incidents, open incident and total incidents each day. I am getting the information from same source and Index. How do I assign resolved, open and total to separate variable and get the count of each and percentage too?

Please suggest

Thanks in Advance

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| bin _time span=1d
| stats count as total count(eval(state=="OPEN")) as open count (eval(state=="RESOLVED")) as resolved by _time
0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...