-
Notifications
You must be signed in to change notification settings - Fork 272
/
logster.1
65 lines (65 loc) · 2.01 KB
/
logster.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.TH LOGSTER "1" "November 2015" "logster 1.0.1"
.SH NAME
logster \- generate metrics from logfiles
.SH SYNOPSIS
.B logster
[\fIoptions\fR] \fIparser logfile\fR
.SH DESCRIPTION
Tail a log file and filter each line to generate metrics that can be sent to
common monitoring packages.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-\-logtail\fR=\fILOGTAIL\fR
Specify location of logtail. Default
\fI/usr/sbin/logtail2\fP
.TP
\fB\-p\fR METRIC_PREFIX, \fB\-\-metric\-prefix\fR=\fIMETRIC_PREFIX\fR
Add prefix to all published metrics. This is for
people that may multiple instances of same service on
same host.
.TP
\fB\-x\fR METRIC_SUFFIX, \fB\-\-metric\-suffix\fR=\fIMETRIC_SUFFIX\fR
Add suffix to all published metrics. This is for
people that may add suffix at the end of their
metrics.
.TP
\fB\-\-parser\-help\fR
Print usage and options for the selected parser
.TP
\fB\-\-parser\-options\fR=\fIPARSER_OPTIONS\fR
Options to pass to the logster parser such as "\-o
VALUE \fB\-\-option2\fR VALUE". These are parser\-specific and
passed directly to the parser.
.TP
\fB\-\-gmetric\-options\fR=\fIGMETRIC_OPTIONS\fR
Options to pass to gmetric such as "\-d 180 \fB\-c\fR
\fI/etc/ganglia/gmond\fP.conf" (default). These are passed
directly to gmetric.
.TP
\fB\-\-graphite\-host\fR=\fIGRAPHITE_HOST\fR
Hostname and port for Graphite collector, e.g.
graphite.example.com:2003
.TP
\fB\-s\fR STATE_DIR, \fB\-\-state\-dir\fR=\fISTATE_DIR\fR
Where to store the logtail state file. Default
location \fI/var/run\fP
.TP
\fB\-o\fR OUTPUT, \fB\-\-output\fR=\fIOUTPUT\fR
Where to send metrics (can specify multiple times).
Choices are 'graphite', 'ganglia', or 'stdout'.
.TP
\fB\-d\fR, \fB\-\-dry\-run\fR
Parse the log file but send stats to standard output.
.TP
\fB\-D\fR, \fB\-\-debug\fR
Provide more verbose logging for debugging.
.SH "SEE ALSO"
.BR logtail (1)
.SH AUTHOR
logster was written by Etsy, Inc.
.PP
This manual page was written by Andreas Rütten <[email protected]>,
for the Debian project (and may be used by others).