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 December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...