How to Prove an Outage to Your Host With Logs and Timestamps

To prove hosting downtime to a provider, you need evidence that is external to the server, timestamped in a way the provider cannot dispute, and specific enough to match the terms of the service level agreement. A complaint that says "the site was down" gets dismissed; a file of probe results with UTC timestamps, HTTP status codes and TCP errors gets escalated, because it is harder to argue with than an opinion. This guide covers how to build that trail before you need it, and how to assemble it after an incident when you are trying to prove hosting downtime to the provider.

Why "the site was down" is not evidence

Support queues are full of reports that cannot be actioned. The provider's monitoring may show the node up, the load average normal and the web server answering on localhost. From the inside, your outage is invisible. Your job is to show the failure from the outside, at the network edge, with times and error codes attached.

Three things make a report defensible. It must be generated by something other than the failing server, so the provider cannot claim the monitoring was on the same box and therefore meaningless. It must record time in a single, unambiguous zone, and UTC is the only sensible choice because it removes daylight saving and travel from the argument. And it must capture the failure at more than one layer, because "connection refused" and "timeout" and "HTTP 503" point to different faults and different people inside the provider.

Build the baseline before the incident

You cannot retroactively prove what normal looked like. Set up a low-frequency probe now, from a machine you control outside the provider's network, ideally a small VPS or a machine in an office. The probe should record a timestamp, the DNS resolution result, the TCP connect time, the TLS handshake result, the HTTP status code and the total time. A short shell loop is enough to start.

while true; do
  ts=$(date -u +%Y-%m-%dT%H:%M:%SZ)
  out=$(curl -sS -o /dev/null -w '%{http_code} %{time_connect} %{time_total}' \
        --max-time 10 https://example.com/health 2>&1)
  printf '%s %s\n' "$ts" "$out" >> probe.log
  sleep 60
done

The -w format string is the important part. %{http_code} gives you the status, %{time_connect} tells you whether the TCP handshake completed, and %{time_total} catches slow responses that never fail outright. Run it under nohup or a process supervisor so it survives your session, and rotate the log so it does not fill the disk. A line that reads 2025-01-14T03:12:07Z 000 0.000 10.001 is a timeout with no connection, which is a very different claim from a 500.

For DNS and reachability you want a second, independent probe. dig against a public resolver records the answer and the response time, and mtr or traceroute run during an incident shows where packets stop. Keep the raw output; do not summarise it.

dig +noall +answer +stats example.com A @1.1.1.1 >> dns.log
mtr -rwzc 20 example.com >> mtr.log

Capture the server side without trusting it

External probes prove the symptom. Server logs prove the cause, and they carry the provider's own clock. Make sure the web server logs in UTC and includes the time zone offset in the timestamp format, so nobody can argue about which zone a line refers to. In nginx, the log_format directive takes variables including $time_iso8601, which emits an ISO 8601 timestamp with the offset attached.

log_format evidence '$time_iso8601 $remote_addr $request $status $request_time $upstream_response_time';
access_log /var/log/nginx/evidence.log evidence;

During an incident, note the first and last failing request and pull those lines out with awk or grep rather than shipping the whole log. If the failure is upstream, $upstream_response_time will show a dash or a long value, which tells the provider the problem is behind their reverse proxy and not in your application. If the box itself was unreachable, the access log will simply stop, and the gap between the last line and the recovery line is itself evidence, provided the timestamps are trustworthy.

Check that the system clock is synchronised with timedatectl or chronyc tracking. A provider who spots a drifting clock will use it to discredit your timeline, and they will be right to.

Preserve the evidence so it survives

Copy probe logs off the monitoring machine as they are written, or at least daily, to storage the provider does not control. Hash the collected files and record the hash, so you can show the bundle has not been edited since the incident. A simple sha256sum probe.log dns.log mtr.log > evidence.sha256 is enough. Keep the original files, not screenshots, and keep the command lines you used so the provider can reproduce your method.

When you open the ticket, lead with the timeline in UTC, the probe method, the exact error classes you saw, and the specific clause in the service level agreement you believe was breached. Attach the hashed bundle. Ask the provider to state which of their own monitoring systems should have detected the failure; if they cannot, that is a separate finding worth raising. Send the same evidence to the escalation address if the first response is a template.

Do all of this before you need it. A probe running quietly for months costs almost nothing and turns an argument into a record. If you already have an incident and no baseline, start the probe today and keep the server logs you still have, because the next outage will be the one you can prove.

Related articles

Subscribe to our newsletter

Get the latest hosting tips, performance insights, and industry news.