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!

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