Filebeat excluding lines

(Uros Meglic) #1


what would be correct setting for "exclude_lines". I would like to exclude every line that begins with "#". Currently I'm using "exclude_lines: ["^#"]". Is this ok?

Thank you and kind regards,


(ruflin) #2

This looks ok. Not sure if # is a special char and perhaps '..' should be used. Did you try it out and it didn't work?

(Uros Meglic) #3


yeah, it is working. At least it looks like it. :slight_smile: I just wanted a second opinion...

Thanks and kind regards,


(system) #4

This topic was automatically closed after 21 days. New replies are no longer allowed.