Documentation ¶
Index ¶
Constants ¶
View Source
const ( TAG_PREFIX = "tag_" VALUE_PREFIX = "val_" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recorder ¶
type Recorder struct { Listen string `toml:"listen"` Regex string `toml:"regex"` Database string `toml:"database"` Measurement string `toml:"measurement"` Tags []util.Pair `toml:"tags"` // contains filtered or unexported fields }
func (*Recorder) GetMeasurement ¶
Returns the measurement to use.
func (*Recorder) IsValid ¶
Returns nil when the configuration is valid. Otherswise an error with a description is returned.
func (*Recorder) Run ¶
func (r *Recorder) Run()
Processes all incomming syslog messages and transforms them into influxdb points.
Click to show internal directories.
Click to hide internal directories.