Python log generator for Graylog. Simulates app logs for testing, monitoring & security. š
327
A lightweight Python-based log generator designed to simulate real-world application logs and send them to Graylog. Ideal for testing log pipelines, Kubernetes monitoring setups, and security analysis.
ā
Generates realistic JSON logs similar to a Python microservice
ā
Simulates multiple messages
ā
Sends logs directly to Graylog
ā
Supports random log levels (INFO, ERROR, DEBUG, etc.)
ā
Includes timestamp, environment, and host for observability
ā
Runs efficiently in Kubernetes
š¹ Kubernetes logging testing ā Simulate application logs in Graylog stacks
š¹ Security monitoring validation ā Generate structured logs for SIEM tools
š¹ Incident response training ā Use fake logs to test forensic analysis
š¹ Performance testing ā Benchmark log ingestion at scale
1ļøā£ Pull the image from Docker Hub
docker pull razvan1/graylog-log-generator:latest
2ļøā£ Run the container (with default Graylog target)
docker run -e GRAYLOG_HOST="graylog-service" -e GRAYLOG_PORT="12201" -e USE_UDP="true" razvan1/graylog-log-generator:latest
3ļøā£ Deploy in Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: log-generator
spec:
replicas: 2
selector:
matchLabels:
app: log-generator
template:
metadata:
labels:
app: log-generator
spec:
containers:
- name: log-generator
image: razvan1/graylog-log-generator:latest
env:
- name: GRAYLOG_HOST
value: "graylog-service"
- name: GRAYLOG_PORT
value: "12201"
- name: USE_UDP
value: "true"
kubectl apply -f deployment.yaml
At OpenThreat, we specialize in security analytics, threat intelligence, and log monitoring solutions. This tool is part of our ongoing research into log management, threat detection, and SIEM optimization. If you're looking for advanced security monitoring, get in touch. š
š **More info: ** openthreat.roā
š§ **Contact us: ** [email protected]ā
Content type
Image
Digest
sha256:e0511dbf0ā¦
Size
47.7 MB
Last updated
over 1 year ago
docker pull razvan1/graylog-log-generator