-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiline Config not applied #1008
Comments
You might need to set
|
Do you see a specific error when trying to deploy? My only other suggestion would be adding ""
|
Antoine has likely identified your issue. It is also handy to review what this renders in the configmap so you can read the logic. I have to advise this is really not recommended, as its is very unlikely your entire cluster needs the logs passed thru this regex. Will likely result in unexpected issues and performance impacts. It is strongly recommended to try and target the actual workloads that this rule will apply. You can create some pretty flexible rules if you look under the hood in the configmap and take the router and operator logic and move it into Otherwise 🤷 yolo! |
Yes! The the solution was to enable useRegexp for all "layers". Thanks @atoulme Also thank you @matthewmodestino for the advices. We will look into it and try to specify it to the very specific workloads! |
Hi all,
we try to set a MultiLineConfig for all Namespaces, Pods and Containers. It should use Multiline for all logs starting with "Caused by" or a leading whitespace. The config looks like this:
If I put this regex in regex101 and test it with a Log it works just fine. I suppose it doesn't apply correctly. Is the wildcard .* valid?
Or any other ideas why it doesn't work?
Best regards
The text was updated successfully, but these errors were encountered: