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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...