diff --git a/content/includes/use-cases/monitoring/enable-nginx-oss-stub-status.md b/content/includes/use-cases/monitoring/enable-nginx-oss-stub-status.md index 3b137a8ff..6734cdd3e 100644 --- a/content/includes/use-cases/monitoring/enable-nginx-oss-stub-status.md +++ b/content/includes/use-cases/monitoring/enable-nginx-oss-stub-status.md @@ -26,4 +26,18 @@ This configuration: - Allows requests only from `127.0.0.1` (localhost). - Blocks all other requests for security. -For more details, see the [NGINX Stub Status module documentation](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html). \ No newline at end of file +For more details, see the [NGINX Stub Status module documentation](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html). + +{{}} For collecting metrics from NGINX Open Source, ensure that following log format is used in the NGINX configuration: + +```nginx +log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for" ' + '"$bytes_sent" "$request_length" "$request_time" ' + '"$gzip_ratio" $server_protocol '; + +access_log /var/log/nginx/access.log main; +``` + +{{}} \ No newline at end of file diff --git a/content/nginx-one-console/agent/configure-instances/configure-agent-features.md b/content/nginx-one-console/agent/configure-instances/configure-agent-features.md index 29708c6a2..a06973ba6 100644 --- a/content/nginx-one-console/agent/configure-instances/configure-agent-features.md +++ b/content/nginx-one-console/agent/configure-instances/configure-agent-features.md @@ -22,6 +22,7 @@ Before you start, make sure that you have: The following table lists the NGINX Agent features: {{< table "features" >}} + | Feature Name | Description | Default | | ------------------- | --------------------------------------------------------------------------- | ------- | | configuration | Full read/write management of configurations, controlled by DataPlaneConfig ConfigMode. | On | @@ -29,6 +30,7 @@ The following table lists the NGINX Agent features: | file-watcher | Monitoring of file changes in the allowed directories list and references from product configs. | On | | metrics | Full metrics reporting. | On | logs-nap | F5 WAF for NGINX logs. | On | + {{< /table >}} ## Configuration sources @@ -86,4 +88,3 @@ Define features in the `nginx-agent.conf` file: `sudo systemctl restart nginx-agent` Once the steps have been completed, users will be able to view metrics data being sent but will not have the capability to push NGINX configuration changes. -