Mask rules for multiline log messages

Comments

2 comments

  • Avatar
    Shobhit Garg

    Hi Nathan,

    Please try below. I tested this for the sample message you have posted. 

    "filters":[{
          "filterType":"Mask",
          "name":"Maskrule",
          "regexp":"SoapWriter\\.\\d+ - \\[[0-9a-z]* [0-9a-z]*\\] - ([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})?\\s+-\\s+((?s).*)",
          "mask":"Redact"
        }],

    Regards

    1
    Comment actions Permalink
  • Avatar
    Nathan Norman

    Thank you Shobhit Garg for your response. This solution worked perfectly for me.

    0
    Comment actions Permalink

Please sign in to leave a comment.