Skip to content
Novus Examples
log7.8 KB

Apache Access Log — Combined Format (log)

An Apache access log in the Combined Log Format — the Common fields plus referer and user-agent. A realistic web-server log for testing access-log parsers, analytics, and grok patterns.

Preview — first 46 lineslog
203.0.113.42 - - [15/Jan/2026:08:00:09 +0000] "GET /login HTTP/1.1" 201 42394 "https://example.com/search?q=widgets" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
198.51.100.5 - - [15/Jan/2026:08:00:25 +0000] "GET / HTTP/1.1" 301 37944 "-" "Googlebot/2.1 (+http://www.google.com/bot.html)"
198.51.100.77 - - [15/Jan/2026:08:01:00 +0000] "POST /login HTTP/1.1" 403 13835 "https://example.net/" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
203.0.113.201 - - [15/Jan/2026:08:01:30 +0000] "HEAD /api/products HTTP/1.1" 200 4127 "-" "python-requests/2.31.0"
192.0.2.10 - - [15/Jan/2026:08:01:43 +0000] "GET /api/products HTTP/1.1" 500 27382 "https://example.net/" "Googlebot/2.1 (+http://www.google.com/bot.html)"
192.0.2.55 - - [15/Jan/2026:08:02:15 +0000] "PUT /api/products/42 HTTP/1.1" 500 535 "https://example.com/search?q=widgets" "Googlebot/2.1 (+http://www.google.com/bot.html)"
192.0.2.55 - - [15/Jan/2026:08:02:29 +0000] "POST /api/products HTTP/1.1" 404 32102 "https://www.example.org/blog" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
203.0.113.88 - - [15/Jan/2026:08:03:04 +0000] "POST /search?q=widgets HTTP/1.1" 200 40122 "https://example.net/" "Googlebot/2.1 (+http://www.google.com/bot.html)"
203.0.113.130 - - [15/Jan/2026:08:03:40 +0000] "GET /api/products HTTP/1.1" 403 40730 "https://example.net/" "curl/8.4.0"
192.0.2.10 - - [15/Jan/2026:08:03:54 +0000] "GET /images/logo.png HTTP/1.1" 500 333 "https://www.example.org/blog" "python-requests/2.31.0"
198.51.100.77 - - [15/Jan/2026:08:04:32 +0000] "GET /favicon.ico HTTP/1.1" 403 41908 "-" "Googlebot/2.1 (+http://www.google.com/bot.html)"
192.0.2.10 - - [15/Jan/2026:08:04:36 +0000] "PUT /checkout HTTP/1.1" 403 44282 "https://example.net/" "python-requests/2.31.0"
192.0.2.55 - - [15/Jan/2026:08:04:41 +0000] "POST /checkout HTTP/1.1" 304 0 "https://example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
198.51.100.149 - - [15/Jan/2026:08:05:11 +0000] "DELETE /static/app.css HTTP/1.1" 200 4139 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
203.0.113.130 - - [15/Jan/2026:08:05:41 +0000] "DELETE /health HTTP/1.1" 304 0 "https://example.com/" "Googlebot/2.1 (+http://www.google.com/bot.html)"
198.51.100.23 - - [15/Jan/2026:08:06:00 +0000] "PUT /api/products HTTP/1.1" 301 11998 "https://www.example.org/blog" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0 Safari/537.36"
198.51.100.77 - - [15/Jan/2026:08:06:16 +0000] "DELETE /health HTTP/1.1" 301 17199 "https://example.net/" "curl/8.4.0"
192.0.2.55 - - [15/Jan/2026:08:06:31 +0000] "GET /static/app.js HTTP/1.1" 404 33878 "https://example.com/" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
203.0.113.7 - - [15/Jan/2026:08:06:54 +0000] "GET /robots.txt HTTP/1.1" 200 21962 "https://example.com/search?q=widgets" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
192.0.2.99 - - [15/Jan/2026:08:07:02 +0000] "GET /favicon.ico HTTP/1.1" 200 19074 "https://example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0 Safari/537.36"
192.0.2.55 - - [15/Jan/2026:08:07:33 +0000] "POST /static/app.js HTTP/1.1" 301 48393 "https://example.com/search?q=widgets" "curl/8.4.0"
192.0.2.99 - - [15/Jan/2026:08:08:02 +0000] "GET / HTTP/1.1" 500 9970 "https://example.com/search?q=widgets" "Googlebot/2.1 (+http://www.google.com/bot.html)"
198.51.100.23 - - [15/Jan/2026:08:08:29 +0000] "GET /static/app.css HTTP/1.1" 200 15340 "-" "Googlebot/2.1 (+http://www.google.com/bot.html)"
198.51.100.23 - - [15/Jan/2026:08:08:58 +0000] "GET /images/logo.png HTTP/1.1" 200 26611 "-" "Googlebot/2.1 (+http://www.google.com/bot.html)"
203.0.113.201 - - [15/Jan/2026:08:09:28 +0000] "HEAD /health HTTP/1.1" 200 46406 "https://www.example.org/blog" "python-requests/2.31.0"
198.51.100.149 - - [15/Jan/2026:08:09:47 +0000] "PUT /login HTTP/1.1" 200 49002 "https://example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
203.0.113.201 - - [15/Jan/2026:08:10:16 +0000] "POST /search?q=widgets HTTP/1.1" 403 33143 "https://example.net/" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
198.51.100.77 - - [15/Jan/2026:08:10:44 +0000] "DELETE /favicon.ico HTTP/1.1" 200 42421 "https://example.net/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
192.0.2.55 - - [15/Jan/2026:08:10:49 +0000] "GET /search?q=widgets HTTP/1.1" 301 44497 "https://example.com/search?q=widgets" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0 Safari/537.36"
203.0.113.130 - - [15/Jan/2026:08:11:10 +0000] "POST /search?q=widgets HTTP/1.1" 200 12299 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
192.0.2.99 - - [15/Jan/2026:08:11:12 +0000] "GET / HTTP/1.1" 500 2515 "https://www.example.org/blog" "python-requests/2.31.0"
198.51.100.23 - - [15/Jan/2026:08:11:43 +0000] "GET /login HTTP/1.1" 500 50981 "https://example.net/" "Googlebot/2.1 (+http://www.google.com/bot.html)"
198.51.100.77 - - [15/Jan/2026:08:12:20 +0000] "PUT /checkout HTTP/1.1" 301 2540 "https://example.com/" "curl/8.4.0"
198.51.100.149 - - [15/Jan/2026:08:12:58 +0000] "GET /index.html HTTP/1.1" 200 16886 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0 Safari/537.36"
203.0.113.201 - - [15/Jan/2026:08:13:26 +0000] "DELETE /robots.txt HTTP/1.1" 304 0 "-" "curl/8.4.0"
203.0.113.7 - - [15/Jan/2026:08:13:39 +0000] "HEAD /login HTTP/1.1" 200 49865 "https://example.net/" "python-requests/2.31.0"
192.0.2.55 - - [15/Jan/2026:08:14:01 +0000] "PUT /checkout HTTP/1.1" 403 29452 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
203.0.113.88 - - [15/Jan/2026:08:14:13 +0000] "GET /login HTTP/1.1" 500 3643 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
198.51.100.77 - - [15/Jan/2026:08:14:36 +0000] "GET /health HTTP/1.1" 200 51384 "https://www.example.org/blog" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
192.0.2.55 - - [15/Jan/2026:08:14:39 +0000] "DELETE /index.html HTTP/1.1" 404 4209 "https://www.example.org/blog" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
203.0.113.7 - - [15/Jan/2026:08:14:40 +0000] "DELETE /index.html HTTP/1.1" 304 0 "https://www.example.org/blog" "python-requests/2.31.0"
198.51.100.23 - - [15/Jan/2026:08:14:52 +0000] "GET /index.html HTTP/1.1" 500 50805 "https://example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0 Safari/537.36"
198.51.100.149 - - [15/Jan/2026:08:15:15 +0000] "GET /favicon.ico HTTP/1.1" 403 2210 "https://example.com/" "python-requests/2.31.0"
198.51.100.77 - - [15/Jan/2026:08:15:48 +0000] "GET /api/products/42 HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
192.0.2.55 - - [15/Jan/2026:08:16:09 +0000] "GET /static/app.js HTTP/1.1" 304 0 "https://example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0 Safari/537.36"

Specifications

Lines
45
Format
Combined Log Format
Server
Apache
Seed
502
Ips
reserved TEST-NET (documentation)

What is a .log file?

LOG files are plain-text records of events emitted by software, typically one entry per line with a timestamp, severity, and message. There is no single standard, so formats range from unstructured text to structured JSON lines. They are central to debugging, monitoring, and auditing.

How to use this file

Use an example LOG file to test log parsers, timestamp and severity extraction, line-oriented streaming, and ingestion into monitoring or analysis pipelines.

Generated by generation/data_logs.py. Free for any use, no attribution required — license.