Apache status metricset
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless
Generally available
Stack
Generally available
The Apache status metricset collects data from the Apache mod_status module. It scrapes the server status data from the web page generated by mod_status.
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.
For a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{
"@timestamp": "2019-03-01T08:05:34.853Z",
"apache": {
"status": {
"bytes_per_request": 112.913,
"bytes_per_sec": 103.832,
"connections": {
"async": {
"closing": 0,
"keep_alive": 0,
"writing": 0
},
"total": 0
},
"cpu": {
"children_system": 0,
"children_user": 0,
"load": 0.125874,
"system": 0.2,
"user": 0.16
},
"load": {
"1": 2,
"15": 1.91,
"5": 1.85
},
"requests_per_sec": 0.91958,
"scoreboard": {
"closing_connection": 0,
"dns_lookup": 0,
"gracefully_finishing": 0,
"idle_cleanup": 0,
"keepalive": 0,
"logging": 0,
"open_slot": 325,
"reading_request": 0,
"sending_reply": 1,
"starting_up": 0,
"total": 400,
"waiting_for_connection": 74
},
"total_accesses": 263,
"total_kbytes": 29,
"uptime": {
"server_uptime": 286,
"uptime": 286
},
"workers": {
"busy": 1,
"idle": 74
}
}
},
"event": {
"dataset": "apache.status",
"duration": 115000,
"module": "apache"
},
"metricset": {
"name": "status",
"period": 10000
},
"service": {
"address": "127.0.0.1:55555",
"type": "apache"
}
}