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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...