No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
logrotate.conf
logrotate.sh
run.sh

README.md

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