Splunk Search

Output of inner query is returned in a single line

kavyadekkata
Explorer

Hi Friends,

Apologies for my ignorance, but I have a problem formatting the output of the result from a sub-query.

index=* "[92929292]"
| stats values(CALLGUID) as CALLGUID by _time
_ | dedup CALLGUID| mvexpand CALLGUID
| join CALLGUID [ search index=* CALLGUID=*
| rex "D](:|\s-)(?[^,|.]+)" | stats count by CALLGUID error
| stats list(error) list(count) as count by CALLGUID]
| fields _time,CALLGUID,errors,count
_

I’m working on the above query and I get the results as attached as actualoutput.png and desired_output.png

Could anyone please suggest how to make it work 😞

alt text
alt text

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...