Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to calculate percentage of data which has two different values between these two values

$
0
0
Here I have 3 fields "Status", merchantID & count. I am trying to find out the percentage of "CONFIRMED" and "REJECTED (these are values of "Status" for each merchantID. I mean calculation would be ((REJECTED-CONFIRMED)/CONFIRMED)*100, but this should be at a merchantID level. I am kind of new in splunk and stuck. I could only come up with the below ============== index=apps sourcetype="pos-generic:prod" Received request to change status CONFIRMED OR REJECTED partner_account_name="Level Up" | stats count by status, merchantId ============================================

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>