Other Usage

How can I get stats based on unique Id?

batham
Explorer

Hi folks,
below are the log snippet that I am working on to generate a report

dare=10-05-2023,uniquieId=123 ,Request body: {"name":"test123","id": "Id123"}
dare=10-05-2023,uniquieId=234 ,Request body: {"name":"test234","id": "Id234"}
dare=10-05-2023,uniquieId=345 ,Request body: {"name":"test123","id": "Id345"}
dare=10-05-2023,uniquieId=123 ,Response body: {"role":"1"}
dare=10-05-2023,uniquieId=234 ,Response body: {"role":"2"}
dare=10-05-2023,uniquieId=345 ,Response body: {"role":"1"}
....
....
....
.....

I want daily stats on name and role, how do I combine the result based on uniquieId .
as below

date                    test123         test234
10-05-2023           2                     1

Labels (1)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Assuming you have already extracted the fields, try this

| chart count by dare name
0 Karma
Get Updates on the Splunk Community!

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...