Skip to content

zakharb/SysloGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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