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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...