Skip to content

How to filter out blank lines and specific entries from log4net files #13519

Answered by jszwedko
marketier asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @marketier !

You can use the filter transform to filter out lines based on defined conditions.

These also seem like they might be multiline logs? If so, you could also look at the multiline configuration for the file source to read the multiline log:

2022-07-12 12:12:20,615 [5928] DEBUG VehicleScore Updated By: 0
Setting: FlagToReset

As one event. Assuming that I'm correct that these are multiline logs and not just unformatted log lines.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@marketier
Comment options

@jszwedko
Comment options

@marketier
Comment options

@spencergilbert
Comment options

Answer selected by JeanMertz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants