Skip to main content

Easy and simple Syslog generator

Project description

animated

Typing SVG

animated

Getting Started

Syslogen is the simple Syslog generator that creates messages from file and send them to external Syslog server.

Requirements

Python
Only Python3, no additional libraries are required.

Installing

Install via pip

pip install syslogen

Usage

All parameters send via arguments.

  • set syslog server where to send logs
  • change server port (optional) --port
  • set sending messages per second --count
  • set input file with logs examples --input

Examples

Start with 2 msg/sec and standart port

python3 -m syslogen 192.168.1.1 -i examples_messages.txt -c 2

Start with 4 msg/sec and port 5514

python3 -m syslogen 192.168.1.1 -p 5514 -i examples_messages.txt -c 4

Deployment

Edit Dockerfile and spicify server IP address

Build image

docker build --network host -t syslogen .

Run image

docker run syslogen

Versioning

Using SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Zakhar Bengart - Initial work - Ze

See also the list of contributors who participated in this project.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

syslogen-1.3.1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

syslogen-1.3.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file syslogen-1.3.1.tar.gz.

File metadata

  • Download URL: syslogen-1.3.1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for syslogen-1.3.1.tar.gz
Algorithm Hash digest
SHA256 2f3503b02e8ec3a4c979c45bb79380e96996720120829e80e4715ba3f56182c6
MD5 2cc7f5e012bed01c4c44dd447c27c7c7
BLAKE2b-256 039509a239824612fc45f58f2011fd2b5ec67befffb77b05c9f76d223d8ceb6e

See more details on using hashes here.

File details

Details for the file syslogen-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: syslogen-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for syslogen-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d3fd90a737f291e366d25c02de987ac257b9f05968cc7615b37e4d0d1c8156f
MD5 fcffd48345187bf37ae22c3327f6922b
BLAKE2b-256 90cc089d55908ed7a47a80f7f53740143f9b6c28b19ec8e0eed8b913a9af0d67

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page