Scribe

Scribe 运行 logstash-forwarder,将日志转发到 logstash 服务器。「Scribe runs logstash-forwarder which forwards logs to a logstash server.

  • Owner: claydotio/scribe-public
  • Platform: Docker, Linux
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Overview

Name With Ownerclaydotio/scribe-public
Primary LanguageShell
Program languageShell (Language Count: 1)
PlatformDocker, Linux
License:
Release Count0
Created At2014-11-01 21:48:51
Pushed At2014-11-01 22:19:45
Last Commit At2014-11-01 15:19:43
Stargazers Count10
Watchers Count4
Fork Count3
Commits Count3
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top