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

Group results by rows and columns

$
0
0
I need some help grouping and transposing some data. The search below gives me the data but now I want to group it and transpose one of the fields with it's data. .... | stats count by Stage, Model,Region | table Region,Model,Stage,count | sort Region,Model,Stage **Region | Model | Stage | count** East | Blue | Phase1 | 5 East | Blue | Phase2 | 3 East | Red | Phase1 | 2 East | Red | Phase2 | 7 West | Blue | Phase1 | 6 West | Blue | Phase2 | 9 West | Red | Phase1 | 7 West | Red | Phase2 | 8 I want it to look like **Region | Model | Phase1 | Phase2** East | Blue | 5 | 3 ........| Red | 2 | 7 West | Blue | 6 |9 ........ | Red | 7 | 8 Sorry for my table formatting as I was sure how to do it nicely.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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