Program to watch a nginx combined access.log and send every line to syslog
Go
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
loghit
.gitignore
History.md
README.md
nginx2stathat.go

README.md

nginx2stathat

Program to watch a nginx combined access.log and send HTTP stats to StatHat

Installation

Usage

To see the command line options of nginx2stathat, just run it without parameters (or with -h):

$ nginx2stathat -h

Currently these are the options:

Usage: ./nginx2stathat [flags] [EZ Key] [access.log]
Flags:
  -parsers=4: Number of parallel routines parsing log lines and queueing them to the posters
  -posters=4: Number of parallel routines sending results to StatHat
  -prefix="": Stat prefix. Ex.: "`hostname -s` live site"