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 September, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...