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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...