A powerful and intelligent log processing tool written in Go
Find a file
Winni Neessen dd8d660571
Implemented ReloadConfig method in server
A new ReloadConfig function has been added to the Server in server.go which reloads server configurations and updates the Server's conf field as well as the configured Ruleset. Changes have also been made to the handling of the SIGHUP signal in main.go, using this new function to reload configurations and updating the logs accordingly.
2023-12-27 19:59:49 +01:00
.github Create docker-publish.yml 2023-12-27 18:28:01 +01:00
.idea Add SPDX license identifiers and update copyright year 2023-12-15 16:35:41 +01:00
cmd/server Implemented ReloadConfig method in server 2023-12-27 19:59:49 +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
support-files Add SPDX license headers to support-files 2023-12-27 18:29:36 +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
Dockerfile Add Dockerfile for project build 2023-12-27 18:25:55 +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 badges to README for Logranger project 2023-12-27 17:33:38 +01:00
rule.go Implement Actions interface and update rule handling in Server 2023-12-23 20:29:38 +01:00
server.go Implemented ReloadConfig method in server 2023-12-27 19:59:49 +01:00
sonar-project.properties Add SPDX license identifiers and update copyright year 2023-12-15 16:35:41 +01:00

Logranger

GoDoc Go Report Card #logranger on Discord REUSE status buy ma a coffee

Note: Logranger is still WIP

Introduction

Logranger is a powerful and intelligent log processing tool written in Go. Its main purpose is to efficiently process a large number of incoming syslog messages, enabling you filter for specific events and perform actions based on the received events.

Features

  • Efficient log processing: Logranger is based on the performand go-parsesyslog package and can handle and analyze large volumes of syslog messages without compromising on its speed or performance.
  • Powerful rule-based filtering: You can filter for log events based on a rules that specify regular expressions to match the events.
  • Customization: Logranger is easily customizable. Its easy to implement plugin interface allows you to write your own plugins to perform custom actions with your events.
  • Custom templates: Matched (or sub-matched) event log messages can be processed using Go's versatile templating language.

Plugins

By default Logranger ships with a varity of action plugins:

  • File action: Store the matched (or a sub-match) event log messages in a file. The file can be used in overwrite or append mode.

License

Logranger is released under the MIT License.

Support

If you encounter any problems while using Logranger, please create an issue in this repository. We appreciate any feedback or suggestions for improving Logranger.