package
6.0.0-beta1+incompatible
Repository: https://github.com/jshi-git/beats.git
Documentation: pkg.go.dev
# Packages
Package atomic provides common primitive types with atomic accessors.
No description provided by the author
No description provided by the author
Package dtfmt provides time formatter support with pattern syntax mostly similar to joda DateTimeFormat.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package schema contains helper utilities to parse, convert, rename, and reorganize data
from the format returned by the various monitored systems to the data model used by
Metricbeat.
Package streambuf provides helpers for buffering multiple packet payloads and some general parsing functions.
# Functions
AddTags appends a tag to the tags field of ms.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConvertToGenericEvent normalizes the types contained in the given MapStr.
DumpInCSVFormat takes a set of fields and rows and returns a string representing the CSV representation for the fields and rows.
No description provided by the author
Ipv4_Ntoa transforms an IP4 address in it's dotted notation.
IsLoopback check if a particular IP notation corresponds to a loopback interface.
IsStrictPerms returns true if strict permission checking on config files is enabled.
No description provided by the author
No description provided by the author
LocalIPAddrs finds the IP addresses of the hosts on which the shipper currently runs on.
LocalIPAddrsAsStrings finds the IP addresses of the hosts on which the shipper currently runs on and returns them as an array of strings.
No description provided by the author
MakeURL creates the url based on the url configuration.
MapStrUnion creates a new MapStr containing the union of the key-value pairs of the two maps.
No description provided by the author
MergeFields merges the top-level keys and values in each source map (it does not perform a deep merge).
MustParseTime is a convenience equivalent of the ParseTime function that panics in case of errors.
No description provided by the author
NewCache creates and returns a new Cache.
NewCacheWithRemovalListener creates and returns a new Cache and register a RemovalListener callback function.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewVersion expects a string in the format: major.minor.bugfix(-meta).
ParseTime parses a time in the TsLayout format.
ReadString extracts the first null terminated string from a slice of bytes.
No description provided by the author
# Constants
standardized status values.
standardized status values.
Event metadata constants.
Event metadata constants.
No description provided by the author
No description provided by the author
standardized status values.
standardized status values.
Event metadata constants.
TsLayout is the layout to be used in the timestamp marshaling/unmarshaling everywhere.
# Variables
ErrKeyNotFound indicates that the specified key was not found.
# Structs
A Backoff waits on errors with exponential backoff (limited by maximum backoff).
BeatInfo stores a beats instance meta data.
Cache is a semi-persistent mapping of keys to values.
Source and destination process names, as found by the proc module.
ConfigNamespace storing at most one configuration section by name and sub-section.
Endpoint represents an endpoint in the communication.
EventMetadata contains fields and tags that can be added to an event via configuration.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Config object to store hierarchical configurations into.
No description provided by the author
No description provided by the author
No description provided by the author
MapStr is a map[string]interface{} wrapper with utility methods for common map operations like converting to JSON.
NetString store the byte length of the data that follows, making it easier to unambiguously pass text and byte data between programs that could be sensitive to values that could be interpreted as delimiters or terminators (such as a null character).
RemovalListener is the callback function type that can be registered with the cache to receive notification of the removal of expired elements.
No description provided by the author
Time is an abstraction for the time.Time type.