Splunk Search

How to expand the count field and show all the events as a search result?

jyab6z
Path Finder

There is my search result in the attached image.

What I want to do is to expand the count field and show all events as my search result. Simply the same function if clicking the count value and choose "View Events".

Is this possible?

alt text

0 Karma
1 Solution

DMohn
Motivator

If you want to have all raw events in your results table as well, you can simply include this in your stats command. Just add a list(_raw) as RawEvents to the already existing SPL, which powers the shown search. Just be aware, that this might enlarge your results table quite a bit 🙂

View solution in original post

0 Karma

DMohn
Motivator

If you want to have all raw events in your results table as well, you can simply include this in your stats command. Just add a list(_raw) as RawEvents to the already existing SPL, which powers the shown search. Just be aware, that this might enlarge your results table quite a bit 🙂

0 Karma

jyab6z
Path Finder

Hi @DMohn,

Thank you for your tips!
Solved my problem with appendcols command.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...