Fix parsing of apache trace log levels#28717
Merged
jsoriano merged 4 commits intoelastic:masterfrom Nov 23, 2021
Merged
Conversation
Apache levels may contain numbers as sublevels such as trace1.
Contributor
|
Pinging @elastic/integrations (Team:Integrations) |
Contributor
|
This pull request does not have a backport label. Could you fix it @jsoriano? 🙏
NOTE: |
This was referenced Oct 29, 2021
Contributor
Contributor
|
This pull request is now in conflicts. Could you fix it? 🙏 |
francescayeye
approved these changes
Nov 22, 2021
mtojek
approved these changes
Nov 22, 2021
| @@ -0,0 +1,2 @@ | |||
| [Wed Oct 20 19:20:59.121211 2021] [rewrite:trace3] [pid 121591:tid 140413273032448] mod_rewrite.c(470): [client 10.121.192.8:38350] 10.121.192.8 - - [api-dev.onintranet.com/sid#55a374e851c8][rid#7fb438083ac0/initial] applying pattern '^/bankimport/?(.*)$' to uri '/' | |||
Contributor
There was a problem hiding this comment.
nit: don't need to obfuscate this line? Does it contain any customer-specific data?
Member
Author
There was a problem hiding this comment.
Ok, I will change the urls.
mergify bot
pushed a commit
that referenced
this pull request
Nov 23, 2021
Apache levels may contain numbers as sublevels such as trace1. (cherry picked from commit 78f3a3b)
mergify bot
pushed a commit
that referenced
this pull request
Nov 23, 2021
Apache levels may contain numbers as sublevels such as trace1. (cherry picked from commit 78f3a3b)
jsoriano
added a commit
that referenced
this pull request
Nov 23, 2021
jsoriano
added a commit
that referenced
this pull request
Nov 23, 2021
v1v
added a commit
to v1v/beats
that referenced
this pull request
Nov 24, 2021
…ws-on-file-changes * upstream/master: override host on statsd metricset (elastic#29103) Skip config check in autodiscover for duplicated configurations (elastic#29048) Change "filebeat.config.modules.enabled" to "true" (elastic#28769) Remove deprecated spool queue from Beats (elastic#28869) Add `beat` field back to beat.stats (elastic#29094) Revert "Move labels and annotations under kubernetes.namespace. (elastic#27917)" (elastic#29069) heartbeat: remove w2008 in the CI (elastic#29093) Remove deprecated `--template` and `--index-policy` flags (elastic#28870) Fix parsing of apache trace log levels (elastic#28717) [Elastic-Agent] IUse itnernal port for local fleet server (elastic#28993) [Heartbeat] Log error on dupe monitor ID instead of strict req (elastic#29041) Enable pprof for elastic-agent and beats (elastic#28983)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
Add supports for log levels including numbers, such as
trace1, in the apache module.Why is it important?
Apache levels may contain numbers as sublevels such as trace1, such log lines cannot be parsed by current patterns.
Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Related issues
filebeat-7.15.0-apache-error-pipelinedoesn't recognize apachetracelog levels #28650.Logs
See #28650.