Splunk Search

Group By in search

zservati1
New Member

I have the following search :

index="efept" source=/var/log/efe/server.log host=efeprodapp13 FilingTypeId: AND Routing AND ApplicationId:

I like to get the count by applicationId/FilingTypeId pair, in other words I like to have the count for each applicationId and FilingTypeId.

Here is my sample data:

10:44:16.586 AM 2011-07-14 10:44:16,586 INFO [:ajp-0.0.0.0-8009-13] - Routing Message FROM TO <[queue/FILING-PROCESSOR], > Key=RoutingKey {FilingTypeId: DD-941-PAY AgencyId: IRS ApplicationId: QUICKB FilingPeriod: Y:2011 M:6 FilingState: null}

Tags (1)
0 Karma

pstamati
Path Finder

For example :
index="efept" source=/var/log/efe/server.log host=efeprodapp13 FilingTypeId: AND Routing AND ApplicationId: |Stats dc("some field you want so summarize) By ApplicationID

Regards

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...