Splunk Search

Search for number of calls by particular callers

sankarms
Explorer

Whenever someone calls my rest service, the event gets logged into the logs like so:

callerId:1324

How do I create a panel on my dashboard that calculates the total number of calls made and breaks it down by number of times called by particular id's. So in plain english it would give the following information: "Your app was called 10 times today, 5 times by 1324, 3 times by 3948, and 2 times by 1902.

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Something like this?

search for your events | top 0 callerId | appendpipe [stats sum(*) as *] | sort 0 - count

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Something like this?

search for your events | top 0 callerId | appendpipe [stats sum(*) as *] | sort 0 - count

martin_mueller
SplunkTrust
SplunkTrust

Does the search callerId return the events you need?
Do the events already have the callerId field extracted?

You'll need a yes to both in order to get results.

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, ...