Dashboards & Visualizations

How to get the column result into row wise for multivalue events?

VsplunkV
Explorer

Hi Everyone,

I have multivalues in the events, As per the Screenshot below, How can I get the DiskGB value in row Instead of Column. Expect output show in the Below Screenshot. Can someone please help me with the query.

Thank you in Advance.
alt text

0 Karma
1 Solution

somesoni2
Revered Legend

If you search is like this (last command being stats, aggregate function for Memory can be different)

your base search | ... other code...
| stats max(Memory) as Memory values(DiskGB) as DiskGB by Service

Then try like this

your base search | ... other code...
| stats max(Memory) as Memory values(DiskGB) as DiskGB by Service delim="," | nomv DiskGB

View solution in original post

somesoni2
Revered Legend

If you search is like this (last command being stats, aggregate function for Memory can be different)

your base search | ... other code...
| stats max(Memory) as Memory values(DiskGB) as DiskGB by Service

Then try like this

your base search | ... other code...
| stats max(Memory) as Memory values(DiskGB) as DiskGB by Service delim="," | nomv DiskGB
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...