iis_iis10_sdh: Accept IIS 10 Log Format #3476
Merged
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?
IIS Beats module doesn't support the below type of IIS 10 log format:
2018-12-31 12:02:53 10.44.0.136 GET / - 443 - 10.50.6.188 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+5.1;+Trident/4.0) - - 401 0 0 0
Gives the below error :
Provided Grok expressions do not match field value: [2021-06-10 23:26:57 10.44.0.136 GET / - 80 - 10.46.208.5 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+5.1;+Trident/4.0) - itweb.acx.co 200 0 0 23]
This PR adds support for a log format for IIS 10 logs.
A new grok pattern was added that supports parsing cookie in the IIS 10 log.
Checklist
changelog.yml
file.How to test this PR locally
Pipeline tests have been added for the new format of logs.
Running elastic-package test pipeline should be good.