Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ship logs from files to a syslog server
Ruby
branch: master

This branch is 37 commits ahead, 2 commits behind jordansissel:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
features
lib
spec
test_certs
.travis.yml
Gemfile
Gemfile.lock
Guardfile
HISTORY
LICENSE
README
Rakefile
syslog-shipper.gemspec

README

Ship logs to a syslog server
----------------------------

[syslog-shipper (master *+$)]$ bin/syslog-shipper -h
      Usage: bin/syslog-shipper [options] -s HOST:PORT <path_or_glob> [path_or_glob2] [...]
      If a path begins with '+' each line is sent unmodified to the syslog server.
      Otherwise, this tool will prefix each line read from the file with a syslog
      header.
        
      For example: bin/syslog-shipper -s somehost:514 +/var/log/messages /var/log/apache2/access.syslog
  --check-interval, -i <i>:   How frequently, in seconds, to check the glob patternsfor new files (default: 5)
        --exclude, -x <s+>:   A pattern to ignore. Wildcard/globs accepted. Can be specified multiple times
          --server, -s <s>:   What syslog server to ship to (uses TCP)
             --verbose, -v:   Verbose mode
                --ping, -p:   Try to connect and quit immediately after
         --ca-cert, -c <s>:   Custom certificate used to verify TLS certificates (implies --tls)
     --skip-peer-check, -k:   When connecting with TLS, do not prompt the user to verify the peer (not recommended, implies --tls)
                 --tls, -t:   Connect via tls
     --config-file, -f <s>:   YAML config file (command line options override values in this file)
             --version, -e:   Print version and exit
                --help, -h:   Show this message
Something went wrong with that request. Please try again.