Discover Packages
github.com/mathpl/beats
filebeat
harvester
package
Version:
v5.0.0-alpha5+incompat...
Opens a new window with list of versions in this module.
Published: Aug 3, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Directories Overview Index Constants Variables Functions Types MatchAnyRegexps(regexps, text) type Harvester type LogFile NewHarvester(cfg, state, prospectorChan, done) (h) Harvest() NewLogFile(fs, config, done) (r) Read(buf)
Documentation
¶
The harvester package harvest different inputs for new information. Currently
two harvester types exist:
The log harvester reads a file line by line. In case the end of a file is found
with an incomplete line, the line pointer stays at the beginning of the incomplete
line. As soon as the line is completed, it is read and returned.
The stdin harvesters reads data from stdin.
MatchAnyRegexps checks if the text matches any of the regular expressions
type Harvester struct {
}
Log harvester reads files line by line and sends events to the defined output
Source Files
¶
Directories
¶
Show internal
Collapse all
Package reader provides interface and struct to read messages and report them to a harvester
Package reader provides interface and struct to read messages and report them to a harvester
Click to show internal directories.
Click to hide internal directories.