Skip to content

Commit

Permalink
Add ML modules to Nginx readme (#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored Mar 7, 2022
1 parent 0bc0f9e commit 1f2658c
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 1 deletion.
19 changes: 19 additions & 0 deletions packages/nginx/_dev/build/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,22 @@ It's highly recommended to replace `127.0.0.1` with your server’s IP address a
{{event "stubstatus"}}

{{fields "stubstatus"}}

## ML Modules

These anomaly detection jobs are available in the Machine Learning app in Kibana
when you have data that matches the query specified in the
[manifest](https://github.com/elastic/integrations/blob/main/packages/nginx/kibana/ml_module/nginx-Logs-ml.json).

### Nginx access logs

Find unusual activity in HTTP access logs.

| Job | Description |
|---|---|
| visitor_rate_nginx | HTTP Access Logs: Detect unusual visitor rates |
| status_code_rate_nginx | HTTP Access Logs: Detect unusual status code rates |
| source_ip_url_count_nginx | HTTP Access Logs: Detect unusual source IPs - high distinct count of URLs |
| source_ip_request_rate_nginx | HTTP Access Logs: Detect unusual source IPs - high request rates |
| low_request_rate_nginx | HTTP Access Logs: Detect low request rates |

5 changes: 5 additions & 0 deletions packages/nginx/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.3.1"
changes:
- description: Add ML modules to readme
type: enhancement
link: https://github.com/elastic/integrations/pull/2662
- version: "1.3.0"
changes:
- description: Update to ECS 8.0
Expand Down
19 changes: 19 additions & 0 deletions packages/nginx/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -519,3 +519,22 @@ An example event for `stubstatus` looks as following:
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |


## ML Modules

These anomaly detection jobs are available in the Machine Learning app in Kibana
when you have data that matches the query specified in the
[manifest](https://github.com/elastic/integrations/blob/main/packages/nginx/kibana/ml_module/nginx-Logs-ml.json).

### Nginx access logs

Find unusual activity in HTTP access logs.

| Job | Description |
|---|---|
| visitor_rate_nginx | HTTP Access Logs: Detect unusual visitor rates |
| status_code_rate_nginx | HTTP Access Logs: Detect unusual status code rates |
| source_ip_url_count_nginx | HTTP Access Logs: Detect unusual source IPs - high distinct count of URLs |
| source_ip_request_rate_nginx | HTTP Access Logs: Detect unusual source IPs - high request rates |
| low_request_rate_nginx | HTTP Access Logs: Detect low request rates |

2 changes: 1 addition & 1 deletion packages/nginx/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: nginx
title: Nginx
version: 1.3.0
version: 1.3.1
license: basic
description: Collect logs and metrics from Nginx HTTP servers with Elastic Agent.
type: integration
Expand Down

0 comments on commit 1f2658c

Please sign in to comment.