|
5 | 5 | <titleabbrev>Apache</titleabbrev>
|
6 | 6 | ++++
|
7 | 7 | // tag::apache-jobs[]
|
8 |
| -These {anomaly-job} wizards appear in {kib} if you use |
9 |
| -{filebeat-ref}/index.html[{filebeat}] to ship access logs from your |
10 |
| -https://httpd.apache.org/[Apache] HTTP servers to {es} and store it using fields |
11 |
| -and data types from the Elastic Common Schema (ECS). For more details, see the |
12 |
| -{dfeed} and job definitions in |
| 8 | +These {anomaly-job} wizards appear in {kib} if you use the Apache integration in |
| 9 | +{fleet} or you use {filebeat} to ship access logs from your |
| 10 | +https://httpd.apache.org/[Apache] HTTP servers to {es}. The jobs assume that you |
| 11 | +use fields and data types from the Elastic Common Schema (ECS). |
| 12 | + |
| 13 | +[[apache-access-logs]] |
| 14 | +== Apache access logs |
| 15 | + |
| 16 | +These {anomaly-jobs} find unusual activity in HTTP access logs. |
| 17 | + |
| 18 | +For more details, see the {dfeed} and job definitions in |
| 19 | +https://github.com/elastic/integrations/blob/{branch}/packages/apache/kibana/ml_module/apache-Logs-ml.json[GitHub]. |
| 20 | +Note that these jobs are available in {kib} only if data exists that matches the |
| 21 | +{dfeed} query. |
| 22 | + |
| 23 | +low_request_rate_apache:: |
| 24 | +Detects low request rates. |
| 25 | + |
| 26 | +Job details::: |
| 27 | + |
| 28 | +* Analyzes request rates (using the <<ml-count,`low_count` function>>). |
| 29 | + |
| 30 | +Required {beats} or {agent} integrations::: |
| 31 | + |
| 32 | +* Apache integration |
| 33 | + |
| 34 | +source_ip_request_rate_apache:: |
| 35 | +Detects unusual source IPs. |
| 36 | + |
| 37 | +Job details::: |
| 38 | + |
| 39 | +* Analyzes request rates (using the <<ml-count,`high_count` function>>) |
| 40 | +relative to all the source IPs (`over_field_name` is `source.address`). |
| 41 | + |
| 42 | +Required {beats} or {agent} integrations::: |
| 43 | + |
| 44 | +* Apache integration |
| 45 | + |
| 46 | +source_ip_url_count_apache:: |
| 47 | +Detects unusual source IPs. |
| 48 | + |
| 49 | +Job details::: |
| 50 | + |
| 51 | +* Analyzes distinct counts of URLs (using the |
| 52 | +<<ml-distinct-count,`high_distinct_count` function>> on the `url.original` |
| 53 | +field) relative to all the source IPs (`over_field_name` is `source.address`). |
| 54 | + |
| 55 | +Required {beats} or {agent} integrations::: |
| 56 | + |
| 57 | +* Apache integration |
| 58 | + |
| 59 | +status_code_rate_apache:: |
| 60 | +Detects unusual status code rates. |
| 61 | + |
| 62 | +Job details::: |
| 63 | + |
| 64 | +* Analyzes request rates (using the <<ml-count,`count` function>>) split by |
| 65 | +status code (`partition_field_name` is `http.response.status_code`). |
| 66 | + |
| 67 | +Required {beats} or {agent} integrations::: |
| 68 | + |
| 69 | +* Apache integration |
| 70 | + |
| 71 | +visitor_rate_apache:: |
| 72 | +Detects unusual visitor rates. |
| 73 | + |
| 74 | +Job details::: |
| 75 | + |
| 76 | +* Analyzes request rates using the <<ml-nonzero-count,`non_zero_count` function>>. |
| 77 | + |
| 78 | +Required {beats} or {agent} integrations::: |
| 79 | + |
| 80 | +* Apache integration |
| 81 | + |
| 82 | +[[apache-access-logs-filebeat]] |
| 83 | +== Apache access logs ({filebeat}) |
| 84 | + |
| 85 | +These legacy {anomaly-jobs} find unusual activity in HTTP access logs. For the |
| 86 | +latest versions, install the Apache integration in {fleet}; see |
| 87 | +<<apache-access-logs>>. |
| 88 | + |
| 89 | +For more details, see the {dfeed} and job definitions in |
13 | 90 | https://github.com/elastic/kibana/tree/{branch}/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml[GitHub].
|
14 | 91 |
|
15 | 92 | These configurations are only available if data exists that matches the
|
16 | 93 | recognizer query specified in the
|
17 | 94 | https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json#L8[manifest file].
|
18 | 95 |
|
19 | 96 | low_request_rate_ecs::
|
| 97 | +Detects low request rates. |
| 98 | + |
| 99 | +Job details::: |
20 | 100 |
|
21 |
| -* For HTTP web access logs where `event.dataset` is `apache.access`. |
22 |
| -* Models the event rate of HTTP requests. |
23 |
| -* Detects unusually low counts of HTTP requests compared to the previous event |
24 |
| - rate. |
| 101 | +* Analyzes request rates (using the <<ml-count,`low_count` function>>). |
| 102 | + |
| 103 | +Required {beats} or {agent} integrations::: |
| 104 | + |
| 105 | +* {filebeat} |
25 | 106 |
|
26 | 107 | source_ip_request_rate_ecs::
|
| 108 | +Detects unusual source IPs. |
| 109 | + |
| 110 | +Job details::: |
27 | 111 |
|
28 |
| -* For HTTP web access logs where `event.dataset` is `apache.access`. |
29 |
| -* Models the event rate of HTTP requests by source IP. |
30 |
| -* Detects source IPs with unusually high request rates in the HTTP access log |
31 |
| - compared to the previous rate. |
| 112 | +* Analyzes request rates (using the <<ml-count,`high_count` function>>) |
| 113 | +relative to all the source IPs (`over_field_name` is `source.address`). |
| 114 | + |
| 115 | +Required {beats} or {agent} integrations::: |
| 116 | + |
| 117 | +* {filebeat} |
32 | 118 |
|
33 | 119 | source_ip_url_count_ecs::
|
| 120 | +Detects unusal source IPs. |
| 121 | + |
| 122 | +Job details::: |
| 123 | + |
| 124 | +* Analyzes distinct counts of URLs (using the |
| 125 | +<<ml-distinct-count,`high_distinct_count` function>> on the `url.original` |
| 126 | +field) relative to all the source IPs (`over_field_name` is `source.address`). |
34 | 127 |
|
35 |
| -* For HTTP web access logs where `event.dataset` is `apache.access`. |
36 |
| -* Models the event rate of HTTP requests by source IP. |
37 |
| -* Detects source IPs with unusually high distinct count of URLs in the HTTP |
38 |
| -access log. |
| 128 | +Required {beats} or {agent} integrations::: |
| 129 | + |
| 130 | +* {filebeat} |
39 | 131 |
|
40 | 132 | status_code_rate_ecs::
|
41 | 133 |
|
42 |
| -* For HTTP web access logs where `event.dataset` is `apache.access`. |
43 |
| -* Models the occurrences of HTTP response status codes. |
44 |
| -* Detects unusual status code rates in the HTTP access log compared to previous |
45 |
| - rates. |
| 134 | +Detects unusual status code rates. |
| 135 | + |
| 136 | +Job details::: |
| 137 | + |
| 138 | +* Analyzes request rates (using the <<ml-count,`count` function>>) split by |
| 139 | +status code (`partition_field_name` is `http.response.status_code`). |
| 140 | + |
| 141 | +Required {beats} or {agent} integrations::: |
| 142 | + |
| 143 | +* {filebeat} |
46 | 144 |
|
47 | 145 | visitor_rate_ecs::
|
| 146 | +Detects unusual visitor rates. |
| 147 | + |
| 148 | +Job details::: |
| 149 | + |
| 150 | +* Analyzes request rates using the <<ml-nonzero-count,`non_zero_count` function>>. |
| 151 | + |
| 152 | +Required {beats} or {agent} integrations::: |
| 153 | + |
| 154 | +* {filebeat} |
48 | 155 |
|
49 |
| -* For HTTP web access logs where `event.dataset` is `apache.access`. |
50 |
| -* Models visitor rates. |
51 |
| -* Detects unusual visitor rates in the HTTP access log compared to previous |
52 |
| - rates. |
53 | 156 | // end::apache-jobs[]
|
0 commit comments