Docker: How to check http request per second made to an nginx test server

Published

I am trying to figure out how I can view the requests made per second from the access log for my Docker nginx container. I made multiple concurrent requests to the server, and running docker logs [container_id] omitted stacks of the following:

$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"

This is fine. I just can’t seem to find a way to determine the requests/second made to the server. Is there a way to calculate this or are there any commands that I need to run in order to access some kind of file?

Please advise. Not I don’t (or rather is not allowed) want to use ApacheBench, I would only like to determine the req/sec by only using the access log.

Thank you!

Source: Docker Questions

Published
Categorised as access-log, containers, docker, http, request Tagged , , , ,

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq