/etc/metricbeat/metricbeat.reference.yml
Jump to navigation
Jump to search
cat /etc/metricbeat/metricbeat.reference.yml | grep -v "#" | grep .
metricbeat.config.modules: path: ${path.config}/modules.d/*.yml reload.period: 10s reload.enabled: false metricbeat.max_start_delay: 10s metricbeat.modules: - module: system metricsets: enabled: true period: 10s processes: ['.*'] - module: activemq metricsets: ['broker', 'queue', 'topic'] period: 10s hosts: ['localhost:8161'] path: '/api/jolokia/?ignoreErrors=true&canonicalNaming=false' - module: aerospike metricsets: ["namespace"] enabled: true period: 10s hosts: ["localhost:3000"] - module: airflow host: "localhost" port: "8126" metricsets: [ 'statsd' ] - module: apache metricsets: ["status"] period: 10s enabled: true hosts: ["http://127.0.0.1"] - module: aws period: 300s credential_profile_name: test-mb metricsets: - ec2 tags_filter: - key: "Organization" value: "Engineering" - module: aws period: 300s credential_profile_name: test-mb metricsets: - sqs regions: - us-west-1 - module: aws period: 86400s metricsets: - s3_request - s3_daily_storage access_key_id: '${AWS_ACCESS_KEY_ID:""}' secret_access_key: '${AWS_SECRET_ACCESS_KEY:""}' session_token: '${AWS_SESSION_TOKEN:""}' - module: aws period: 300s credential_profile_name: test-mb metricsets: - cloudwatch metrics: - namespace: AWS/EC2 name: ["CPUUtilization"] dimensions: - name: InstanceId value: i-0686946e22cf9494a - namespace: AWS/EBS - namespace: AWS/ELB resource_type: elasticloadbalancing tags: - key: "Organization" value: "Engineering" - module: aws period: 60s credential_profile_name: test-mb tags_filter: - key: "dept" value: "eng" metricsets: - elb - natgateway - rds - transitgateway - usage - vpn - module: awsfargate period: 10s metricsets: - task_stats - module: azure metricsets: - monitor enabled: true period: 300s client_id: '${AZURE_CLIENT_ID:""}' client_secret: '${AZURE_CLIENT_SECRET:""}' tenant_id: '${AZURE_TENANT_ID:""}' subscription_id: '${AZURE_SUBSCRIPTION_ID:""}' resources: - resource_query: "resourceType eq 'Microsoft.DocumentDb/databaseAccounts'" metrics: - name: ["DataUsage", "DocumentCount", "DocumentQuota"] namespace: "Microsoft.DocumentDb/databaseAccounts" - module: azure metricsets: - compute_vm enabled: true period: 300s client_id: '${AZURE_CLIENT_ID:""}' client_secret: '${AZURE_CLIENT_SECRET:""}' tenant_id: '${AZURE_TENANT_ID:""}' subscription_id: '${AZURE_SUBSCRIPTION_ID:""}'
- module: azure metricsets: - compute_vm_scaleset enabled: true period: 300s client_id: '${AZURE_CLIENT_ID:""}' client_secret: '${AZURE_CLIENT_SECRET:""}' tenant_id: '${AZURE_TENANT_ID:""}' subscription_id: '${AZURE_SUBSCRIPTION_ID:""}' - module: azure metricsets: - storage enabled: true period: 300s client_id: '${AZURE_CLIENT_ID:""}' client_secret: '${AZURE_CLIENT_SECRET:""}' tenant_id: '${AZURE_TENANT_ID:""}' subscription_id: '${AZURE_SUBSCRIPTION_ID:""}' - module: azure metricsets: - container_instance enabled: true period: 300s client_id: '${AZURE_CLIENT_ID:""}' client_secret: '${AZURE_CLIENT_SECRET:""}' tenant_id: '${AZURE_TENANT_ID:""}' subscription_id: '${AZURE_SUBSCRIPTION_ID:""}' - module: azure metricsets: - container_service enabled: true period: 300s client_id: '${AZURE_CLIENT_ID:""}' client_secret: '${AZURE_CLIENT_SECRET:""}' tenant_id: '${AZURE_TENANT_ID:""}' subscription_id: '${AZURE_SUBSCRIPTION_ID:""}' - module: azure metricsets: - container_registry enabled: true period: 300s client_id: '${AZURE_CLIENT_ID:""}' client_secret: '${AZURE_CLIENT_SECRET:""}' tenant_id: '${AZURE_TENANT_ID:""}' subscription_id: '${AZURE_SUBSCRIPTION_ID:""}' - module: azure metricsets: - database_account enabled: true period: 300s client_id: '${AZURE_CLIENT_ID:""}' client_secret: '${AZURE_CLIENT_SECRET:""}' tenant_id: '${AZURE_TENANT_ID:""}' subscription_id: '${AZURE_SUBSCRIPTION_ID:""}' - module: azure metricsets: - billing enabled: true period: 24h client_id: '${AZURE_CLIENT_ID:""}' client_secret: '${AZURE_CLIENT_SECRET:""}' tenant_id: '${AZURE_TENANT_ID:""}' subscription_id: '${AZURE_SUBSCRIPTION_ID:""}' - module: azure metricsets: - app_insights enabled: true period: 300s application_id: '' api_key: '' metrics: - id: ["requests/count", "requests/duration"] - module: azure metricsets: - app_state enabled: true period: 300s application_id: '' api_key: '' - module: beat metricsets: - stats - state period: 10s hosts: ["http://localhost:5066"] - module: ceph metricsets: ["cluster_disk", "cluster_health", "monitor_health", "pool_disk", "osd_tree"] period: 10s hosts: ["localhost:5000"] enabled: true - module: ceph metricsets: - mgr_cluster_disk - mgr_osd_perf - mgr_pool_disk - mgr_osd_pool_stats - mgr_osd_tree period: 1m hosts: [ "https://localhost:8003" ] - module: cloudfoundry metricsets: - container - counter - value enabled: true api_address: '${CLOUDFOUNDRY_API_ADDRESS:""}' doppler_address: '${CLOUDFOUNDRY_DOPPLER_ADDRESS:""}' uaa_address: '${CLOUDFOUNDRY_UAA_ADDRESS:""}' rlp_address: '${CLOUDFOUNDRY_RLP_ADDRESS:""}' client_id: '${CLOUDFOUNDRY_CLIENT_ID:""}' client_secret: '${CLOUDFOUNDRY_CLIENT_SECRET:""}' shard_id: metricbeat version: v1 - module: cockroachdb metricsets: ['status'] period: 10s hosts: ['localhost:8080'] - module: consul metricsets: - agent enabled: true period: 10s hosts: ["localhost:8500"] - module: containerd metricsets: ["cpu", "memory", "blkio"] period: 10s hosts: ["localhost:1338"] calcpct.cpu: true calcpct.memory: true - module: coredns metricsets: ["stats"] period: 10s hosts: ["localhost:9153"] - module: couchbase metricsets: ["bucket", "cluster", "node"] period: 10s hosts: ["localhost:8091"] enabled: true - module: couchdb metricsets: ["server"] period: 10s hosts: ["localhost:5984"] - module: docker metricsets: - "container" - "cpu" - "diskio" - "event" - "healthcheck" - "info" - "memory" - "network" hosts: ["unix:///var/run/docker.sock"] period: 10s enabled: true - module: dropwizard metricsets: ["collector"] period: 10s hosts: ["localhost:8080"] metrics_path: /metrics/metrics namespace: example enabled: true - module: elasticsearch metricsets: - node - node_stats period: 10s hosts: ["http://localhost:9200"] - module: enterprisesearch metricsets: ["health", "stats"] enabled: true period: 10s hosts: ["http://localhost:3002"] - module: envoyproxy metricsets: ["server"] period: 10s hosts: ["localhost:9901"] - module: etcd metricsets: ["leader", "self", "store"] period: 10s hosts: ["localhost:2379"] - module: gcp metricsets: - compute region: "us-" project_id: "your project id" credentials_file_path: "your JSON credentials file path" exclude_labels: false period: 1m - module: gcp metricsets: - pubsub - loadbalancing - firestore - dataproc zone: "us-central1-a" project_id: "your project id" credentials_file_path: "your JSON credentials file path" exclude_labels: false period: 1m - module: gcp metricsets: - storage project_id: "your project id" credentials_file_path: "your JSON credentials file path" exclude_labels: false period: 5m - module: gcp metricsets: - metrics project_id: "your project id" credentials_file_path: "your JSON credentials file path" exclude_labels: false period: 1m metrics: - aligner: ALIGN_NONE service: compute metric_types: - "instance/cpu/reserved_cores" - "instance/cpu/usage_time" - "instance/cpu/utilization" - "instance/uptime" - module: gcp metricsets: - gke project_id: "your project id" credentials_file_path: "your JSON credentials file path" exclude_labels: false period: 1m - module: gcp metricsets: - billing period: 24h project_id: "your project id" credentials_file_path: "your JSON credentials file path" dataset_id: "dataset id" table_pattern: "table pattern" cost_type: "regular" - module: golang period: 10s hosts: ["localhost:6060"] heap.path: "/debug/vars" expvar: namespace: "example" path: "/debug/vars" - module: graphite metricsets: ["server"] enabled: true - module: haproxy metricsets: ["info", "stat"] period: 10s hosts: ["tcp://127.0.0.1:14567"] username : "admin" password : "admin" enabled: true - module: http period: 10s hosts: ["localhost:80"] namespace: "json_namespace" path: "/" - module: http host: "localhost" port: "8080" enabled: false - module: ibmmq metricsets: ['qmgr'] period: 10s hosts: ['localhost:9157'] metrics_path: /metrics - module: iis metricsets: - webserver - website - application_pool enabled: true period: 10s - module: istio metricsets: ["mesh"] period: 10s hosts: ["localhost:42422"] - module: istio metricsets: ["mixer"] period: 10s hosts: ["localhost:15014"] - module: istio metricsets: ["galley"] period: 10s hosts: ["localhost:15014"] - module: istio metricsets: ["pilot"] period: 10s hosts: ["localhost:15014"] - module: istio metricsets: ["citadel"] period: 10s hosts: ["localhost:15014"] - module: istio metricsets: ['istiod'] period: 10s hosts: ['localhost:15014'] - module: istio metricsets: ['proxy'] period: 10s hosts: ['localhost:15090'] - module: jolokia period: 10s hosts: ["localhost"] namespace: "metrics" jmx.mappings: jmx.application: jmx.instance: - module: kafka period: 10s hosts: ["localhost:9092"] - module: kibana metricsets: ["status"] period: 10s hosts: ["localhost:5601"] basepath: "" enabled: true - module: kubernetes metricsets: - container - node - pod - system - volume period: 10s enabled: true hosts: ["https://${NODE_NAME}:10250"] bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token ssl.verification_mode: "none" add_metadata: true - module: kubernetes enabled: true metricsets: - state_node - state_daemonset - state_deployment - state_replicaset - state_statefulset - state_pod - state_container - state_job - state_cronjob - state_resourcequota - state_service - state_persistentvolume - state_persistentvolumeclaim - state_storageclass hosts: ["kube-state-metrics:8080"] add_metadata: true - module: kubernetes enabled: true metricsets: - event period: 10s - module: kubernetes enabled: true metricsets: - apiserver hosts: ["https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT}"] bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token ssl.certificate_authorities: - /var/run/secrets/kubernetes.io/serviceaccount/ca.crt period: 30s - module: kubernetes enabled: true metricsets: - proxy hosts: ["localhost:10249"] period: 10s - module: kubernetes enabled: true metricsets: - controllermanager hosts: ["http://localhost:10252"] period: 10s - module: kubernetes enabled: true metricsets: - scheduler hosts: ["localhost:10251"] period: 10s - module: kvm metricsets: ["dommemstat", "status"] enabled: true period: 10s hosts: ["unix:///var/run/libvirt/libvirt-sock"] - module: linux period: 10s metricsets: - "pageinfo" - "memory" enabled: true - module: logstash metricsets: ["node", "node_stats"] enabled: true period: 10s hosts: ["localhost:9600"] - module: memcached metricsets: ["stats"] period: 10s hosts: ["localhost:11211"] enabled: true - module: mongodb metricsets: ["dbstats", "status", "collstats", "metrics", "replstatus"] period: 10s enabled: true hosts: ["localhost:27017"] - module: mssql metricsets: - "transaction_log" - "performance" hosts: ["sqlserver://localhost"] username: domain\username password: verysecurepassword period: 10s - module: munin metricsets: ["node"] enabled: true period: 10s hosts: ["localhost:4949"] - module: mysql metricsets: - status period: 10s hosts: ["root:secret@tcp(127.0.0.1:3306)/"] - module: nats metricsets: - "connections" - "routes" - "stats" - "subscriptions" period: 10s hosts: ["localhost:8222"] - module: nginx metricsets: ["stubstatus"] enabled: true period: 10s hosts: ["http://127.0.0.1"] server_status_path: "nginx_status" - module: openmetrics metricsets: ['collector'] period: 10s hosts: ['localhost:9090'] metrics_path: /metrics metrics_filters: include: [] exclude: [] - module: oracle metricsets: ["tablespace", "performance"] enabled: true period: 10s hosts: ["user:[email protected]:1521/ORCLPDB1.localdomain"] - module: php_fpm metricsets: - pool enabled: true period: 10s status_path: "/status" hosts: ["localhost:8080"] - module: postgresql enabled: true metricsets: - database - bgwriter - activity period: 10s hosts: ["postgres://localhost:5432"] - module: prometheus period: 10s hosts: ["localhost:9090"] metrics_path: /metrics - module: prometheus period: 10s metricsets: ["collector"] hosts: ["localhost:9090"] metrics_path: /metrics - module: rabbitmq metricsets: ["node", "queue", "connection"] enabled: true period: 10s hosts: ["localhost:15672"] - module: redis metricsets: ["info", "keyspace"] enabled: true period: 10s hosts: ["127.0.0.1:6379"] - module: redisenterprise metricsets: - node - proxy period: 1m hosts: ["https://127.0.0.1:8070/"] - module: sql metricsets: - query period: 10s hosts: ["user=myuser password=mypassword dbname=mydb sslmode=disable"] driver: "postgres" sql_query: "select now()" sql_response_format: table - module: stan metricsets: ["stats", "channels", "subscriptions"] period: 60s hosts: ["localhost:8222"] - module: statsd host: "localhost" port: "8125" enabled: false - module: syncgateway metricsets: - db period: 10s hosts: ["127.0.0.1:4985"] - module: tomcat metricsets: ['threading', 'cache', 'memory', 'requests'] period: 10s hosts: ['localhost:8080'] path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" - module: traefik metricsets: ["health"] period: 10s hosts: ["localhost:8080"] - module: uwsgi metricsets: ["status"] enable: true period: 10s hosts: ["tcp://127.0.0.1:9191"] - module: vsphere enabled: true metricsets: ["datastore", "host", "virtualmachine"] period: 10s hosts: ["https://localhost/sdk"] username: "user" password: "password" insecure: false - module: windows metricsets: ["perfmon"] enabled: true period: 10s perfmon.ignore_non_existent_counters: false perfmon.group_measurements_by_instance: false perfmon.queries: - module: windows metricsets: ["service"] enabled: true period: 60s - module: zookeeper enabled: true metricsets: ["mntr", "server"] period: 10s hosts: ["localhost:2181"] output.elasticsearch: hosts: ["localhost:9200"] setup.template.settings: setup.kibana: logging.to_files: true logging.files:
Related
See also
Advertising: