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

Git clone project

git clone git@github.com:zakharb/syslogen.git

Install package via pip

python3 -m pip install dist/syslogen-*.whl

animated

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.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: syslogen-1.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e674836e584d226887c9c188c8764f7921776c520d9b2ca6013b3d5ced8481f7
MD5 26ad48d81072f1b5ec51cbc0e36251af
BLAKE2b-256 8f5ff3598651e60965b8fb9bfaffc2f6e36882faebc837374a63b8cdf1695f98

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: syslogen-1.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54d938af14f1222de583bd00eaa9e50b5948c44ffd7ef54436267712f4a14a7f
MD5 8ec62667e0274506eace990c02a5a30b
BLAKE2b-256 0037b8810b4bdc5d9b9c528c9bc0e0e01e71d7bdbc253b2ed7c74549760e718a

See more details on using hashes here.

Provenance

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