I have log messages coming in and a few of them have one of three special characters: @, -, or #.
How can I get grok to ignore the hashtag without removing it from the new field? Below is the code snippet I'm using.
It works fine when it's just this:
But when I add the hasthtag, the rest becomes a comment: