Splunk Search

How to get hits/sec in splunk over a time period

dantu1985
New Member

Hi GUys,

We have splunk for all the API servers that we use. Now if I want to understand how many hits/sec we are getting for any of the ODATA APIs exposed public, any idea how do we generate this statistics for every day in a period?

I tried to use a basic stats :

host=wsoap odata | stats count by host

but the problem is I am not sure how to get hits/sec of odata over a day (over a week on a per day basis etc).

Any help?

Thank you
Harsha

0 Karma
1 Solution

acharlieh
Influencer

Is this the question / answer you're looking for? http://answers.splunk.com/answers/10147/how-to-show-events-per-second-in-timechart-regardless-of-spa...

So something like:

 host=wsoap odata | timechart per_second(_cd) as "Hits per second"

View solution in original post

acharlieh
Influencer

Is this the question / answer you're looking for? http://answers.splunk.com/answers/10147/how-to-show-events-per-second-in-timechart-regardless-of-spa...

So something like:

 host=wsoap odata | timechart per_second(_cd) as "Hits per second"

dantu
Explorer

BINGO !! Thank you 🙂

Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...