Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
Package base defines data types of log processing and interfaces of log processing steps, for example LogRecord struct and LogTransform interface
|
Package base defines data types of log processing and interfaces of log processing steps, for example LogRecord struct and LogTransform interface |
bconfig
Package bconfig provides configuration interfaces for log processing units and factory mechanism
|
Package bconfig provides configuration interfaces for log processing units and factory mechanism |
bmatch
Package bmatch provides log matchers used for filtering and transforms
|
Package bmatch provides log matchers used for filtering and transforms |
bsupport
Package bsupport provides helpers for log processing and abstract types for implementations,
|
Package bsupport provides helpers for log processing and abstract types for implementations, |
btest
Package btest provides test utilities and stubs of interfaces inside the base package
|
Package btest provides test utilities and stubs of interfaces inside the base package |
Package buffer registers the list of all ChunkBufferer implementations
|
Package buffer registers the list of all ChunkBufferer implementations |
hybridbuffer
Package hybridbuffer provides an ChunkBufferer implementation which keeps N numbers of unsent chunks in memory and starts saving to and loading from the queue directory when the limit is reached.
|
Package hybridbuffer provides an ChunkBufferer implementation which keeps N numbers of unsent chunks in memory and starts saving to and loading from the queue directory when the limit is reached. |
Package cmd provides list of commands including self-benchmarks and tools
|
Package cmd provides list of commands including self-benchmarks and tools |
Package defs provides shared constants and parameters
|
Package defs provides shared constants and parameters |
Package input registers the list of all LogInput implementations
|
Package input registers the list of all LogInput implementations |
sysloginput
Package sysloginput provides an input source for Syslog (RFC 5424) protocol via TCP
|
Package sysloginput provides an input source for Syslog (RFC 5424) protocol via TCP |
syslogparser
Package syslogparser provides a LogParser for Syslog protocol (RFC 5424).
|
Package syslogparser provides a LogParser for Syslog protocol (RFC 5424). |
syslogprotocol
Package syslogprotocol provides shared functions and constants of the syslog RFC 5424 protocol
|
Package syslogprotocol provides shared functions and constants of the syslog RFC 5424 protocol |
tcplistener
Package tcplistener provides TCP listener(s)
|
Package tcplistener provides TCP listener(s) |
Package orchestrate registers the list of all Orchestrator implementations
|
Package orchestrate registers the list of all Orchestrator implementations |
obase
Package obase provides common classes for orchestration
|
Package obase provides common classes for orchestration |
obykeyset
Package obykeyset provides ByKeySetOrchestrator, which creates pipelines for each of unique key-field set and distribute input logs among them
|
Package obykeyset provides ByKeySetOrchestrator, which creates pipelines for each of unique key-field set and distribute input logs among them |
osingleton
Package osingleton provides SingletonOrchestrator, for test and benchmark only
|
Package osingleton provides SingletonOrchestrator, for test and benchmark only |
Package output registers the list of all output implementations
|
Package output registers the list of all output implementations |
baseoutput
Package baseoutput provides common framework for output implementations.
|
Package baseoutput provides common framework for output implementations. |
fastmsgpack
Package fastmsgpack offers a subset of msgpack serialization operated on fixed length []byte with no heap allocation, no IO abstraction and all calls are inlined.
|
Package fastmsgpack offers a subset of msgpack serialization operated on fixed length []byte with no heap allocation, no IO abstraction and all calls are inlined. |
fluentdforward
Package fluentdforward provides output implementations for fluentd "Forward" protocol, split into:
|
Package fluentdforward provides output implementations for fluentd "Forward" protocol, split into: |
Package rewrite registers the list of all LogRewriter implementations
|
Package rewrite registers the list of all LogRewriter implementations |
rcopy
Package rcopy provides 'copy' rewriter, which copies the original field value unmodified
|
Package rcopy provides 'copy' rewriter, which copies the original field value unmodified |
rinline
Package rinline provides 'inline' rewriter, which inlines exactly one other field into the current field value if exists
|
Package rinline provides 'inline' rewriter, which inlines exactly one other field into the current field value if exists |
runescape
Package runescape provides 'unescape' rewriter, which handles custom escape bytes like those in JSON strings.
|
Package runescape provides 'unescape' rewriter, which handles custom escape bytes like those in JSON strings. |
Package run runs the actual log agent
|
Package run runs the actual log agent |
Package test provides integration testing for the whole log agent
|
Package test provides integration testing for the whole log agent |
Package transform registers the list of all LogTransform implementations
|
Package transform registers the list of all LogTransform implementations |
taddfields
Package taddfields provides 'addFields' transform, which adds fields of fixed value or string template (with '$') to every log records, for example "message: task=$task class=$class $message" or "task_last_digit: ${task[-1:]}"
|
Package taddfields provides 'addFields' transform, which adds fields of fixed value or string template (with '$') to every log records, for example "message: task=$task class=$class $message" or "task_last_digit: ${task[-1:]}" |
tblock
Package tblock provides 'block' transform, which groups child transform steps
|
Package tblock provides 'block' transform, which groups child transform steps |
tdelfields
Package tdelfields provides 'delFields' transform which removes (empties) fields from log records
|
Package tdelfields provides 'delFields' transform which removes (empties) fields from log records |
tdrop
Package tdrop provides 'drop' transform, which drops all log records matching specific criteria
|
Package tdrop provides 'drop' transform, which drops all log records matching specific criteria |
textract
Package textract provides 'extract' transform, which parses specified field with regular expression and updates fields with named captures (overriding any existing value).
|
Package textract provides 'extract' transform, which parses specified field with regular expression and updates fields with named captures (overriding any existing value). |
textractspecial
Package textractspecial provides 'extractHead' and 'extractTail' transforms, using prefix+wildcard+postfix for fast field extraction of simple cases, e.g.
|
Package textractspecial provides 'extractHead' and 'extractTail' transforms, using prefix+wildcard+postfix for fast field extraction of simple cases, e.g. |
tif
Package tif provides 'if' transform, performing optional steps if the given conditions are satisfied
|
Package tif provides 'if' transform, performing optional steps if the given conditions are satisfied |
tmapvalue
Package tmapvalue provides 'mapValue' transform, providing one-to-one mapping on a field value.
|
Package tmapvalue provides 'mapValue' transform, providing one-to-one mapping on a field value. |
tparsetime
Package tparsetime provides 'parseTime' transform to parses timestamp from a given field.
|
Package tparsetime provides 'parseTime' transform to parses timestamp from a given field. |
tredactemail
Package tredactemail provides 'redactEmail' transform to mask email addresses
|
Package tredactemail provides 'redactEmail' transform to mask email addresses |
treplace
Package treplace provides 'replace' transform to performs replacements by regular expression on specified field.
|
Package treplace provides 'replace' transform to performs replacements by regular expression on specified field. |
tswitch
Package tswitch provides 'switch' transform which acts like C switch without fallthrough.
|
Package tswitch provides 'switch' transform which acts like C switch without fallthrough. |
ttruncate
Package ttruncate provides 'truncate' transform to truncate field values exceeding certain limit
|
Package ttruncate provides 'truncate' transform to truncate field values exceeding certain limit |
tunescape
Package tunescape provides 'unescape' transform, which handles custom escape bytes like those in JSON strings.
|
Package tunescape provides 'unescape' transform, which handles custom escape bytes like those in JSON strings. |
Package util provides utility functions and types
|
Package util provides utility functions and types |
localcachedmap
Package localcachedmap provides a map with thread-local caches (copy-on-reference)
|
Package localcachedmap provides a map with thread-local caches (copy-on-reference) |
stringtemplate
Package stringtemplate provides string expansion by pre-compiled templates, for example:
|
Package stringtemplate provides string expansion by pre-compiled templates, for example: |
stringunescape
Package stringunescape provides Unescaper(s) for escaped strings
|
Package stringunescape provides Unescaper(s) for escaped strings |
Click to show internal directories.
Click to hide internal directories.