rsyslog / liblognorm

a fast samples-based log normalization library
http://www.liblognorm.com
GNU Lesser General Public License v2.1
99 stars 64 forks source link

FIX CEF PARSER #351

Closed EmileDqy closed 3 years ago

EmileDqy commented 3 years ago

Currently, the CEF parser fails for two reasons:

This is particularly problematic for us as we have a lot of data in this format to parse.

Behavior:

Tests

With this fix, the CEF parser is now more flexible than before when it comes to the trailing spaces after the headers (it ignores them). I had to change the tests that were dealing with this behavior.