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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...