Skip to content

hgfischer/nginx2stathat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages