Skip to content

claydotio/scribe-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scribe

Scribe runs logstash-forwarder which forwards logs to a logstash server.

For setup instructions, see clay/journalist-public

Basic info

  • You need ssl certs in ./certs
  • Edit run.sh to point to your log files
Build
docker build -t scribe .
Run
docker run \
    --restart always \
    -v /var/log/app:/var/log/app \
    -e LOGSTASH_SERVER=1.2.3.4:5043 \
    --name scribe \
    -d \
    -t scribe

Logrotate

You may also want to run logrotate on your server. After editing logrotate.conf:

  • apt-get install logrotate

  • copy logrotate config

    • src=./logrotate.conf dest=/etc/logrotate.conf
  • copy logrotate cron

    • src=.s/logrotate.sh dest=/etc/cron.daily/logrotate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages