From efc05207db4d7bef930f7ff09b10826ee04ed401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20P=C3=A9rez-Aradros=20Herce?= Date: Wed, 25 Apr 2018 18:43:16 +0200 Subject: [PATCH] Coment metricsets when they are the default --- metricbeat/docs/modules/golang.asciidoc | 6 +++--- metricbeat/docs/modules/jolokia.asciidoc | 4 ++-- metricbeat/metricbeat.reference.yml | 10 +++++----- metricbeat/module/aerospike/_meta/config.yml | 2 +- metricbeat/module/apache/_meta/config.yml | 2 +- metricbeat/module/ceph/_meta/config.yml | 18 +++++++++--------- metricbeat/module/couchbase/_meta/config.yml | 8 ++++---- metricbeat/module/docker/_meta/config.yml | 16 ++++++++-------- metricbeat/module/dropwizard/_meta/config.yml | 2 +- .../module/elasticsearch/_meta/config.yml | 6 +++--- metricbeat/module/etcd/_meta/config.yml | 8 ++++---- metricbeat/module/golang/_meta/config.yml | 6 +++--- metricbeat/module/graphite/_meta/config.yml | 2 +- metricbeat/module/haproxy/_meta/config.yml | 6 +++--- metricbeat/module/jolokia/_meta/config.yml | 4 ++-- metricbeat/module/kafka/_meta/config.yml | 6 +++--- metricbeat/module/kibana/_meta/config.yml | 2 +- metricbeat/module/kubernetes/_meta/config.yml | 12 ++++++------ metricbeat/module/kvm/_meta/config.yml | 2 +- metricbeat/module/logstash/_meta/config.yml | 6 +++--- metricbeat/module/memcached/_meta/config.yml | 2 +- metricbeat/module/mongodb/_meta/config.yml | 6 +++--- metricbeat/module/munin/_meta/config.yml | 2 +- metricbeat/module/mysql/_meta/config.yml | 2 +- metricbeat/module/nginx/_meta/config.yml | 2 +- metricbeat/module/php_fpm/_meta/config.yml | 2 +- metricbeat/module/postgresql/_meta/config.yml | 17 +++++++---------- metricbeat/module/prometheus/_meta/config.yml | 2 +- metricbeat/module/rabbitmq/_meta/config.yml | 8 ++++---- metricbeat/module/redis/_meta/config.yml | 6 +++--- metricbeat/module/uwsgi/_meta/config.yml | 2 +- metricbeat/module/vsphere/_meta/config.yml | 6 ++++-- metricbeat/module/windows/_meta/config.yml | 2 +- metricbeat/module/zookeeper/_meta/config.yml | 2 +- metricbeat/modules.d/aerospike.yml.disabled | 2 +- metricbeat/modules.d/apache.yml.disabled | 2 +- metricbeat/modules.d/ceph.yml.disabled | 18 +++++++++--------- metricbeat/modules.d/couchbase.yml.disabled | 8 ++++---- metricbeat/modules.d/docker.yml.disabled | 16 ++++++++-------- metricbeat/modules.d/dropwizard.yml.disabled | 2 +- .../modules.d/elasticsearch.yml.disabled | 6 +++--- metricbeat/modules.d/etcd.yml.disabled | 8 ++++---- metricbeat/modules.d/golang.yml.disabled | 6 +++--- metricbeat/modules.d/graphite.yml.disabled | 2 +- metricbeat/modules.d/haproxy.yml.disabled | 6 +++--- metricbeat/modules.d/jolokia.yml.disabled | 4 ++-- metricbeat/modules.d/kafka.yml.disabled | 6 +++--- metricbeat/modules.d/kibana.yml.disabled | 2 +- metricbeat/modules.d/kubernetes.yml.disabled | 12 ++++++------ metricbeat/modules.d/kvm.yml.disabled | 2 +- metricbeat/modules.d/logstash.yml.disabled | 6 +++--- metricbeat/modules.d/memcached.yml.disabled | 2 +- metricbeat/modules.d/mongodb.yml.disabled | 6 +++--- metricbeat/modules.d/munin.yml.disabled | 2 +- metricbeat/modules.d/mysql.yml.disabled | 2 +- metricbeat/modules.d/nginx.yml.disabled | 2 +- metricbeat/modules.d/php_fpm.yml.disabled | 2 +- metricbeat/modules.d/postgresql.yml.disabled | 17 +++++++---------- metricbeat/modules.d/prometheus.yml.disabled | 2 +- metricbeat/modules.d/rabbitmq.yml.disabled | 8 ++++---- metricbeat/modules.d/redis.yml.disabled | 6 +++--- metricbeat/modules.d/uwsgi.yml.disabled | 2 +- metricbeat/modules.d/vsphere.yml.disabled | 6 ++++-- metricbeat/modules.d/windows.yml.disabled | 2 +- metricbeat/modules.d/zookeeper.yml.disabled | 2 +- 65 files changed, 178 insertions(+), 180 deletions(-) diff --git a/metricbeat/docs/modules/golang.asciidoc b/metricbeat/docs/modules/golang.asciidoc index fcf2f5385dfd..de85469a3ddf 100644 --- a/metricbeat/docs/modules/golang.asciidoc +++ b/metricbeat/docs/modules/golang.asciidoc @@ -20,9 +20,9 @@ in <>. Here is an example configuration: ---- metricbeat.modules: - module: golang - metricsets: - - expvar - - heap +# metricsets: +# - expvar +# - heap period: 10s hosts: ["localhost:6060"] heap.path: "/debug/vars" diff --git a/metricbeat/docs/modules/jolokia.asciidoc b/metricbeat/docs/modules/jolokia.asciidoc index 87aef19ce7a8..556b95e19b64 100644 --- a/metricbeat/docs/modules/jolokia.asciidoc +++ b/metricbeat/docs/modules/jolokia.asciidoc @@ -19,11 +19,11 @@ in <>. Here is an example configuration: ---- metricbeat.modules: - module: jolokia - metricsets: ["jmx"] +# metricsets: ["jmx"] period: 10s hosts: ["localhost"] namespace: "metrics" - #path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" +# path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" jmx.mappings: # - mbean: 'java.lang:type=Runtime' # attributes: diff --git a/metricbeat/metricbeat.reference.yml b/metricbeat/metricbeat.reference.yml index 7ec9304a221a..98190309efa2 100644 --- a/metricbeat/metricbeat.reference.yml +++ b/metricbeat/metricbeat.reference.yml @@ -210,9 +210,9 @@ metricbeat.modules: #------------------------------- Golang Module ------------------------------- - module: golang - metricsets: - - expvar - - heap +# metricsets: +# - expvar +# - heap period: 10s hosts: ["localhost:6060"] heap.path: "/debug/vars" @@ -278,11 +278,11 @@ metricbeat.modules: #------------------------------- Jolokia Module ------------------------------ - module: jolokia - metricsets: ["jmx"] +# metricsets: ["jmx"] period: 10s hosts: ["localhost"] namespace: "metrics" - #path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" +# path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" jmx.mappings: # - mbean: 'java.lang:type=Runtime' # attributes: diff --git a/metricbeat/module/aerospike/_meta/config.yml b/metricbeat/module/aerospike/_meta/config.yml index 443cb556825d..8af991f6fedd 100644 --- a/metricbeat/module/aerospike/_meta/config.yml +++ b/metricbeat/module/aerospike/_meta/config.yml @@ -1,4 +1,4 @@ - module: aerospike - metricsets: ["namespace"] +# metricsets: ["namespace"] period: 10s hosts: ["localhost:3000"] diff --git a/metricbeat/module/apache/_meta/config.yml b/metricbeat/module/apache/_meta/config.yml index 9b5a0b9bda6c..e1f875e3ff1b 100644 --- a/metricbeat/module/apache/_meta/config.yml +++ b/metricbeat/module/apache/_meta/config.yml @@ -1,4 +1,4 @@ - module: apache - metricsets: ["status"] +# metricsets: ["status"] period: 10s hosts: ["http://127.0.0.1"] diff --git a/metricbeat/module/ceph/_meta/config.yml b/metricbeat/module/ceph/_meta/config.yml index 42838f6177ed..d0c10db2c7d8 100644 --- a/metricbeat/module/ceph/_meta/config.yml +++ b/metricbeat/module/ceph/_meta/config.yml @@ -1,16 +1,16 @@ - module: ceph - metricsets: - - cluster_health - - cluster_status - - monitor_health +# metricsets: +# - cluster_health +# - cluster_status +# - monitor_health period: 10s hosts: ["localhost:5000"] - module: ceph - metricsets: - - cluster_disk - - osd_tree - - osd_df - - pool_disk +# metricsets: +# - cluster_disk +# - osd_tree +# - osd_df +# - pool_disk period: 1m hosts: ["localhost:5000"] diff --git a/metricbeat/module/couchbase/_meta/config.yml b/metricbeat/module/couchbase/_meta/config.yml index 6d62238dfea4..3553da50e7f0 100644 --- a/metricbeat/module/couchbase/_meta/config.yml +++ b/metricbeat/module/couchbase/_meta/config.yml @@ -1,7 +1,7 @@ - module: couchbase - metricsets: - - bucket - - cluster - - node +# metricsets: +# - bucket +# - cluster +# - node period: 10s hosts: ["localhost:8091"] diff --git a/metricbeat/module/docker/_meta/config.yml b/metricbeat/module/docker/_meta/config.yml index 8b5950fc339d..3b74bf631384 100644 --- a/metricbeat/module/docker/_meta/config.yml +++ b/metricbeat/module/docker/_meta/config.yml @@ -1,12 +1,12 @@ - module: docker - metricsets: - - container - - cpu - - diskio - - healthcheck - - info - - memory - - network +# metricsets: +# - container +# - cpu +# - diskio +# - healthcheck +# - info +# - memory +# - network period: 10s hosts: ["unix:///var/run/docker.sock"] diff --git a/metricbeat/module/dropwizard/_meta/config.yml b/metricbeat/module/dropwizard/_meta/config.yml index 6dfa3755ca0b..48a44569a1cb 100644 --- a/metricbeat/module/dropwizard/_meta/config.yml +++ b/metricbeat/module/dropwizard/_meta/config.yml @@ -1,5 +1,5 @@ - module: dropwizard - metricsets: ["collector"] +# metricsets: ["collector"] period: 10s hosts: ["localhost:8080"] metrics_path: /metrics/metrics diff --git a/metricbeat/module/elasticsearch/_meta/config.yml b/metricbeat/module/elasticsearch/_meta/config.yml index 74450f0b6ab2..5c30bde5045c 100644 --- a/metricbeat/module/elasticsearch/_meta/config.yml +++ b/metricbeat/module/elasticsearch/_meta/config.yml @@ -1,6 +1,6 @@ - module: elasticsearch - metricsets: - - node - - node_stats +# metricsets: +# - node +# - node_stats period: 10s hosts: ["localhost:9200"] diff --git a/metricbeat/module/etcd/_meta/config.yml b/metricbeat/module/etcd/_meta/config.yml index 5f6eb5da8293..4ccb6c545541 100644 --- a/metricbeat/module/etcd/_meta/config.yml +++ b/metricbeat/module/etcd/_meta/config.yml @@ -1,7 +1,7 @@ - module: etcd - metricsets: - - leader - - self - - store +# metricsets: +# - leader +# - self +# - store period: 10s hosts: ["localhost:2379"] diff --git a/metricbeat/module/golang/_meta/config.yml b/metricbeat/module/golang/_meta/config.yml index d2750e803b40..5ebf9250e968 100644 --- a/metricbeat/module/golang/_meta/config.yml +++ b/metricbeat/module/golang/_meta/config.yml @@ -1,7 +1,7 @@ - module: golang - metricsets: - - expvar - - heap +# metricsets: +# - expvar +# - heap period: 10s hosts: ["localhost:6060"] heap.path: "/debug/vars" diff --git a/metricbeat/module/graphite/_meta/config.yml b/metricbeat/module/graphite/_meta/config.yml index ac9f2d8fe805..2407aba52f1a 100644 --- a/metricbeat/module/graphite/_meta/config.yml +++ b/metricbeat/module/graphite/_meta/config.yml @@ -1,5 +1,5 @@ - module: graphite - metricsets: ["server"] +# metricsets: ["server"] # protocol: "udp" # templates: # - filter: "test.*.bash.*" # This would match metrics like test.localhost.bash.stats diff --git a/metricbeat/module/haproxy/_meta/config.yml b/metricbeat/module/haproxy/_meta/config.yml index f787ade55a03..f858e8f35ba4 100644 --- a/metricbeat/module/haproxy/_meta/config.yml +++ b/metricbeat/module/haproxy/_meta/config.yml @@ -1,6 +1,6 @@ - module: haproxy - metricsets: - - info - - stat +# metricsets: +# - info +# - stat period: 10s hosts: ["tcp://127.0.0.1:14567"] diff --git a/metricbeat/module/jolokia/_meta/config.yml b/metricbeat/module/jolokia/_meta/config.yml index f7d1892f94e1..a74913a83738 100644 --- a/metricbeat/module/jolokia/_meta/config.yml +++ b/metricbeat/module/jolokia/_meta/config.yml @@ -1,9 +1,9 @@ - module: jolokia - metricsets: ["jmx"] +# metricsets: ["jmx"] period: 10s hosts: ["localhost"] namespace: "metrics" - #path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" +# path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" jmx.mappings: # - mbean: 'java.lang:type=Runtime' # attributes: diff --git a/metricbeat/module/kafka/_meta/config.yml b/metricbeat/module/kafka/_meta/config.yml index 8b0b8434b530..5c85f0e6896e 100644 --- a/metricbeat/module/kafka/_meta/config.yml +++ b/metricbeat/module/kafka/_meta/config.yml @@ -1,7 +1,7 @@ - module: kafka - metricsets: - - partition - - consumergroup +# metricsets: +# - partition +# - consumergroup period: 10s hosts: ["localhost:9092"] diff --git a/metricbeat/module/kibana/_meta/config.yml b/metricbeat/module/kibana/_meta/config.yml index 09a302956797..5b34b28a5b8f 100644 --- a/metricbeat/module/kibana/_meta/config.yml +++ b/metricbeat/module/kibana/_meta/config.yml @@ -1,4 +1,4 @@ - module: kibana - metricsets: ["status"] +# metricsets: ["status"] period: 10s hosts: ["localhost:5601"] diff --git a/metricbeat/module/kubernetes/_meta/config.yml b/metricbeat/module/kubernetes/_meta/config.yml index e92866923703..424a8de82154 100644 --- a/metricbeat/module/kubernetes/_meta/config.yml +++ b/metricbeat/module/kubernetes/_meta/config.yml @@ -1,11 +1,11 @@ # Node metrics, from kubelet: - module: kubernetes - metricsets: - - node - - system - - pod - - container - - volume +# metricsets: +# - node +# - system +# - pod +# - container +# - volume period: 10s hosts: ["localhost:10255"] #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] diff --git a/metricbeat/module/kvm/_meta/config.yml b/metricbeat/module/kvm/_meta/config.yml index a144d706fd87..589b1ad7b7a0 100644 --- a/metricbeat/module/kvm/_meta/config.yml +++ b/metricbeat/module/kvm/_meta/config.yml @@ -1,4 +1,4 @@ - module: kvm - metricsets: ["dommemstat"] +# metricsets: ["dommemstat"] period: 10s hosts: ["localhost"] diff --git a/metricbeat/module/logstash/_meta/config.yml b/metricbeat/module/logstash/_meta/config.yml index 3d1cb5fcd0fc..a645edbbbedf 100644 --- a/metricbeat/module/logstash/_meta/config.yml +++ b/metricbeat/module/logstash/_meta/config.yml @@ -1,6 +1,6 @@ - module: logstash - metricsets: - - node - - node_stats +# metricsets: +# - node +# - node_stats period: 10s hosts: ["localhost:9600"] diff --git a/metricbeat/module/memcached/_meta/config.yml b/metricbeat/module/memcached/_meta/config.yml index 1b230087fab0..3e6ae6071393 100644 --- a/metricbeat/module/memcached/_meta/config.yml +++ b/metricbeat/module/memcached/_meta/config.yml @@ -1,4 +1,4 @@ - module: memcached - metricsets: ["stats"] +# metricsets: ["stats"] period: 10s hosts: ["localhost:11211"] diff --git a/metricbeat/module/mongodb/_meta/config.yml b/metricbeat/module/mongodb/_meta/config.yml index e620efc796f3..b7855b86d7a5 100644 --- a/metricbeat/module/mongodb/_meta/config.yml +++ b/metricbeat/module/mongodb/_meta/config.yml @@ -1,7 +1,7 @@ - module: mongodb - metricsets: - - dbstats - - status +# metricsets: +# - dbstats +# - status period: 10s # The hosts must be passed as MongoDB URLs in the format: diff --git a/metricbeat/module/munin/_meta/config.yml b/metricbeat/module/munin/_meta/config.yml index 9e22e743a6db..90fde4b6c4bf 100644 --- a/metricbeat/module/munin/_meta/config.yml +++ b/metricbeat/module/munin/_meta/config.yml @@ -1,5 +1,5 @@ - module: munin - metricsets: ["node"] +# metricsets: ["node"] period: 10s hosts: ["localhost:4949"] node.namespace: node diff --git a/metricbeat/module/mysql/_meta/config.yml b/metricbeat/module/mysql/_meta/config.yml index afff5ff7201a..613c95612553 100644 --- a/metricbeat/module/mysql/_meta/config.yml +++ b/metricbeat/module/mysql/_meta/config.yml @@ -1,5 +1,5 @@ - module: mysql - metricsets: ["status"] +# metricsets: ["status"] period: 10s # Host DSN should be defined as "user:pass@tcp(127.0.0.1:3306)/" diff --git a/metricbeat/module/nginx/_meta/config.yml b/metricbeat/module/nginx/_meta/config.yml index e3737ed986e4..2b0019d1cb7b 100644 --- a/metricbeat/module/nginx/_meta/config.yml +++ b/metricbeat/module/nginx/_meta/config.yml @@ -1,5 +1,5 @@ - module: nginx - metricsets: ["stubstatus"] +# metricsets: ["stubstatus"] period: 10s # Nginx hosts diff --git a/metricbeat/module/php_fpm/_meta/config.yml b/metricbeat/module/php_fpm/_meta/config.yml index e10045508950..0cbe6fb032f3 100644 --- a/metricbeat/module/php_fpm/_meta/config.yml +++ b/metricbeat/module/php_fpm/_meta/config.yml @@ -1,5 +1,5 @@ - module: php_fpm - metricsets: ["pool"] +# metricsets: ["pool"] period: 10s hosts: ["localhost:8080"] status_path: "/status" diff --git a/metricbeat/module/postgresql/_meta/config.yml b/metricbeat/module/postgresql/_meta/config.yml index 383c66d9f4f8..e8d47bb5173c 100644 --- a/metricbeat/module/postgresql/_meta/config.yml +++ b/metricbeat/module/postgresql/_meta/config.yml @@ -1,14 +1,11 @@ - module: postgresql - metricsets: - # Stats about every PostgreSQL database - - database - - # Stats about the background writer process's activity - - bgwriter - - # Stats about every PostgreSQL process - - activity - +# metricsets: +# # Stats about every PostgreSQL database +# - database +# # Stats about the background writer process's activity +# - bgwriter +# # Stats about every PostgreSQL process +# - activity period: 10s # The host must be passed as PostgreSQL URL. Example: diff --git a/metricbeat/module/prometheus/_meta/config.yml b/metricbeat/module/prometheus/_meta/config.yml index 76bee3491954..d69fef1549ed 100644 --- a/metricbeat/module/prometheus/_meta/config.yml +++ b/metricbeat/module/prometheus/_meta/config.yml @@ -1,5 +1,5 @@ - module: prometheus - metricsets: ["stats"] +# metricsets: ["stats"] period: 10s hosts: ["localhost:9090"] metrics_path: /metrics diff --git a/metricbeat/module/rabbitmq/_meta/config.yml b/metricbeat/module/rabbitmq/_meta/config.yml index 694ea597dcc8..062c01ca7f36 100644 --- a/metricbeat/module/rabbitmq/_meta/config.yml +++ b/metricbeat/module/rabbitmq/_meta/config.yml @@ -1,8 +1,8 @@ - module: rabbitmq - metricsets: - - node - - queue - - connection +# metricsets: +# - node +# - queue +# - connection period: 10s hosts: ["localhost:15672"] diff --git a/metricbeat/module/redis/_meta/config.yml b/metricbeat/module/redis/_meta/config.yml index 243382d8edce..49ca38b5e579 100644 --- a/metricbeat/module/redis/_meta/config.yml +++ b/metricbeat/module/redis/_meta/config.yml @@ -1,7 +1,7 @@ - module: redis - metricsets: - - info - - keyspace +# metricsets: +# - info +# - keyspace period: 10s # Redis hosts diff --git a/metricbeat/module/uwsgi/_meta/config.yml b/metricbeat/module/uwsgi/_meta/config.yml index 46dbc35d4b85..1646dfb86052 100644 --- a/metricbeat/module/uwsgi/_meta/config.yml +++ b/metricbeat/module/uwsgi/_meta/config.yml @@ -1,4 +1,4 @@ - module: uwsgi - metricsets: ["status"] +# metricsets: ["status"] period: 10s hosts: ["tcp://127.0.0.1:9191"] diff --git a/metricbeat/module/vsphere/_meta/config.yml b/metricbeat/module/vsphere/_meta/config.yml index c53563791d0d..11c59fb4e142 100644 --- a/metricbeat/module/vsphere/_meta/config.yml +++ b/metricbeat/module/vsphere/_meta/config.yml @@ -1,5 +1,8 @@ - module: vsphere - metricsets: ["datastore", "host", "virtualmachine"] +# metricsets: +# - datastore +# - host +# - virtualmachine period: 10s hosts: ["https://localhost/sdk"] @@ -9,4 +12,3 @@ insecure: false # Get custom fields when using virtualmachine metric set. Default false. # get_custom_fields: false - diff --git a/metricbeat/module/windows/_meta/config.yml b/metricbeat/module/windows/_meta/config.yml index 9b3b65a38c9f..d1de803e8787 100644 --- a/metricbeat/module/windows/_meta/config.yml +++ b/metricbeat/module/windows/_meta/config.yml @@ -1,5 +1,5 @@ - module: windows - metricsets: ["service"] +# metricsets: ["service"] period: 1m #- module: windows diff --git a/metricbeat/module/zookeeper/_meta/config.yml b/metricbeat/module/zookeeper/_meta/config.yml index 63543cefdd71..e81204dfcdbd 100644 --- a/metricbeat/module/zookeeper/_meta/config.yml +++ b/metricbeat/module/zookeeper/_meta/config.yml @@ -1,4 +1,4 @@ - module: zookeeper - metricsets: ["mntr"] +# metricsets: ["mntr"] period: 10s hosts: ["localhost:2181"] diff --git a/metricbeat/modules.d/aerospike.yml.disabled b/metricbeat/modules.d/aerospike.yml.disabled index 5856d9b231fa..6ebf3c4a7828 100644 --- a/metricbeat/modules.d/aerospike.yml.disabled +++ b/metricbeat/modules.d/aerospike.yml.disabled @@ -2,6 +2,6 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-aerospike.html - module: aerospike - metricsets: ["namespace"] +# metricsets: ["namespace"] period: 10s hosts: ["localhost:3000"] diff --git a/metricbeat/modules.d/apache.yml.disabled b/metricbeat/modules.d/apache.yml.disabled index 3d0d5e3c8c88..7e9a59a475e2 100644 --- a/metricbeat/modules.d/apache.yml.disabled +++ b/metricbeat/modules.d/apache.yml.disabled @@ -2,6 +2,6 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-apache.html - module: apache - metricsets: ["status"] +# metricsets: ["status"] period: 10s hosts: ["http://127.0.0.1"] diff --git a/metricbeat/modules.d/ceph.yml.disabled b/metricbeat/modules.d/ceph.yml.disabled index c5fc19b6c8f3..79746edba8cb 100644 --- a/metricbeat/modules.d/ceph.yml.disabled +++ b/metricbeat/modules.d/ceph.yml.disabled @@ -2,18 +2,18 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-ceph.html - module: ceph - metricsets: - - cluster_health - - cluster_status - - monitor_health +# metricsets: +# - cluster_health +# - cluster_status +# - monitor_health period: 10s hosts: ["localhost:5000"] - module: ceph - metricsets: - - cluster_disk - - osd_tree - - osd_df - - pool_disk +# metricsets: +# - cluster_disk +# - osd_tree +# - osd_df +# - pool_disk period: 1m hosts: ["localhost:5000"] diff --git a/metricbeat/modules.d/couchbase.yml.disabled b/metricbeat/modules.d/couchbase.yml.disabled index 25e6cbf12f82..d04f855e2a24 100644 --- a/metricbeat/modules.d/couchbase.yml.disabled +++ b/metricbeat/modules.d/couchbase.yml.disabled @@ -2,9 +2,9 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-couchbase.html - module: couchbase - metricsets: - - bucket - - cluster - - node +# metricsets: +# - bucket +# - cluster +# - node period: 10s hosts: ["localhost:8091"] diff --git a/metricbeat/modules.d/docker.yml.disabled b/metricbeat/modules.d/docker.yml.disabled index 22301e5c27f3..f1f341ec9f67 100644 --- a/metricbeat/modules.d/docker.yml.disabled +++ b/metricbeat/modules.d/docker.yml.disabled @@ -2,14 +2,14 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-docker.html - module: docker - metricsets: - - container - - cpu - - diskio - - healthcheck - - info - - memory - - network +# metricsets: +# - container +# - cpu +# - diskio +# - healthcheck +# - info +# - memory +# - network period: 10s hosts: ["unix:///var/run/docker.sock"] diff --git a/metricbeat/modules.d/dropwizard.yml.disabled b/metricbeat/modules.d/dropwizard.yml.disabled index 8f4657b76120..7531c3cac665 100644 --- a/metricbeat/modules.d/dropwizard.yml.disabled +++ b/metricbeat/modules.d/dropwizard.yml.disabled @@ -2,7 +2,7 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-dropwizard.html - module: dropwizard - metricsets: ["collector"] +# metricsets: ["collector"] period: 10s hosts: ["localhost:8080"] metrics_path: /metrics/metrics diff --git a/metricbeat/modules.d/elasticsearch.yml.disabled b/metricbeat/modules.d/elasticsearch.yml.disabled index 9f4c484f910b..f9c371baf7da 100644 --- a/metricbeat/modules.d/elasticsearch.yml.disabled +++ b/metricbeat/modules.d/elasticsearch.yml.disabled @@ -2,8 +2,8 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-elasticsearch.html - module: elasticsearch - metricsets: - - node - - node_stats +# metricsets: +# - node +# - node_stats period: 10s hosts: ["localhost:9200"] diff --git a/metricbeat/modules.d/etcd.yml.disabled b/metricbeat/modules.d/etcd.yml.disabled index 81d605e82853..f3cdbc3c49b7 100644 --- a/metricbeat/modules.d/etcd.yml.disabled +++ b/metricbeat/modules.d/etcd.yml.disabled @@ -2,9 +2,9 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-etcd.html - module: etcd - metricsets: - - leader - - self - - store +# metricsets: +# - leader +# - self +# - store period: 10s hosts: ["localhost:2379"] diff --git a/metricbeat/modules.d/golang.yml.disabled b/metricbeat/modules.d/golang.yml.disabled index dc37952394be..c70b456b11ff 100644 --- a/metricbeat/modules.d/golang.yml.disabled +++ b/metricbeat/modules.d/golang.yml.disabled @@ -2,9 +2,9 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-golang.html - module: golang - metricsets: - - expvar - - heap +# metricsets: +# - expvar +# - heap period: 10s hosts: ["localhost:6060"] heap.path: "/debug/vars" diff --git a/metricbeat/modules.d/graphite.yml.disabled b/metricbeat/modules.d/graphite.yml.disabled index dc655431c8a3..e31fd1848a86 100644 --- a/metricbeat/modules.d/graphite.yml.disabled +++ b/metricbeat/modules.d/graphite.yml.disabled @@ -2,7 +2,7 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-graphite.html - module: graphite - metricsets: ["server"] +# metricsets: ["server"] # protocol: "udp" # templates: # - filter: "test.*.bash.*" # This would match metrics like test.localhost.bash.stats diff --git a/metricbeat/modules.d/haproxy.yml.disabled b/metricbeat/modules.d/haproxy.yml.disabled index e13e6b139a39..fe8efe1a8336 100644 --- a/metricbeat/modules.d/haproxy.yml.disabled +++ b/metricbeat/modules.d/haproxy.yml.disabled @@ -2,8 +2,8 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-haproxy.html - module: haproxy - metricsets: - - info - - stat +# metricsets: +# - info +# - stat period: 10s hosts: ["tcp://127.0.0.1:14567"] diff --git a/metricbeat/modules.d/jolokia.yml.disabled b/metricbeat/modules.d/jolokia.yml.disabled index 47c71c0427aa..1faa63e64ab9 100644 --- a/metricbeat/modules.d/jolokia.yml.disabled +++ b/metricbeat/modules.d/jolokia.yml.disabled @@ -2,11 +2,11 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-jolokia.html - module: jolokia - metricsets: ["jmx"] +# metricsets: ["jmx"] period: 10s hosts: ["localhost"] namespace: "metrics" - #path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" +# path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" jmx.mappings: # - mbean: 'java.lang:type=Runtime' # attributes: diff --git a/metricbeat/modules.d/kafka.yml.disabled b/metricbeat/modules.d/kafka.yml.disabled index e2dceaf2c23b..de1104b4eab8 100644 --- a/metricbeat/modules.d/kafka.yml.disabled +++ b/metricbeat/modules.d/kafka.yml.disabled @@ -2,9 +2,9 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-kafka.html - module: kafka - metricsets: - - partition - - consumergroup +# metricsets: +# - partition +# - consumergroup period: 10s hosts: ["localhost:9092"] diff --git a/metricbeat/modules.d/kibana.yml.disabled b/metricbeat/modules.d/kibana.yml.disabled index 6ca240bf7615..96104a38f659 100644 --- a/metricbeat/modules.d/kibana.yml.disabled +++ b/metricbeat/modules.d/kibana.yml.disabled @@ -2,6 +2,6 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-kibana.html - module: kibana - metricsets: ["status"] +# metricsets: ["status"] period: 10s hosts: ["localhost:5601"] diff --git a/metricbeat/modules.d/kubernetes.yml.disabled b/metricbeat/modules.d/kubernetes.yml.disabled index e3bba2ee775e..a981ed82eb9b 100644 --- a/metricbeat/modules.d/kubernetes.yml.disabled +++ b/metricbeat/modules.d/kubernetes.yml.disabled @@ -3,12 +3,12 @@ # Node metrics, from kubelet: - module: kubernetes - metricsets: - - node - - system - - pod - - container - - volume +# metricsets: +# - node +# - system +# - pod +# - container +# - volume period: 10s hosts: ["localhost:10255"] #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] diff --git a/metricbeat/modules.d/kvm.yml.disabled b/metricbeat/modules.d/kvm.yml.disabled index 919a1fa4ed97..357ae24c08e4 100644 --- a/metricbeat/modules.d/kvm.yml.disabled +++ b/metricbeat/modules.d/kvm.yml.disabled @@ -2,6 +2,6 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-kvm.html - module: kvm - metricsets: ["dommemstat"] +# metricsets: ["dommemstat"] period: 10s hosts: ["localhost"] diff --git a/metricbeat/modules.d/logstash.yml.disabled b/metricbeat/modules.d/logstash.yml.disabled index 00852d3ac77f..f95a75577c56 100644 --- a/metricbeat/modules.d/logstash.yml.disabled +++ b/metricbeat/modules.d/logstash.yml.disabled @@ -2,8 +2,8 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-logstash.html - module: logstash - metricsets: - - node - - node_stats +# metricsets: +# - node +# - node_stats period: 10s hosts: ["localhost:9600"] diff --git a/metricbeat/modules.d/memcached.yml.disabled b/metricbeat/modules.d/memcached.yml.disabled index 8c8bbb81820f..7037988cc354 100644 --- a/metricbeat/modules.d/memcached.yml.disabled +++ b/metricbeat/modules.d/memcached.yml.disabled @@ -2,6 +2,6 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-memcached.html - module: memcached - metricsets: ["stats"] +# metricsets: ["stats"] period: 10s hosts: ["localhost:11211"] diff --git a/metricbeat/modules.d/mongodb.yml.disabled b/metricbeat/modules.d/mongodb.yml.disabled index eb4d5f1cd197..4ffa806cb967 100644 --- a/metricbeat/modules.d/mongodb.yml.disabled +++ b/metricbeat/modules.d/mongodb.yml.disabled @@ -2,9 +2,9 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-mongodb.html - module: mongodb - metricsets: - - dbstats - - status +# metricsets: +# - dbstats +# - status period: 10s # The hosts must be passed as MongoDB URLs in the format: diff --git a/metricbeat/modules.d/munin.yml.disabled b/metricbeat/modules.d/munin.yml.disabled index 7ce01d7b1a1d..a7bcb034fb43 100644 --- a/metricbeat/modules.d/munin.yml.disabled +++ b/metricbeat/modules.d/munin.yml.disabled @@ -2,7 +2,7 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-munin.html - module: munin - metricsets: ["node"] +# metricsets: ["node"] period: 10s hosts: ["localhost:4949"] node.namespace: node diff --git a/metricbeat/modules.d/mysql.yml.disabled b/metricbeat/modules.d/mysql.yml.disabled index 43aac88e5358..fbb07e03a441 100644 --- a/metricbeat/modules.d/mysql.yml.disabled +++ b/metricbeat/modules.d/mysql.yml.disabled @@ -2,7 +2,7 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-mysql.html - module: mysql - metricsets: ["status"] +# metricsets: ["status"] period: 10s # Host DSN should be defined as "user:pass@tcp(127.0.0.1:3306)/" diff --git a/metricbeat/modules.d/nginx.yml.disabled b/metricbeat/modules.d/nginx.yml.disabled index 957fbbaa572a..d0bbde6a519a 100644 --- a/metricbeat/modules.d/nginx.yml.disabled +++ b/metricbeat/modules.d/nginx.yml.disabled @@ -2,7 +2,7 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-nginx.html - module: nginx - metricsets: ["stubstatus"] +# metricsets: ["stubstatus"] period: 10s # Nginx hosts diff --git a/metricbeat/modules.d/php_fpm.yml.disabled b/metricbeat/modules.d/php_fpm.yml.disabled index e57ea128839e..c25fcac1ee72 100644 --- a/metricbeat/modules.d/php_fpm.yml.disabled +++ b/metricbeat/modules.d/php_fpm.yml.disabled @@ -2,7 +2,7 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-php_fpm.html - module: php_fpm - metricsets: ["pool"] +# metricsets: ["pool"] period: 10s hosts: ["localhost:8080"] status_path: "/status" diff --git a/metricbeat/modules.d/postgresql.yml.disabled b/metricbeat/modules.d/postgresql.yml.disabled index 2c71ad0b7824..16154c043069 100644 --- a/metricbeat/modules.d/postgresql.yml.disabled +++ b/metricbeat/modules.d/postgresql.yml.disabled @@ -2,16 +2,13 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-postgresql.html - module: postgresql - metricsets: - # Stats about every PostgreSQL database - - database - - # Stats about the background writer process's activity - - bgwriter - - # Stats about every PostgreSQL process - - activity - +# metricsets: +# # Stats about every PostgreSQL database +# - database +# # Stats about the background writer process's activity +# - bgwriter +# # Stats about every PostgreSQL process +# - activity period: 10s # The host must be passed as PostgreSQL URL. Example: diff --git a/metricbeat/modules.d/prometheus.yml.disabled b/metricbeat/modules.d/prometheus.yml.disabled index 488434c5fbea..63a408d6a1af 100644 --- a/metricbeat/modules.d/prometheus.yml.disabled +++ b/metricbeat/modules.d/prometheus.yml.disabled @@ -2,7 +2,7 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-prometheus.html - module: prometheus - metricsets: ["stats"] +# metricsets: ["stats"] period: 10s hosts: ["localhost:9090"] metrics_path: /metrics diff --git a/metricbeat/modules.d/rabbitmq.yml.disabled b/metricbeat/modules.d/rabbitmq.yml.disabled index 6bcc6aeeb538..5702c04ab34b 100644 --- a/metricbeat/modules.d/rabbitmq.yml.disabled +++ b/metricbeat/modules.d/rabbitmq.yml.disabled @@ -2,10 +2,10 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-rabbitmq.html - module: rabbitmq - metricsets: - - node - - queue - - connection +# metricsets: +# - node +# - queue +# - connection period: 10s hosts: ["localhost:15672"] diff --git a/metricbeat/modules.d/redis.yml.disabled b/metricbeat/modules.d/redis.yml.disabled index 6a1a122b75c0..742dd6ad89ee 100644 --- a/metricbeat/modules.d/redis.yml.disabled +++ b/metricbeat/modules.d/redis.yml.disabled @@ -2,9 +2,9 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-redis.html - module: redis - metricsets: - - info - - keyspace +# metricsets: +# - info +# - keyspace period: 10s # Redis hosts diff --git a/metricbeat/modules.d/uwsgi.yml.disabled b/metricbeat/modules.d/uwsgi.yml.disabled index fc4e89d96241..109be6c83120 100644 --- a/metricbeat/modules.d/uwsgi.yml.disabled +++ b/metricbeat/modules.d/uwsgi.yml.disabled @@ -2,6 +2,6 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-uwsgi.html - module: uwsgi - metricsets: ["status"] +# metricsets: ["status"] period: 10s hosts: ["tcp://127.0.0.1:9191"] diff --git a/metricbeat/modules.d/vsphere.yml.disabled b/metricbeat/modules.d/vsphere.yml.disabled index 15c637892f12..95810121557b 100644 --- a/metricbeat/modules.d/vsphere.yml.disabled +++ b/metricbeat/modules.d/vsphere.yml.disabled @@ -2,7 +2,10 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-vsphere.html - module: vsphere - metricsets: ["datastore", "host", "virtualmachine"] +# metricsets: +# - datastore +# - host +# - virtualmachine period: 10s hosts: ["https://localhost/sdk"] @@ -12,4 +15,3 @@ insecure: false # Get custom fields when using virtualmachine metric set. Default false. # get_custom_fields: false - diff --git a/metricbeat/modules.d/windows.yml.disabled b/metricbeat/modules.d/windows.yml.disabled index 53c1dfc5f492..91339facd1fd 100644 --- a/metricbeat/modules.d/windows.yml.disabled +++ b/metricbeat/modules.d/windows.yml.disabled @@ -2,7 +2,7 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-windows.html - module: windows - metricsets: ["service"] +# metricsets: ["service"] period: 1m #- module: windows diff --git a/metricbeat/modules.d/zookeeper.yml.disabled b/metricbeat/modules.d/zookeeper.yml.disabled index 8af244f5d915..cfdde01039c0 100644 --- a/metricbeat/modules.d/zookeeper.yml.disabled +++ b/metricbeat/modules.d/zookeeper.yml.disabled @@ -2,6 +2,6 @@ # Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-zookeeper.html - module: zookeeper - metricsets: ["mntr"] +# metricsets: ["mntr"] period: 10s hosts: ["localhost:2181"]