https://github.com/zakharb/syslogen
Simple Syslog Generator
https://github.com/zakharb/syslogen
asyncio python3 syslog
Last synced: over 1 year ago
JSON representation
Simple Syslog Generator
- Host: GitHub
- URL: https://github.com/zakharb/syslogen
- Owner: zakharb
- License: gpl-3.0
- Created: 2022-03-23T21:43:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-15T03:31:04.000Z (about 2 years ago)
- Last Synced: 2025-04-13T03:14:43.447Z (over 1 year ago)
- Topics: asyncio, python3, syslog
- Language: Python
- Homepage: https://zakharb.github.io/
- Size: 2.2 MB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## :blue_square: Getting Started
[Syslogen](https://github.com/zakharb/syslogen) is the simple Syslog generator that creates messages from file and send them to external Syslog server.
### Requirements

Only Python3, no additional libraries are required.
### Installing
Install via `pip`
```
pip install syslogen
```
## :blue_square: 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
```
## :blue_square: Deployment
Edit Dockerfile and spicify server IP address
Build image
```
docker build --network host -t syslogen .
```
Run image
```
docker run syslogen
```
## :blue_square: Versioning
Using [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/zakharb/syslogen/tags).
## :blue_square: Authors
* **Zakhar Bengart** - *Initial work* - [Ze](https://github.com/zakharb)
See also the list of [contributors](https://github.com/zakharb/syslogen/contributors) who participated in this project.
## :blue_square: 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](LICENSE) file for details