-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Collapse multiline logs based on a start line. #3024
Merged
Merged
Commits on Dec 3, 2020
-
Collapse multiline logs based on a start line.
Summary: This is a very simple approach based on grafana#1380 to provide multiline or block log entries in promtail. A `multiline` stage is added to pipelines. This stages matches a start line. Once a start line is matched all following lines are appended to an entry and not passed on to downstream stages. Once a new start line is matched the former block of multilines is sent. If now new line arrives withing `max_wait_time` the block is flushed to the next stage and a new block is started.
Configuration menu - View commit details
-
Copy full SHA for 6e70704 - Browse repository at this point
Copy the full SHA 6e70704View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f70762 - Browse repository at this point
Copy the full SHA 7f70762View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3db919d - Browse repository at this point
Copy the full SHA 3db919dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 851b91e - Browse repository at this point
Copy the full SHA 851b91eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 503a0d2 - Browse repository at this point
Copy the full SHA 503a0d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc715cb - Browse repository at this point
Copy the full SHA dc715cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ac6375 - Browse repository at this point
Copy the full SHA 6ac6375View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48b09d6 - Browse repository at this point
Copy the full SHA 48b09d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79c8c27 - Browse repository at this point
Copy the full SHA 79c8c27View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9ed133 - Browse repository at this point
Copy the full SHA f9ed133View commit details -
Update pkg/logentry/stages/multiline.go
Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ca7ad81 - Browse repository at this point
Copy the full SHA ca7ad81View commit details -
Configuration menu - View commit details
-
Copy full SHA for c07875e - Browse repository at this point
Copy the full SHA c07875eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c4dc8e - Browse repository at this point
Copy the full SHA 2c4dc8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb1cf59 - Browse repository at this point
Copy the full SHA bb1cf59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 138371b - Browse repository at this point
Copy the full SHA 138371bView commit details
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.