Open
Conversation
Add a new Syslog provider that listens for syslog messages on a TCP port and processes them as Keep alerts. Features: - Listens on configurable TCP port (default: 514) - Supports RFC 3164 (BSD) and RFC 5424 syslog formats - Parses priority into facility and severity - Maps syslog severity to Keep alert severity levels - Graceful fallback for malformed messages - Consumer pattern with start_consume/stop_consume Closes keephq#1750
Contributor
Author
|
Hi @shahargl, gentle ping — CI is green and ready for review. Thanks! |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new Syslog TCP Provider that listens for syslog messages on a configurable TCP port and processes them as Keep alerts.
Closes #1750
Features
0.0.0.0:514)start_consume()/stop_consume()(same as Kafka provider)Usage
Configure the provider with host and port:
Then configure your syslog sources (e.g., vCenter, network devices) to forward to Keep on the configured port.
Alert Fields
Each syslog message is pushed as an alert with:
name:app-name - message[:50]message: full syslog messageseverity: mapped from syslog severitysyslog_facility,syslog_severity,syslog_hostname,syslog_app_name,syslog_pid,syslog_timestampSeverity Mapping