Dashboards & Visualizations

How to get Stats values by Month as a Column?

chrisboy68
Contributor

Hi,

I have a simple stats 

 

 

| stats values(Field1) sum(TB) by Field2 date_month 

 

 

This gives me one row for each month. 

Field1 10 Field2 Jan

Field1 15 Field2 Feb

I want to see it like below so each month is on the same row grouped by the fields. 

Field1 Field2 Jan 10 Feb 15

Tried transpose and some other suggestions. I just keep missing. 

Thanks,


Chris

Labels (1)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

I'm not sure what the relation between the source sample and the target sample is, to be honest. But it seems that you could try xyseries.

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust

I'm not sure what the relation between the source sample and the target sample is, to be honest. But it seems that you could try xyseries.

0 Karma

chrisboy68
Contributor

Yes. that was exactly what I was looking for.!

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...