- Metricbeat Reference: other versions:
- Metricbeat overview
- Quick start: installation and configuration
- Set up and run
- Upgrade Metricbeat
- How Metricbeat works
- Configure
- Modules
- General settings
- Project paths
- Config file loading
- Output
- Kerberos
- SSL
- Index lifecycle management (ILM)
- Elasticsearch index template
- Kibana endpoint
- Kibana dashboards
- Processors
- Define processors
- add_cloud_metadata
- add_cloudfoundry_metadata
- add_docker_metadata
- add_fields
- add_host_metadata
- add_id
- add_kubernetes_metadata
- add_labels
- add_locale
- add_network_direction
- add_nomad_metadata
- add_observer_metadata
- add_process_metadata
- add_tags
- append
- community_id
- convert
- copy_fields
- decode_base64_field
- decode_duration
- decode_json_fields
- decode_xml
- decode_xml_wineventlog
- decompress_gzip_field
- detect_mime_type
- dissect
- dns
- drop_event
- drop_fields
- extract_array
- fingerprint
- include_fields
- move_fields
- rate_limit
- registered_domain
- rename
- replace
- script
- syslog
- translate_ldap_attribute
- translate_sid
- truncate_fields
- urldecode
- Autodiscover
- Internal queue
- Logging
- HTTP endpoint
- Regular expression support
- Instrumentation
- Feature flags
- metricbeat.reference.yml
- How to guides
- Modules
- ActiveMQ module
- Aerospike module
- Airflow module
- Apache module
- AWS module
- AWS awshealth metricset
- AWS billing metricset
- AWS cloudwatch metricset
- AWS dynamodb metricset
- AWS ebs metricset
- AWS ec2 metricset
- AWS elb metricset
- AWS kinesis metricset
- AWS lambda metricset
- AWS natgateway metricset
- AWS rds metricset
- AWS s3_daily_storage metricset
- AWS s3_request metricset
- AWS sns metricset
- AWS sqs metricset
- AWS transitgateway metricset
- AWS usage metricset
- AWS vpn metricset
- AWS Fargate module
- Azure module
- Azure app_insights metricset
- Azure app_state metricset
- Azure billing metricset
- Azure compute_vm metricset
- Azure compute_vm_scaleset metricset
- Azure container_instance metricset
- Azure container_registry metricset
- Azure container_service metricset
- Azure database_account metricset
- Azure monitor metricset
- Azure storage metricset
- Beat module
- Ceph module
- Ceph cluster_disk metricset
- Ceph cluster_health metricset
- Ceph cluster_status metricset
- Ceph mgr_cluster_disk metricset
- Ceph mgr_cluster_health metricset
- Ceph mgr_osd_perf metricset
- Ceph mgr_osd_pool_stats metricset
- Ceph mgr_osd_tree metricset
- Ceph mgr_pool_disk metricset
- Ceph monitor_health metricset
- Ceph osd_df metricset
- Ceph osd_tree metricset
- Ceph pool_disk metricset
- Cloudfoundry module
- CockroachDB module
- Consul module
- Containerd module
- Coredns module
- Couchbase module
- CouchDB module
- Docker module
- Dropwizard module
- Elasticsearch module
- Elasticsearch ccr metricset
- Elasticsearch cluster_stats metricset
- Elasticsearch enrich metricset
- Elasticsearch index metricset
- Elasticsearch index_recovery metricset
- Elasticsearch index_summary metricset
- Elasticsearch ingest_pipeline metricset
- Elasticsearch ml_job metricset
- Elasticsearch node metricset
- Elasticsearch node_stats metricset
- Elasticsearch pending_tasks metricset
- Elasticsearch shard metricset
- Enterprise Search module
- Envoyproxy module
- Etcd module
- Google Cloud Platform module
- Google Cloud Platform billing metricset
- Google Cloud Platform carbon metricset
- Google Cloud Platform compute metricset
- Google Cloud Platform dataproc metricset
- Google Cloud Platform firestore metricset
- Google Cloud Platform gke metricset
- Google Cloud Platform loadbalancing metricset
- Google Cloud Platform metrics metricset
- Google Cloud Platform pubsub metricset
- Google Cloud Platform storage metricset
- Golang module
- Graphite module
- HAProxy module
- HTTP module
- IBM MQ module
- IIS module
- Istio module
- Jolokia module
- Kafka module
- Kibana module
- Kubernetes module
- Kubernetes apiserver metricset
- Kubernetes container metricset
- Kubernetes controllermanager metricset
- Kubernetes event metricset
- Kubernetes node metricset
- Kubernetes pod metricset
- Kubernetes proxy metricset
- Kubernetes scheduler metricset
- Kubernetes state_container metricset
- Kubernetes state_cronjob metricset
- Kubernetes state_daemonset metricset
- Kubernetes state_deployment metricset
- Kubernetes state_job metricset
- Kubernetes state_node metricset
- Kubernetes state_persistentvolumeclaim metricset
- Kubernetes state_pod metricset
- Kubernetes state_replicaset metricset
- Kubernetes state_resourcequota metricset
- Kubernetes state_service metricset
- Kubernetes state_statefulset metricset
- Kubernetes state_storageclass metricset
- Kubernetes system metricset
- Kubernetes volume metricset
- KVM module
- Linux module
- Logstash module
- Memcached module
- Cisco Meraki module
- MongoDB module
- MSSQL module
- Munin module
- MySQL module
- NATS module
- Nginx module
- Openmetrics module
- Oracle module
- Panw module
- PHP_FPM module
- PostgreSQL module
- Prometheus module
- RabbitMQ module
- Redis module
- Redis Enterprise module
- SQL module
- Stan module
- Statsd module
- SyncGateway module
- System module
- System core metricset
- System cpu metricset
- System diskio metricset
- System entropy metricset
- System filesystem metricset
- System fsstat metricset
- System load metricset
- System memory metricset
- System network metricset
- System network_summary metricset
- System process metricset
- System process_summary metricset
- System raid metricset
- System service metricset
- System socket metricset
- System socket_summary metricset
- System uptime metricset
- System users metricset
- Tomcat module
- Traefik module
- uWSGI module
- vSphere module
- Windows module
- ZooKeeper module
- Exported fields
- ActiveMQ fields
- Aerospike fields
- Airflow fields
- Apache fields
- AWS fields
- AWS Fargate fields
- Azure fields
- Beat fields
- Beat fields
- Ceph fields
- Cloud provider metadata fields
- Cloudfoundry fields
- CockroachDB fields
- Common fields
- Consul fields
- Containerd fields
- Coredns fields
- Couchbase fields
- CouchDB fields
- Docker fields
- Docker fields
- Dropwizard fields
- ECS fields
- Elasticsearch fields
- Enterprise Search fields
- Envoyproxy fields
- Etcd fields
- Google Cloud Platform fields
- Golang fields
- Graphite fields
- HAProxy fields
- Host fields
- HTTP fields
- IBM MQ fields
- IIS fields
- Istio fields
- Jolokia fields
- Jolokia Discovery autodiscover provider fields
- Kafka fields
- Kibana fields
- Kubernetes fields
- Kubernetes fields
- KVM fields
- Linux fields
- Logstash fields
- Memcached fields
- MongoDB fields
- MSSQL fields
- Munin fields
- MySQL fields
- NATS fields
- Nginx fields
- Openmetrics fields
- Oracle fields
- Panw fields
- PHP_FPM fields
- PostgreSQL fields
- Process fields
- Prometheus fields
- Prometheus typed metrics fields
- RabbitMQ fields
- Redis fields
- Redis Enterprise fields
- SQL fields
- Stan fields
- Statsd fields
- SyncGateway fields
- System fields
- Tomcat fields
- Traefik fields
- uWSGI fields
- vSphere fields
- Windows fields
- ZooKeeper fields
- Monitor
- Secure
- Troubleshoot
- Get help
- Debug
- Understand logged metrics
- Common problems
- "open /compat/linux/proc: no such file or directory" error on FreeBSD
- Metricbeat collects system metrics for interfaces you didn’t configure
- Metricbeat uses too much bandwidth
- Error loading config file
- Found unexpected or unknown characters
- Logstash connection doesn’t work
- Publishing to Logstash fails with "connection reset by peer" message
- @metadata is missing in Logstash
- Not sure whether to use Logstash or Beats
- SSL client fails to connect to Logstash
- Monitoring UI shows fewer Beats than expected
- Dashboard could not locate the index-pattern
- High RSS memory usage due to MADV settings
- Contribute to Beats
HAProxy Module
HAProxy metrics.
General information about HAProxy processes.
-
haproxy.info.processes
-
Number of processes.
type: long
-
haproxy.info.process_num
-
Process number.
type: long
-
haproxy.info.threads
-
Number of threads.
type: long
-
haproxy.info.pid
-
Process ID.
type: alias
alias to: process.pid
-
haproxy.info.run_queue
-
type: long
-
haproxy.info.stopping
-
Number of stopping jobs.
type: long
-
haproxy.info.jobs
-
Number of all jobs.
type: long
-
haproxy.info.unstoppable_jobs
-
Number of unstoppable jobs.
type: long
-
haproxy.info.listeners
-
Number of listeners.
type: long
-
haproxy.info.dropped_logs
-
Number of dropped logs.
type: long
-
haproxy.info.busy_polling
-
Number of busy polling.
type: long
-
haproxy.info.failed_resolutions
-
Number of failed resolutions.
type: long
-
haproxy.info.tasks
-
type: long
-
haproxy.info.uptime.sec
-
Current uptime in seconds.
type: long
-
haproxy.info.memory.max.bytes
-
Maximum amount of memory usage in bytes (the Memmax_MB value converted to bytes).
type: long
format: bytes
-
haproxy.info.bytes.out.total
-
Number of bytes sent out.
type: long
-
haproxy.info.bytes.out.rate
-
Average bytes output rate.
type: long
-
haproxy.info.peers.active
-
Number of active peers.
type: long
-
haproxy.info.peers.connected
-
Number of connected peers.
type: long
-
haproxy.info.pool.allocated
-
Size of the allocated pool.
type: long
-
haproxy.info.pool.used
-
Number of members used from the allocated pool.
type: long
-
haproxy.info.pool.failed
-
Number of failed connections to pool members.
type: long
-
haproxy.info.ulimit_n
-
Maximum number of open files for the process.
type: long
-
haproxy.info.compress.bps.in
-
Incoming compressed data in bits per second.
type: long
-
haproxy.info.compress.bps.out
-
Outgoing compressed data in bits per second.
type: long
-
haproxy.info.compress.bps.rate_limit
-
Rate limit of compressed data in bits per second.
type: long
-
haproxy.info.connection.rate.value
-
Number of connections in the last second.
type: long
-
haproxy.info.connection.rate.limit
-
Rate limit of connections.
type: long
-
haproxy.info.connection.rate.max
-
Maximum rate of connections.
type: long
-
haproxy.info.connection.current
-
Current connections.
type: long
-
haproxy.info.connection.total
-
Total connections.
type: long
-
haproxy.info.connection.ssl.current
-
Current SSL connections.
type: long
-
haproxy.info.connection.ssl.total
-
Total SSL connections.
type: long
-
haproxy.info.connection.ssl.max
-
Maximum SSL connections.
type: long
-
haproxy.info.connection.max
-
Maximum connections.
type: long
-
haproxy.info.connection.hard_max
-
type: long
-
haproxy.info.requests.total
-
Total number of requests.
type: long
-
haproxy.info.sockets.max
-
Maximum number of sockets.
type: long
-
haproxy.info.requests.max
-
Maximum number of requests.
type: long
-
haproxy.info.pipes.used
-
Number of used pipes during kernel-based tcp splicing.
type: integer
-
haproxy.info.pipes.free
-
Number of free pipes.
type: integer
-
haproxy.info.pipes.max
-
Maximum number of used pipes.
type: integer
None
-
haproxy.info.session.rate.value
-
Rate of session per seconds.
type: integer
-
haproxy.info.session.rate.limit
-
Rate limit of sessions.
type: integer
-
haproxy.info.session.rate.max
-
Maximum rate of sessions.
type: integer
None
-
haproxy.info.ssl.rate.value
-
Rate of SSL requests.
type: integer
-
haproxy.info.ssl.rate.limit
-
Rate limit of SSL requests.
type: integer
-
haproxy.info.ssl.rate.max
-
Maximum rate of SSL requests.
type: integer
None
-
haproxy.info.ssl.frontend.key_rate.value
-
Key rate of SSL frontend.
type: integer
-
haproxy.info.ssl.frontend.key_rate.max
-
Maximum key rate of SSL frontend.
type: integer
-
haproxy.info.ssl.frontend.session_reuse.pct
-
Rate of reuse of SSL frontend sessions.
type: scaled_float
format: percent
None
-
haproxy.info.ssl.backend.key_rate.value
-
Key rate of SSL backend sessions.
type: integer
-
haproxy.info.ssl.backend.key_rate.max
-
Maximum key rate of SSL backend sessions.
type: integer
-
haproxy.info.ssl.cached_lookups
-
Number of SSL cache lookups.
type: long
-
haproxy.info.ssl.cache_misses
-
Number of SSL cache misses.
type: long
-
haproxy.info.zlib_mem_usage.value
-
Memory usage of zlib.
type: integer
-
haproxy.info.zlib_mem_usage.max
-
Maximum memory usage of zlib.
type: integer
-
haproxy.info.idle.pct
-
Percentage of idle time.
type: scaled_float
format: percent
Stats collected from HAProxy processes.
-
haproxy.stat.status
-
Status (UP, DOWN, NOLB, MAINT, or MAINT(via)…).
type: keyword
-
haproxy.stat.weight
-
Total weight (for backends), or server weight (for servers).
type: long
-
haproxy.stat.downtime
-
Total downtime (in seconds). For backends, this value is the downtime for the whole backend, not the sum of the downtime for the servers.
type: long
-
haproxy.stat.component_type
-
Component type (0=frontend, 1=backend, 2=server, or 3=socket/listener).
type: integer
-
haproxy.stat.process_id
-
Process ID (0 for first instance, 1 for second, and so on).
type: alias
alias to: process.pid
-
haproxy.stat.service_name
-
Service name (FRONTEND for frontend, BACKEND for backend, or any name for server/listener).
type: keyword
-
haproxy.stat.in.bytes
-
Bytes in.
type: long
format: bytes
-
haproxy.stat.out.bytes
-
Bytes out.
type: long
format: bytes
-
haproxy.stat.last_change
-
Number of seconds since the last UP→DOWN or DOWN→UP transition.
type: integer
-
haproxy.stat.throttle.pct
-
Current throttle percentage for the server when slowstart is active, or no value if slowstart is inactive.
type: scaled_float
format: percent
-
haproxy.stat.selected.total
-
Total number of times a server was selected, either for new sessions, or when re-dispatching. For servers, this field reports the the number of times the server was selected.
type: long
-
haproxy.stat.tracked.id
-
ID of the proxy/server if tracking is enabled.
type: long
-
haproxy.stat.cookie
-
Cookie value of the server or the name of the cookie of the backend.
type: keyword
-
haproxy.stat.load_balancing_algorithm
-
Load balancing algorithm.
type: keyword
-
haproxy.stat.connection.total
-
Cumulative number of connections.
type: long
-
haproxy.stat.connection.retried
-
Number of times a connection to a server was retried.
type: long
-
haproxy.stat.connection.time.avg
-
Average connect time in ms over the last 1024 requests.
type: long
-
haproxy.stat.connection.rate
-
Number of connections over the last second.
type: long
-
haproxy.stat.connection.rate_max
-
Highest value of connection.rate.
type: long
-
haproxy.stat.connection.attempt.total
-
Number of connection establishment attempts.
type: long
-
haproxy.stat.connection.reuse.total
-
Number of connection reuses.
type: long
-
haproxy.stat.connection.idle.total
-
Number of idle connections available for reuse.
type: long
-
haproxy.stat.connection.idle.limit
-
Limit on idle connections available for reuse.
type: long
-
haproxy.stat.connection.cache.lookup.total
-
Number of cache lookups.
type: long
-
haproxy.stat.connection.cache.hits
-
Number of cache hits.
type: long
-
haproxy.stat.request.denied
-
Requests denied because of security concerns.
- For TCP this is because of a matched tcp-request content rule.
- For HTTP this is because of a matched http-request or tarpit rule.
type: long
-
haproxy.stat.request.denied_by_connection_rules
-
Requests denied because of TCP request connection rules.
type: long
-
haproxy.stat.request.denied_by_session_rules
-
Requests denied because of TCP request session rules.
type: long
-
haproxy.stat.request.queued.current
-
Current queued requests. For backends, this field reports the number of requests queued without a server assigned.
type: long
-
haproxy.stat.request.queued.max
-
Maximum value of queued.current.
type: long
-
haproxy.stat.request.errors
-
Request errors. Some of the possible causes are:
- early termination from the client, before the request has been sent
- read error from the client
- client timeout
- client closed connection
- various bad requests from the client.
- request was tarpitted.
type: long
-
haproxy.stat.request.redispatched
-
Number of times a request was redispatched to another server. For servers, this field reports the number of times the server was switched away from.
type: long
-
haproxy.stat.request.connection.errors
-
Number of requests that encountered an error trying to connect to a server. For backends, this field reports the sum of the stat for all backend servers, plus any connection errors not associated with a particular server (such as the backend having no active servers).
type: long
-
haproxy.stat.request.rate.value
-
Number of HTTP requests per second over the last elapsed second.
type: long
-
haproxy.stat.request.rate.max
-
Maximum number of HTTP requests per second.
type: long
-
haproxy.stat.request.total
-
Total number of HTTP requests received.
type: long
-
haproxy.stat.request.intercepted
-
Number of intercepted requests.
type: long
-
haproxy.stat.response.errors
-
Number of response errors. This value includes the number of data transfers aborted by the server (haproxy.stat.server.aborted). Some other errors are: * write errors on the client socket (won’t be counted for the server stat) * failure applying filters to the response
type: long
-
haproxy.stat.response.time.avg
-
Average response time in ms over the last 1024 requests (0 for TCP).
type: long
-
haproxy.stat.response.denied
-
Responses denied because of security concerns. For HTTP this is because of a matched http-request rule, or "option checkcache".
type: integer
-
haproxy.stat.response.http.1xx
-
HTTP responses with 1xx code.
type: long
-
haproxy.stat.response.http.2xx
-
HTTP responses with 2xx code.
type: long
-
haproxy.stat.response.http.3xx
-
HTTP responses with 3xx code.
type: long
-
haproxy.stat.response.http.4xx
-
HTTP responses with 4xx code.
type: long
-
haproxy.stat.response.http.5xx
-
HTTP responses with 5xx code.
type: long
-
haproxy.stat.response.http.other
-
HTTP responses with other codes (protocol error).
type: long
-
haproxy.stat.header.rewrite.failed.total
-
Number of failed header rewrite warnings.
type: long
-
haproxy.stat.session.current
-
Number of current sessions.
type: long
-
haproxy.stat.session.max
-
Maximum number of sessions.
type: long
-
haproxy.stat.session.limit
-
Configured session limit.
type: long
-
haproxy.stat.session.total
-
Number of all sessions.
type: long
-
haproxy.stat.session.rate.value
-
Number of sessions per second over the last elapsed second.
type: integer
-
haproxy.stat.session.rate.limit
-
Configured limit on new sessions per second.
type: integer
-
haproxy.stat.session.rate.max
-
Maximum number of new sessions per second.
type: integer
-
haproxy.stat.check.status
-
Status of the last health check. One of:
UNK -> unknown INI -> initializing SOCKERR -> socket error L4OK -> check passed on layer 4, no upper layers testing enabled L4TOUT -> layer 1-4 timeout L4CON -> layer 1-4 connection problem, for example "Connection refused" (tcp rst) or "No route to host" (icmp) L6OK -> check passed on layer 6 L6TOUT -> layer 6 (SSL) timeout L6RSP -> layer 6 invalid response - protocol error L7OK -> check passed on layer 7 L7OKC -> check conditionally passed on layer 7, for example 404 with disable-on-404 L7TOUT -> layer 7 (HTTP/SMTP) timeout L7RSP -> layer 7 invalid response - protocol error L7STS -> layer 7 response error, for example HTTP 5xx
type: keyword
-
haproxy.stat.check.code
-
Layer 5-7 code, if available.
type: long
-
haproxy.stat.check.duration
-
Time in ms that it took to finish the last health check.
type: long
-
haproxy.stat.check.health.last
-
The result of the last health check.
type: keyword
-
haproxy.stat.check.health.fail
-
Number of failed checks.
type: long
-
haproxy.stat.check.agent.last
-
type: integer
-
haproxy.stat.check.failed
-
Number of checks that failed while the server was up.
type: long
-
haproxy.stat.check.down
-
Number of UP→DOWN transitions. For backends, this value is the number of transitions to the whole backend being down, rather than the sum of the transitions for each server.
type: long
-
haproxy.stat.client.aborted
-
Number of data transfers aborted by the client.
type: integer
-
haproxy.stat.server.id
-
Server ID (unique inside a proxy).
type: integer
-
haproxy.stat.server.aborted
-
Number of data transfers aborted by the server. This value is included in haproxy.stat.response.errors.
type: integer
-
haproxy.stat.server.active
-
Number of backend servers that are active, meaning that they are healthy and can receive requests from the load balancer.
type: integer
-
haproxy.stat.server.backup
-
Number of backend servers that are backup servers.
type: integer
-
haproxy.stat.compressor.in.bytes
-
Number of HTTP response bytes fed to the compressor.
type: long
format: bytes
-
haproxy.stat.compressor.out.bytes
-
Number of HTTP response bytes emitted by the compressor.
type: integer
format: bytes
-
haproxy.stat.compressor.bypassed.bytes
-
Number of bytes that bypassed the HTTP compressor (CPU/BW limit).
type: long
format: bytes
-
haproxy.stat.compressor.response.bytes
-
Number of HTTP responses that were compressed.
type: long
format: bytes
-
haproxy.stat.proxy.id
-
Unique proxy ID.
type: integer
-
haproxy.stat.proxy.name
-
Proxy name.
type: keyword
-
haproxy.stat.proxy.mode
-
Proxy mode (tcp, http, health, unknown).
type: keyword
-
haproxy.stat.queue.limit
-
Configured queue limit (maxqueue) for the server, or nothing if the value of maxqueue is 0 (meaning no limit).
type: integer
-
haproxy.stat.queue.time.avg
-
The average queue time in ms over the last 1024 requests.
type: integer
-
haproxy.stat.agent.status
-
Status of the last health check. One of:
UNK -> unknown INI -> initializing SOCKERR -> socket error L4OK -> check passed on layer 4, no upper layers enabled L4TOUT -> layer 1-4 timeout L4CON -> layer 1-4 connection problem, for example "Connection refused" (tcp rst) or "No route to host" (icmp) L7OK -> agent reported "up" L7STS -> agent reported "fail", "stop" or "down"
type: keyword
-
haproxy.stat.agent.description
-
Human readable version of agent.status.
type: keyword
-
haproxy.stat.agent.code
-
Value reported by agent.
type: integer
-
haproxy.stat.agent.rise
-
Rise value of agent.
type: integer
-
haproxy.stat.agent.fall
-
Fall value of agent.
type: integer
-
haproxy.stat.agent.health
-
Health parameter of agent. Between 0 and
agent.rise
+agent.fall
-1.type: integer
-
haproxy.stat.agent.duration
-
Duration of the last check in ms.
type: integer
-
haproxy.stat.agent.check.rise
-
Rise value of server.
type: integer
-
haproxy.stat.agent.check.fall
-
Fall value of server.
type: integer
-
haproxy.stat.agent.check.health
-
Health parameter of server. Between 0 and
agent.check.rise
+agent.check.fall
-1.type: integer
-
haproxy.stat.agent.check.description
-
Human readable version of check.
type: keyword
-
haproxy.stat.source.address
-
Address of the source.
type: text
On this page
ElasticON events are back!
Learn about the Elastic Search AI Platform from the experts at our live events.
Register now