Splunk Search

How to group by without aggregation?

BernardEAI
Communicator

Hi

I'm trying to group items by a specific field, and get all the values returned (i.e. without aggregation). I have the following:

BernardEAI_0-1646040431361.png

I'm trying to convert that to:

BernardEAI_1-1646040741075.png

I have tried 

 

 

| chart values(value) by field
| transpose header_field=field

 

 

However the values(value) only selects unique values - I'm looking for all values.

 

 

 

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Use list instead of values

| chart list(value) by field
| transpose header_field=field

However, this may not give quite what you want because you still have multi-value fields.

Assuming all fields are present for each set, you could try this

| streamstats count as row by field
| xyseries row field value
Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...