flog is a fake log generator built in Go that produces realistic log entries in several common formats, including Apache common, Apache combined, Apache error, RFC3164, RFC5424, and JSON. It was created to help developers and operators test systems that consume log data, such as log pipelines, SIEMs, or streaming platforms like Amazon Kinesis. Users can control the output by specifying the log format, output file path, log type (stdout, plain log file, or gzip-compressed file), and either the number of lines or the total byte size of logs to generate. Additional options let you simulate timing behavior by configuring creation intervals and generation delays, as well as splitting output into multiple files based on line count or file size. The tool can run in a loop to continuously emit logs until terminated, making it suitable for soak testing or stress testing log ingestion services.

Features

  • Generates fake logs in multiple common formats including Apache and syslog variants
  • Supports several output types such as stdout, plain log files, and gzip archives
  • Flexible controls for log volume using either line counts or byte sizes
  • Timing simulation options with fixed intervals and adjustable delays for log creation
  • Ability to split logs into multiple files based on lines or size and optionally overwrite
  • Continuous generation mode for long-running tests of logging and streaming pipelines

Project Samples

Project Activity

See All Activity >

Categories

Log Management

License

MIT License

Follow Flog

Flog Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Flog!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Log Management Tool

Registered

2025-12-02