- 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
Metrics collected from PostgreSQL servers.
PostgreSQL metrics.
One document per server process, showing information related to the current activity of that process, such as state and current query. Collected by querying pg_stat_activity.
-
postgresql.activity.database.oid
-
OID of the database this backend is connected to.
type: long
-
postgresql.activity.database.name
-
Name of the database this backend is connected to.
type: keyword
-
postgresql.activity.pid
-
Process ID of this backend.
type: long
-
postgresql.activity.user.id
-
OID of the user logged into this backend.
type: long
-
postgresql.activity.user.name
-
Name of the user logged into this backend.
-
postgresql.activity.application_name
-
Name of the application that is connected to this backend.
-
postgresql.activity.client.address
-
IP address of the client connected to this backend.
-
postgresql.activity.client.hostname
-
Host name of the connected client, as reported by a reverse DNS lookup of client_addr.
-
postgresql.activity.client.port
-
TCP port number that the client is using for communication with this backend, or -1 if a Unix socket is used.
type: long
-
postgresql.activity.backend_type
-
Type of the current backend. Possible types are autovacuum launcher, autovacuum worker, logical replication launcher, logical replication worker, parallel worker, background writer, client backend, checkpointer, startup, walreceiver, walsender and walwriter. Extensions may register workers with additional backend types.
-
postgresql.activity.backend_start
-
Time when this process was started, i.e., when the client connected to the server.
type: date
-
postgresql.activity.transaction_start
-
Time when this process' current transaction was started.
type: date
-
postgresql.activity.query_start
-
Time when the currently active query was started, or if state is not active, when the last query was started.
type: date
-
postgresql.activity.state_change
-
Time when the state was last changed.
type: date
-
postgresql.activity.waiting
-
True if this backend is currently waiting on a lock.
type: boolean
-
postgresql.activity.state
-
Current overall state of this backend. Possible values are:
- active: The backend is executing a query.
- idle: The backend is waiting for a new client command.
- idle in transaction: The backend is in a transaction, but is not currently executing a query.
- idle in transaction (aborted): This state is similar to idle in transaction, except one of the statements in the transaction caused an error.
- fastpath function call: The backend is executing a fast-path function.
- disabled: This state is reported if track_activities is disabled in this backend.
-
postgresql.activity.query
-
Text of this backend’s most recent query. If state is active this field shows the currently executing query. In all other states, it shows the last query that was executed.
-
postgresql.activity.wait_event
-
Wait event name if the backend is currently waiting.
-
postgresql.activity.wait_event_type
-
The type of event for which the backend is waiting.
Statistics about the background writer process’s activity. Collected using the pg_stat_bgwriter query.
-
postgresql.bgwriter.checkpoints.scheduled
-
Number of scheduled checkpoints that have been performed.
type: long
-
postgresql.bgwriter.checkpoints.requested
-
Number of requested checkpoints that have been performed.
type: long
-
postgresql.bgwriter.checkpoints.times.write.ms
-
Total amount of time that has been spent in the portion of checkpoint processing where files are written to disk, in milliseconds.
type: float
-
postgresql.bgwriter.checkpoints.times.sync.ms
-
Total amount of time that has been spent in the portion of checkpoint processing where files are synchronized to disk, in milliseconds.
type: float
-
postgresql.bgwriter.buffers.checkpoints
-
Number of buffers written during checkpoints.
type: long
-
postgresql.bgwriter.buffers.clean
-
Number of buffers written by the background writer.
type: long
-
postgresql.bgwriter.buffers.clean_full
-
Number of times the background writer stopped a cleaning scan because it had written too many buffers.
type: long
-
postgresql.bgwriter.buffers.backend
-
Number of buffers written directly by a backend.
type: long
-
postgresql.bgwriter.buffers.backend_fsync
-
Number of times a backend had to execute its own fsync call (normally the background writer handles those even when the backend does its own write)
type: long
-
postgresql.bgwriter.buffers.allocated
-
Number of buffers allocated.
type: long
-
postgresql.bgwriter.stats_reset
-
Time at which these statistics were last reset.
type: date
One row per database, showing database-wide statistics. Collected by querying pg_stat_database
-
postgresql.database.oid
-
OID of the database this backend is connected to, or 0 for shared resources.
type: long
-
postgresql.database.name
-
Name of the database this backend is connected to, empty for shared resources.
type: keyword
-
postgresql.database.number_of_backends
-
Number of backends currently connected to this database.
type: long
-
postgresql.database.transactions.commit
-
Number of transactions in this database that have been committed.
type: long
-
postgresql.database.transactions.rollback
-
Number of transactions in this database that have been rolled back.
type: long
-
postgresql.database.blocks.read
-
Number of disk blocks read in this database.
type: long
-
postgresql.database.blocks.hit
-
Number of times disk blocks were found already in the buffer cache, so that a read was not necessary (this only includes hits in the PostgreSQL buffer cache, not the operating system’s file system cache).
type: long
-
postgresql.database.blocks.time.read.ms
-
Time spent reading data file blocks by backends in this database, in milliseconds.
type: double
-
postgresql.database.blocks.time.write.ms
-
Time spent writing data file blocks by backends in this database, in milliseconds.
type: double
-
postgresql.database.rows.returned
-
Number of rows returned by queries in this database.
type: long
-
postgresql.database.rows.fetched
-
Number of rows fetched by queries in this database.
type: long
-
postgresql.database.rows.inserted
-
Number of rows inserted by queries in this database.
type: long
-
postgresql.database.rows.updated
-
Number of rows updated by queries in this database.
type: long
-
postgresql.database.rows.deleted
-
Number of rows deleted by queries in this database.
type: long
-
postgresql.database.conflicts
-
Number of queries canceled due to conflicts with recovery in this database.
type: long
-
postgresql.database.temporary.files
-
Number of temporary files created by queries in this database. All temporary files are counted, regardless of why the temporary file was created (e.g., sorting or hashing), and regardless of the log_temp_files setting.
type: long
-
postgresql.database.temporary.bytes
-
Total amount of data written to temporary files by queries in this database. All temporary files are counted, regardless of why the temporary file was created, and regardless of the log_temp_files setting.
type: long
-
postgresql.database.deadlocks
-
Number of deadlocks detected in this database.
type: long
-
postgresql.database.stats_reset
-
Time at which these statistics were last reset.
type: date
One document per query per user per database, showing information related invocation of that query, such as cpu usage and total time. Collected by querying pg_stat_statements.
-
postgresql.statement.user.id
-
OID of the user logged into the backend that ran the query.
type: long
-
postgresql.statement.database.oid
-
OID of the database the query was run on.
type: long
-
postgresql.statement.query.id
-
ID of the statement.
type: long
-
postgresql.statement.query.text
-
Query text
-
postgresql.statement.query.calls
-
Number of times the query has been run.
type: long
-
postgresql.statement.query.rows
-
Total number of rows returned by query.
type: long
-
postgresql.statement.query.time.total.ms
-
Total number of milliseconds spent running query.
type: float
-
postgresql.statement.query.time.min.ms
-
Minimum number of milliseconds spent running query.
type: float
-
postgresql.statement.query.time.max.ms
-
Maximum number of milliseconds spent running query.
type: float
-
postgresql.statement.query.time.mean.ms
-
Mean number of milliseconds spent running query.
type: long
-
postgresql.statement.query.time.stddev.ms
-
Population standard deviation of time spent running query, in milliseconds.
type: long
-
postgresql.statement.query.memory.shared.hit
-
Total number of shared block cache hits by the query.
type: long
-
postgresql.statement.query.memory.shared.read
-
Total number of shared block cache read by the query.
type: long
-
postgresql.statement.query.memory.shared.dirtied
-
Total number of shared block cache dirtied by the query.
type: long
-
postgresql.statement.query.memory.shared.written
-
Total number of shared block cache written by the query.
type: long
-
postgresql.statement.query.memory.local.hit
-
Total number of local block cache hits by the query.
type: long
-
postgresql.statement.query.memory.local.read
-
Total number of local block cache read by the query.
type: long
-
postgresql.statement.query.memory.local.dirtied
-
Total number of local block cache dirtied by the query.
type: long
-
postgresql.statement.query.memory.local.written
-
Total number of local block cache written by the query.
type: long
-
postgresql.statement.query.memory.temp.read
-
Total number of temp block cache read by the query.
type: long
-
postgresql.statement.query.memory.temp.written
-
Total number of temp block cache written by the query.
type: long
On this page