package
6.8.16+incompatible
Repository: https://github.com/tencentblueking/beats.git
Documentation: pkg.go.dev
# Functions
FixTimestampField converts the given timestamp field in the given map from a float64 to an int, so that it is not serialized in scientific notation in the event.
IsFeatureAvailable returns whether a feature is available in the current product version.
MakeErrorForMissingField returns an error message for the given field being missing in an API response received from a given product.
MakeXPackMonitoringIndexName method returns the name of the monitoring index for a given product { elasticsearch, kibana, logstash, beats }.
ReportAndLogError reports and logs the given error.
ReportErrorForMissingField reports and returns an error message for the given field being missing in API response received from a given product.
# Constants
Beats product.
Elasticsearch product.
Kibana product.
Logstash product.
# Type aliases
Product supported by X-Pack Monitoring.