sample-sls

command module
v0.0.0-...-99df684 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

README

sample-sls

Sample-sls (Sample simple log service) is a streaming log analysis project that applies the dataflow model. It adopts the front-end and back-end separation architecture of go+vue and supports distributed deployment.

Check Points

  • Swagger for RESTFul API
  • Generate Log IDs Using Snowflake Algorithm
  • Data Dashboard

Flow

LogStream -> converter -> metadata -> formater -> publisher

TestInput

printf "MESSAGE=hello world\nPRIORITY=6\n\n" | systemd-cat

Usage

tail -F /var/log/nginx/*.log       |\  # outputs log lines
  ssls -c ./config.yml             |\  # outputs Journal Export Format
  systemd-cat                          # send to local/remote journald

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cmd /*
Package cmd /*
pkg
uid

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL