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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...