Senthilsweb
Search
Blog

Flog: A Powerful Fake Log Generator by @mingrammer πŸš€πŸ“Š

Looking for a simple way to generate fake log data for testing or simulating real-world scenarios?. Look no further than Flog by @mingrammer

Flog

Looking for a simple way to generate fake log data for testing or simulating real-world scenarios? Look no further than Flog by @mingrammer!

Flog supports multiple common log formats like Apache, JSON, and Common Log Format, making it versatile for various use cases. Whether you’re testing log management systems, benchmarking, or generating synthetic data, Flog has you covered.

Best of all, it’s available as a single Golang binary or can be run directly from Docker, giving you flexibility based on your setup. Personally, I like to use it inside a simple shell script to append logs to the local disk:

Log generator in a shell script

# flog.sh
while true; do docker run --rm mingrammer/flog -s 10s -n 20 -f json >> flog.log; sleep 10; done

Generate logs:

Explore Flog on GitHub: Flog - Fake Log Generator

sh flog.sh
TechnologySoftware DevelopmentWeb DesignDataObservabilityDataEngineeringdbtDuckDBDataLineageAnalyticsDataLakeBusinessMetadataManagementVue.jsNuxt.jsOpen SourceWeb DevelopmentLow Code Platform