nsyslog-parser
nsyslog-parser copied to clipboard
Fixes issues with escaping characters in CEF parsing
Addresses issue https://github.com/solzimer/nsyslog-parser/issues/9
Hi @hanvyj , I'm reviewing the changes so I can merge the pull request. Thanks for your contribution!
Hope it's okay. I tried to use similar escaping logic for fields as was in the header parsing.
I was using this as a source for changing the test data (looked like it was originally from a similar source):
https://kc.mcafee.com/resources/sites/MCAFEE/content/live/CORP_KNOWLEDGEBASE/78000/KB78712/en_US/CEF_White_Paper_20100722.pdf
Edit: Hmm, did a commit to publish a fork, wasn't expecting it to get pulled into the PR