Documentation ¶
Overview ¶
Metricbeat collects metric sets from different modules.
Each event created has the following format:
curl -XPUT http://localhost:9200/metricbeat/metricsets -d { "metriset": metricsetName, "module": moduleName, "moduleName-metricSetName": { "metric1": "value", "metric2": "value", "metric3": "value", "nestedmetric": { "metric4": "value" } }, "@timestamp": timestamp }
All documents are currently stored in one index called metricbeat. It is important to use an independent namespace for each MetricSet to prevent type conflicts. Also all values are stored under the same type "metricsets".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Metricbeat MetricbeatConfig
}
type Metricbeat ¶
type Metricbeat struct {
// contains filtered or unexported fields
}
func (*Metricbeat) Stop ¶
func (mb *Metricbeat) Stop()
type MetricbeatConfig ¶
Click to show internal directories.
Click to hide internal directories.