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!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...