A powerful and intelligent log processing tool written in Go
Find a file
Winni Neessen a26c565119
Improve log message processing and action execution in server.go
Added a new function to process log messages and match them against the ruleset. This function will also handle action execution when a match is found. Additionally, added error handling and a layer of fault tolerance within the action configuration process. As a result, if an error arises while configuring an action, the error is logged and skipped, allowing for the rest of the actions to execute.
2023-12-25 21:30:44 +01:00
.github Add SPDX license identifiers and update copyright year 2023-12-15 16:35:41 +01:00
.idea Add SPDX license identifiers and update copyright year 2023-12-15 16:35:41 +01:00
cmd/server Implement Actions interface and update rule handling in Server 2023-12-23 20:29:38 +01:00
etc Relocate logranger.toml and update .gitignore 2023-12-21 20:17:10 +01:00
LICENSES Add SPDX license identifiers and update copyright year 2023-12-15 16:35:41 +01:00
plugins Refactor plugins.Action to separate configuration step 2023-12-25 21:08:03 +01:00
template Add SHA hashing and base64 encoding methods to template 2023-12-23 22:00:23 +01:00
.gitignore Add more pattern to .gitignore 2023-12-22 17:31:28 +01:00
.golangci.toml Add initial server implementation with config loading and listener setup 2023-12-14 12:09:01 +01:00
config.go Implement Ruleset configuration in logranger 2023-12-22 17:31:41 +01:00
connection.go Implement Actions interface and update rule handling in Server 2023-12-23 20:29:38 +01:00
error.go Correct typo in error.go comments 2023-12-22 16:08:02 +01:00
go.mod Update go-parsesyslog dependency and refine server connection handling 2023-12-22 15:24:58 +01:00
go.sum Update go-parsesyslog dependency and refine server connection handling 2023-12-22 15:24:58 +01:00
go.sum.license Add SPDX license details to go.sum.license 2023-12-15 17:41:15 +01:00
LICENSE Initial commit 2023-12-08 14:31:37 +01:00
listener.go Correct spelling errors in error messages 2023-12-22 15:31:44 +01:00
README.md Add SPDX license identifiers and update copyright year 2023-12-15 16:35:41 +01:00
rule.go Implement Actions interface and update rule handling in Server 2023-12-23 20:29:38 +01:00
server.go Improve log message processing and action execution in server.go 2023-12-25 21:30:44 +01:00
sonar-project.properties Add SPDX license identifiers and update copyright year 2023-12-15 16:35:41 +01:00

logranger

Perform actions on rule-based incoming syslog messages