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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

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