https://github.com/andybowskill/syslog_client
A simple command line tool to check the syslog server is running by sending syslog messages to it.
https://github.com/andybowskill/syslog_client
go syslog syslog-client
Last synced: 9 months ago
JSON representation
A simple command line tool to check the syslog server is running by sending syslog messages to it.
- Host: GitHub
- URL: https://github.com/andybowskill/syslog_client
- Owner: AndyBowskill
- License: mit
- Created: 2022-10-04T11:18:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T10:53:22.000Z (over 3 years ago)
- Last Synced: 2024-12-06T19:40:45.143Z (over 1 year ago)
- Topics: go, syslog, syslog-client
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Syslog Client
[](https://github.com/andybowskill/syslog_client/actions/workflows/go.yml)
[](https://goreportcard.com/report/github.com/andybowskill/syslog_client)
A simple command line tool to check the syslog server is running by sending syslog messages to it.
Acceptable command line flags are:
| Flag | Description |
|:-----|:---------------------------------------------------------|
| -p | Syslog server protocol, udp or tcp. Defaults to "udp". |
| -a | Syslog server IPv4 address. Defaults to "". |
| -s | Syslog message severity. Defaults to 5, (Notice). |
| -m | Syslog message. Defaults to "Testing, testing, 1, 2, 3". |
### Install
```
$ go install github.com/AndyBowskill/syslog_client@latest
```
### Example
```
$ syslog_client -a 192.168.48.10 -m "Syslog message from Fedora" -s 4
```
```
$ syslog_client -p tcp -s 3 -a 192.168.48.10 -m "Syslog message from Ubuntu"
```