Skip to content

IUnlimit/sample-sls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sample simple log service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published