Regex is not working for sensitive data search

My application logs contain strings like the following:


I'm trying to get an exact match for these strings using a simple regex but I'm not getting any matches.

The regex filter is:

I am getting a lot of other results such as:
" password "
" passwd "

What am I doing wrong here? I'm using Kibana 3.1.2-07bbd7e.

I'm not sure what you mean by "I'm trying to get an exact match for these strings".

Are you trying to capture the "password123" part? Or just filter your logs where it contains a password?

Hi lukas -
We want to develop a regex to help us filter logs that have sensitive data such as passwords, access codes, etc., so that we can help our development team remove the sensitive data from our logs.

Any guidance can help in this regard.

Hi Lukas - Were you about to look at this request? Let me know.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.