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!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...