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.
- configure core parts
LOGCOLLECTOR_ENDPOINT="http://***"
infilecurly_handler.sh
- set the target log file
- change
fc.log
as you wish.
- Run
bash filecurly.sh