Server logs: value in court
The value of logs in court under Italian law: electronic document and mechanical reproduction, integrity shown by the hash, completeness, provenance, times, acquisition from providers through a certified copy, challenges by the other party, the Capital One case.
| Issue | How it is handled |
|---|---|
| Nature | An electronic document, assessed by the court for security, integrity and immutability; in civil proceedings it is full proof unless the other party disputes that it matches the facts (art. 2712 of the Civil Code) |
| Integrity | Hash computed at the time of copying and kept with the report, under the rules introduced by Law 48/2008 |
| Completeness | Whole files, including rotated ones, and an explanation of any gaps |
| Provenance | Who manages the system, who extracted the logs, with which credentials and when |
| Times | Declared time zone, verified clock synchronisation, documented conversion to UTC |
| Providers | For data held by a service provider the authorities can order a certified, unalterable copy (art. 254-bis of the Code of Criminal Procedure); since 18 August 2026 the European Production Order is also available |
| Challenges | If the other party disputes the log, the court weighs it with the other evidence: hash, witnesses, logs from independent sources |
Server logs: a worked case
A worked case: a professional firm’s website is defaced overnight; the server log shows only the CDN, the CDN logs the real address, rotated files the reconnaissance of the previous days and the clock a two-minute drift.
The pages of this topic
Back to the overviewServer logs: how they work
How logs work: where web server, login, mail, application, cloud and network logs are kept, what a web server log line contains, why rotation deletes them and how CDNs and proxies change the recorded address.
Server logs: step-by-step procedure
How logs are acquired and analysed: list the sources, ask for preservation at once, copy the originals including rotated files, compute the hash, record time zone and clock, convert to UTC, correlate, check completeness, write the report.
Server logs: tools
Tools for logs: grep, awk and zgrep, Python and pandas, jq for JSON logs, platforms such as Elastic, OpenSearch and Splunk, Plaso for timelines, cloud audit logs, sha256sum, with an example run on a test log.
Server logs: mistakes to avoid
The most common mistakes with logs: waiting, copying only part, opening the originals, trusting the time, forgetting the CDN, confusing address and person, relying on screenshots, ignoring gaps.
Server logs: checklist
The checklist for logs: preservation, acquisition, analysis and reporting.
Server logs: frequently asked questions
Short answers to the most common questions about server logs as evidence.