yeago / nginx2stathat

Program to watch a nginx combined access.log and send every line to syslog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

Program to watch a nginx combined access.log and send every line to syslog


Languages

Language:Go 100.0%