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

Count the numbers of occurrence for two value

$
0
0
I have the following query: sourcetype="placingOrder" Code=504 host="localhost*" | stats count by Path The output is: Path count /api/fetchReport/v2/report1 2 /api/fetchReport/v2/report2 8 /api/fetchReport/v2/report3 3 /api/fetchReport/v2/report4 10 /api/Order/v2/OrdrePlaced 9 /api/Order/v3/OrdreNotPlaced 1 I want the output should be Path Module count fetchReport report1 2 report2 8 report3 3 report4 10 Order OrdrePlaced 9 OrdreNotPlaced 1

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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