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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...