-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support to configure xpack monitoring output
- Add support to configure `monitoring.elasticsearch`. If `monitoring.elasticsearch` is missing, configuration from `output.elasticsearch` will be used. If both are present, `monitoring.elasticsearch` re-uses missing options from `outputs.elasticsearch`. E.g. this way timeouts and user/password can be configured in `monitoring.elasticsearch`, while re-using `hosts` and other connection settings. - checks if xpack.monitoring.elasticsearch.hosts not configured if output.elasticsearch.hosts is configured - send and publisher loop disconnected from event publisher to publish metric snapshots collected via `libbeat/monitoring` - Introduce common.BeatInfo structure being initialized on startup with common beat meta-data to be used by outputs and monitoring reporter: - beat (e.g. filebeat, metricbeat, ...) - version - name (configure name, otherwise hostname) - hostname - uuid
- Loading branch information
urso
committed
Feb 16, 2017
1 parent
1b6af55
commit 57f87b6
Showing
22 changed files
with
1,021 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package common | ||
|
||
import "github.com/satori/go.uuid" | ||
|
||
// BeatInfo stores a beats instance meta data. | ||
type BeatInfo struct { | ||
Beat string // The actual beat its name | ||
Version string // The beat version. Defaults to the libbeat version when an implementation does not set a version | ||
Name string // configured beat name | ||
Hostname string // hostname | ||
UUID uuid.UUID // ID assigned to beat instance | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.