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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...