title: splunk query for counting based on regex
body: <p>My sample log looks like below</p>
  
  <pre><code>fixed message: 443-343-234-event-put
  fixed message: wre-sdfsdf-234-event-keep-alive
  fixed message: dg34-343-234-event-auth_revoked
  fixed message: qqqq-sdf-234-event-put
  fixed message: wre-r323-234-event-keep-alive
  fixed message: we33-343-234-event-auth_revoked
  </code></pre>
  
  <p>log pattern is <code>"fixed message: {UUID}-{event-type}"</code></p>
  
  <p>I would like to capture how many total events; out of those how many are event-put, event-keep-alive and event-auth_revoked</p>
  
  <p>can I have splunk query to capture above needs ?</p>