- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
onthakur
Explorer
01-28-2025
08:39 AM
Team,
I got stats output as below and I need to rearrange
stats current output :-
transaction_id source count
12345 ABC 1
12345 XYZ 1
Required Output :-
transaction_id ABC XYZ
12345 1 1
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

gcusello

SplunkTrust
01-28-2025
08:50 AM
Hi @onthakur ,
use chart command, instead stats:
<your_search>
| chart count OVER source BY transaction_id
Ciao.
Giuseppe
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

gcusello

SplunkTrust
01-28-2025
08:50 AM
Hi @onthakur ,
use chart command, instead stats:
<your_search>
| chart count OVER source BY transaction_id
Ciao.
Giuseppe
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
onthakur
Explorer
01-28-2025
09:43 AM
This resolution worked with minor changes . Many thanks for your help
| chart count OVER transaction_id BY source
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

gcusello

SplunkTrust
01-29-2025
12:02 AM
Hi @onthakur ,
good for you, see next time!
Ciao and happy splunking
Giuseppe
P.S.: Karma Points are appreciated 😉
