Categorygithub.com/itzmanish/go-loganalyzer
modulepackage
0.1.0
Repository: https://github.com/itzmanish/go-loganalyzer.git
Documentation: pkg.go.dev

# README

Log Analyzer

Go Reference Go codecov Go Report Card

Features

  • Logger
  • Config
  • Client
  • Server
  • Retry manager
  • Store queue

ToDos

  • HTTP/GRPC endpoint for getting logs from other service
  • Filter wrapper for filtering logs
  • HTTP API for querying logs from server
  • Filter and Search on server side

Installation

go get -u github.com/itzmanish/go-loganalyzer

Make sure $GOPATH/bin directory is in your path

Usages

$ go-loganalyzer --config .loganalyzer_example.json

Using config file:
loganalyzer is a log analyzer tool which provides a server and agent.
Server command is used to start a server. Whereas agent command is used to start
an agent so that logs can be sent from host machine to server and stored in File system or S3.

Usage:
  loganalyzer [flags]
  loganalyzer [command]

Available Commands:
  agent       Log analyzer agent for collecting logs and sending to server.
  help        Help about any command
  server      Log analyzer server to collect logs from agent and process it.

Flags:
      --config string   config file (default is $HOME/.config/.loganalyzer.yaml)
  -h, --help            help for loganalyzer
  -v, --version         version for loganalyzer

Use "loganalyzer [command] --help" for more information about a command.

Architecture

LogAnalyzer LogAnalyzer-agent-v0

Contributions

Note This is just a practice exercise and not production ready.

If anyone wants to make this project real or have some good features/roadmap in mind. Feel free to raise a issue. Every contributions to this project is ❤️ welcome.

License

This project is licence under Apache Licence 2.0

# Packages

Copyright © 2021 Manish <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
No description provided by the author
No description provided by the author
No description provided by the author