Sample Log File Generator
Generate realistic Apache, Nginx, JSON, syslog or application logs with a controllable error rate.
A sample log generator produces realistic log files in Apache combined or common format, structured JSON, syslog RFC 3164, logfmt or an application log with levels. Set the line count, time span, distinct client IP pool and error rate, and the generated traffic mirrors the shape of a real access log.
Runs in your browser- Formats
- Apache combined and common, structured JSON, syslog RFC 3164, logfmt and levelled application logs
- Volume
- Up to 100,000 lines spanning anything from six minutes to a full year
- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Why control the number of distinct IPs?
Can I load this into Elasticsearch or Splunk?
How to use the sample log file generator
- 1Choose the log format.
- 2Set the lines.
- 3Set the error rate.
- 4Set the distinct client ips.
- 5Enter or paste your start time.
- 6Set the time span.
- 7Enter or paste your seed.
- 8The result appears immediately — copy or download it.
Embed this tool
Put the working sample log file generator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Log File ParserParse Apache, Nginx or JSON log lines into a sortable table with traffic summaries.htpasswd GeneratorCreate Apache and Nginx basic-auth credentials with bcrypt, SHA-1 or MD5-crypt.Redirect Rule GeneratorGenerate redirect rules for Apache, Nginx, Netlify, Vercel and Next.js.Edge Case Test String GeneratorGenerate the strings that break input handling — Unicode, RTL, emoji, injection patterns and boundary lengths.Fake Address GeneratorGenerate valid-format test addresses for six countries, with correct postcode and phone patterns.Lorem Ipsum GeneratorGenerate placeholder text in paragraphs, sentences, words or list items.
Last updated
More samples & mock data