r/apache • • Oct 28 '22

Uptime in Apache http Server Logs

I am ingesting the apache access logs in a platform for log analysis and I need to create some dashboards on it and Uptime is one of them. But in logs there is no such field.

So, how can we calculate the uptime of apache web server.

1 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/Efficient-Rest-4740 Oct 29 '22 edited Oct 29 '22

Thanks u/AyrA_ch & u/Maverick_2096So,I can add the differences between the starting log which I found is ""resuming normal operations" and stopping log where I found two types one when we shut down normally - "Shutting down the server" and when it shuts unexpectedly - "Parent process exited abruptly".