惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
MyScale Blog
MyScale Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
爱范儿
爱范儿
P
Proofpoint News Feed
人人都是产品经理
人人都是产品经理
Last Week in AI
Last Week in AI
罗磊的独立博客
G
Google Developers Blog
Y
Y Combinator Blog
博客园 - 【当耐特】
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
J
Java Code Geeks
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
美团技术团队
宝玉的分享
宝玉的分享
Jina AI
Jina AI
小众软件
小众软件
T
Tailwind CSS Blog
A
About on SuperTechFans

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap
GitHub - expanso-io/log-simulators: Realistic log generat...
TheIronYuppi · 2026-06-14 · via Show HN

Realistic log generators for testing data pipelines at volume. Ten simulators covering the device types that matter for SIEM and observability pipelines — each one a single command that needs only uv.

uvx --from git+https://github.com/expanso-io/log-simulators logsim-web --rate 100

No clone, no install, no Docker. Pipe the output anywhere — a file, a TCP/UDP collector, or straight into an Expanso Edge pipeline.

The simulators

Tool Generates Demo scenario
logsim-web Apache/nginx access + error logs (NCSA combined/common/JSON), session-coherent visitors error-storm — recurring 5xx spikes
logsim-iot IoT sensor telemetry NDJSON: temperature, humidity, pressure, vibration, voltage with drift + diurnal cycles sensor-fault — spikes, stuck values, dropouts
logsim-syslog RFC 3164 and RFC 5424 syslog with realistic facility/severity mix auth-burst — failed-login floods
logsim-windows Windows Security Event XML (4624/4625/4688/4672) brute-force — 4625 password-spray bursts
logsim-asa Cisco ASA firewall syslog — paired build/teardown with consistent connection IDs, denies port-scan — deny storms from one source
logsim-cef CEF and LEEF security events (firewall/IPS style) malware-burst — high-severity event waves
logsim-app Structured JSON app logs with trace IDs and realistic embedded PII (for redaction demos) error-storm, pii-leak
logsim-cloud AWS CloudTrail JSON and VPC Flow Logs suspicious-login — off-region console logins
logsim-k8s Kubernetes CRI container logs — multi-pod node, klog + JSON apps, partial-line mechanics crash-loop — restarting pod
logsim-postgres PostgreSQL server logs incl. multiline ERROR/DETAIL/STATEMENT and slow queries deadlock — lock-contention windows

Every tool shares the same CLI contract:

--rate N            average events/sec (Poisson-paced, like real traffic)
--count N           stop after N events (0 = run forever)
--duration 5m       stop after a wall-clock duration
--backfill 24h      synthesize 24h of history at full speed, then exit
--follow            ...then keep streaming live
--start-time ISO    anchor the backfill window (deterministic with --seed)
--seed N            fully reproducible output
--diurnal           overnight trough, midday peak
--output DEST       '-' stdout (default) | file path | tcp://host:port | udp://host:port
--rotate-mb N       rotate + gzip file output
--scenario NAME     inject recurring anomaly windows (per-tool)

Quick start

# Stream Apache combined logs at 50/sec forever
uvx --from git+https://github.com/expanso-io/log-simulators logsim-web --rate 50

# 24 hours of historical IoT telemetry, then exit
uvx --from git+https://github.com/expanso-io/log-simulators logsim-iot --backfill 24h --output sensors.ndjson

# A brute-force attack inside normal Windows event noise, to a UDP collector
uvx --from git+https://github.com/expanso-io/log-simulators logsim-windows \
    --scenario brute-force --rate 20 --output udp://localhost:5514

# Reproducible test fixture: same command, byte-identical output
uvx --from git+https://github.com/expanso-io/log-simulators logsim-asa \
    --seed 42 --count 1000 --backfill 1h --start-time 2026-01-15T12:00:00+00:00

# Umbrella command works too
uvx --from git+https://github.com/expanso-io/log-simulators logsim k8s --rate 30

Single-file versions of the most-used tools live in standalone/ — each is a self-contained PEP 723 script:

uv run https://raw.githubusercontent.com/expanso-io/log-simulators/main/standalone/web_access_sim.py --rate 10

Why these formats

The May 2025 joint CISA/NSA/ACSC guidance, Priority logs for SIEM ingestion, names the sources practitioners should prioritize: OS logs, network devices, firewalls/IDS, and cloud audit trails — and explicitly recommends against shipping everything raw into the SIEM. This suite generates exactly those sources, so you can build and demo the filtering/routing layer in front of the SIEM with realistic volume, then prove zero-loss delivery (seeded, countable output) end to end.

What makes the output realistic rather than random:

  • Entity consistency — the same hosts, users, IPs, and devices recur coherently (a firewall's teardown matches its build; a session keeps its IP).
  • Skewed distributions — Zipf popularity for paths/IPs, long-tail response sizes, Poisson inter-arrival times.
  • Scenario injection — a baseline of boring traffic with deterministic, recurring anomaly windows you can catch in a pipeline.
  • Seeded determinism--seed + --start-time reproduce byte-identical streams for tests and fixtures.

Development

git clone https://github.com/expanso-io/log-simulators
cd log-simulators
uv sync            # installs everything incl. dev tools
uv run pytest      # full test suite
uv run ruff check . && uv run ruff format --check .
uv run logsim list # see all tools

The layout is a single distribution with one subpackage per simulator plus a shared core (src/log_simulators/core/) providing pacing, sinks, entity pools, and scenario scheduling. This keeps uvx --from git+... working verbatim — a multi-package workspace would not survive git installation (see uv issues #16328 / #10728).

Lineage

Aggregates and supersedes bacalhau-project/access-log-generator, bacalhau-project/sensor-log-generator, and several smaller internal generators. CLI ergonomics inspired by mingrammer/flog.

License

Apache-2.0