# mingrammer/flog

:tophat: A fake log generator for common log formats

Repository: https://github.com/mingrammer/flog
Canonical: https://ross.abutalabs.com/products/flog
Language: Go
License: MIT
License Family: permissive
Topics: faker, log, generator, apache, syslog
Last push: 2025-06-05T11:56:52+00:00

## Health v2 (maintenance only)
Score: 34/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 25, release rhythm 8, longevity 100
- inputs: {"age_days": 3247, "days_push": 454, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1330, forks 144 (observed 2026-08-28T04:04:24.049747+00:00)

## What it is
Flog is a Go CLI tool that generates fake log data in common formats such as Apache common/combined/error, RFC3164/RFC5424 syslog, and JSON. It supports output to stdout, files, or gzip archives with options for line counts, byte sizes, timestamps, splitting, and looping.

## Use cases
- generate fake apache access logs for testing
- create sample syslog data for log pipeline testing
- generate log streams to test amazon kinesis
- produce large fake log files for load testing log parsers
- simulate continuous log output for monitoring demos
- generate json logs for testing log ingestion

## When to choose
- you need realistic-looking log data in standard formats for testing
- you want a lightweight CLI or docker image to stream or generate logs on demand
- you need control over log volume, timing, splitting, and output format

## When to avoid
- you need logs matching your application's custom format
- you need real production log data or anonymization of existing logs
- you need a library API rather than a command-line tool

## Facets
- artifact type: cli-tool
- maturity: active
- function: data-generation, logging, cli, developer-tools
- domain: developer-tools, testing
- platform: windows, cli, go
- tags: fake-log-generator, log-testing, apache-logs, syslog, test-data, kinesis-testing, logging, command-line, linux, macos, docker

## Member repositories
- mingrammer/flog (main) score 34

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:24.049747+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:45:32.302607+00:00, confidence not recorded.
  - readme: https://github.com/mingrammer/flog (fetched 2026-08-28T04:04:24.049747+00:00, sha 8cff3ca0ccf7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
