[ML] Adds ML jobs for access logs to Apache package #910
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds an ML module containing anomaly detection jobs for finding unusual activity in HTTP access logs to the Apache integration. Requires Kibana 7.13.0 or later.
These are the same five jobs that have previously been stored inside the ML Kibana plugin:
Some minor edits have been made to the previous job configurations stored in the ML Kibana plugin:
apache_data_streamcompared toapache_ecsfor the legacy moduledata_stream.dataset: apache.accesscompared toevent.dataset: apache.accessfor the legacy moduleApache logs overviewdashboard which is already included in the Apache package.(ECS)has been removed from the module and job description_apacheis appended to the IDs of the jobs in the modulecreated_byproperty used for telemetry is set toml-module-apache-access-data-streamcompared toml-module-apache-accessfor the legacy moduleChecklist
changelog.ymlfile.How to test this PR locally
To test this PR:
logs-*, matching the query in the ML module JSON file:logs-*) and select the card for this new Apache access logs module:Related issues
elastic/package-spec#148
Screenshots
ML module is now listed in the Kibana assets section for the Apache package:

List of Apache jobs in the ML Job list:

Screenshot showing results of Apache ML jobs in the ML Anomaly Explorer:
