forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Little changes content wise, but some style changes: * Use ###, ===, and --- headers to indicate hierarchy. This makes it easier to skim the config file. Idea stolen from elasticsearch.yml * Unindent filebeat prospectors and metricbeat modules by one level. This is still valid yaml, and fewer spaces make it harder to mess up the white spaces. * Reorganized a bit the logging config * Moved the "general" libbeat section before the outputs * Other fairly minor changes to the beats yaml files. This is a follow up of elastic#1544 and part of elastic#1417.
- Loading branch information
Tudor Golubenco
committed
May 12, 2016
1 parent
c49abfe
commit e8b04f0
Showing
11 changed files
with
881 additions
and
941 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,87 @@ | ||
metricbeat.modules: | ||
###################### Metricbeat Configuration Example ####################### | ||
|
||
# Apache Module | ||
- module: apache | ||
metricsets: ["status"] | ||
enabled: true | ||
period: 1s | ||
#========================== Modules configuration ============================ | ||
metricbeat.modules: | ||
|
||
# Apache hosts | ||
hosts: ["http://127.0.0.1/"] | ||
#----------------------------- Apache Module ---------------------------------- | ||
- module: apache | ||
metricsets: ["status"] | ||
enabled: true | ||
period: 1s | ||
|
||
# Path to server status. Default server-status | ||
#server_status_path: "server-status" | ||
# Apache hosts | ||
hosts: ["http://127.0.0.1/"] | ||
|
||
# Username of hosts. Empty by default | ||
#username: test | ||
# Path to server status. Default server-status | ||
#server_status_path: "server-status" | ||
|
||
# Password of hosts. Empty by default | ||
#password: test123 | ||
# Username of hosts. Empty by default | ||
#username: test | ||
|
||
# MySQL Module | ||
- module: mysql | ||
metricsets: ["status"] | ||
enabled: true | ||
period: 2s | ||
# Password of hosts. Empty by default | ||
#password: test123 | ||
|
||
# Host DSN should be defined as "tcp(127.0.0.1:3306)/" | ||
# The username and password can either be set in the DSN or for all hosts in username and password config option | ||
hosts: ["root@tcp(127.0.0.1:3306)/"] | ||
#------------------------------- Mysql Module --------------------------------- | ||
- module: mysql | ||
metricsets: ["status"] | ||
enabled: true | ||
period: 2s | ||
|
||
# Username of hosts. Empty by default | ||
#username: root | ||
# Host DSN should be defined as "tcp(127.0.0.1:3306)/" | ||
# The username and password can either be set in the DSN or for all hosts in username and password config option | ||
hosts: ["root@tcp(127.0.0.1:3306)/"] | ||
|
||
# Password of hosts. Empty by default | ||
#password: test | ||
# Username of hosts. Empty by default | ||
#username: root | ||
|
||
# Redis Module | ||
- module: redis | ||
metricsets: ["info"] | ||
enabled: true | ||
period: 1s | ||
# Password of hosts. Empty by default | ||
#password: test | ||
|
||
# Redis hosts | ||
hosts: ["127.0.0.1:6379"] | ||
#------------------------------- Redis Module --------------------------------- | ||
- module: redis | ||
metricsets: ["info"] | ||
enabled: true | ||
period: 1s | ||
|
||
# Enabled defines if the module is enabled. Default: true | ||
#enabled: true | ||
# Redis hosts | ||
hosts: ["127.0.0.1:6379"] | ||
|
||
# Timeout after which time a metricset should return an error | ||
# Timeout is by default defined as period, as a fetch of a metricset | ||
# should never take longer then period, as otherwise calls can pile up. | ||
#timeout: 1s | ||
# Enabled defines if the module is enabled. Default: true | ||
#enabled: true | ||
|
||
# Optional fields to be added to each event | ||
#fields: | ||
# datacenter: west | ||
# Timeout after which time a metricset should return an error | ||
# Timeout is by default defined as period, as a fetch of a metricset | ||
# should never take longer then period, as otherwise calls can pile up. | ||
#timeout: 1s | ||
|
||
# Network type to be used for redis connection. Default: tcp | ||
#network: tcp | ||
# Optional fields to be added to each event | ||
#fields: | ||
# datacenter: west | ||
|
||
# Max number of concurrent connections. Default: 10 | ||
#maxconn: 10 | ||
# Network type to be used for redis connection. Default: tcp | ||
#network: tcp | ||
|
||
# Filters can be used to reduce the number of fields sent. | ||
#filters: | ||
# - include_fields: | ||
# fields: ["stats"] | ||
# Max number of concurrent connections. Default: 10 | ||
#maxconn: 10 | ||
|
||
# Redis AUTH password. Empty by default. | ||
#password: foobared | ||
# Filters can be used to reduce the number of fields sent. | ||
#filters: | ||
# - include_fields: | ||
# fields: ["stats"] | ||
|
||
# System module | ||
- module: system | ||
metricsets: ["cpu", "cores", "filesystem", "fsstats", "memory", "process"] | ||
enabled: true | ||
period: 2s | ||
# Redis AUTH password. Empty by default. | ||
#password: foobared | ||
|
||
# Zookeeper module | ||
- module: zookeeper | ||
metricsets: ["mntr"] | ||
enabled: true | ||
period: 5s | ||
hosts: ["localhost:2181"] | ||
#------------------------------ System Module --------------------------------- | ||
- module: system | ||
metricsets: ["cpu", "cores", "filesystem", "fsstats", "memory", "process"] | ||
enabled: true | ||
period: 2s | ||
|
||
#---------------------------- Zookeeper Module -------------------------------- | ||
- module: zookeeper | ||
metricsets: ["mntr"] | ||
enabled: true | ||
period: 5s | ||
hosts: ["localhost:2181"] | ||
|
Oops, something went wrong.