Skip to content

A log collector, which is written in bash, to send each log message via HTTP request whenever a target linux file changes

Notifications You must be signed in to change notification settings

dorocoder/filecurly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

filecurly

If you want a http request based sender of log messages (for plain texts not encoded texts) with only linux basic commands, this repository would help right. This shell scripts use linux commands: tail, sed, and curl. I hope this can work in more lightweight fashion in place of something lke filebeat, etc.

Getting started

  1. configure core parts
  • LOGCOLLECTOR_ENDPOINT="http://***" in filecurly_handler.sh
  1. set the target log file
  • change fc.log as you wish.
  1. Run
  • bash filecurly.sh

About

A log collector, which is written in bash, to send each log message via HTTP request whenever a target linux file changes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages