Advanced Log Filter - Specify EXACT Port number
anengelsen last edited by
I would like to apply a (destination port) filter to the Firewall logs.
Is it possible to specify an exact port number? Right now I am getting port values that are not an exact match.
Destination Port #: 19
Results: 1900, 3190, 19, 51419, etc.
As the help text under the Apply Filter button says, the fields accept regular expressions. So if you only want to match port
19then you would anchor the regex with the start and end of string like so:
anengelsen last edited by anengelsen
@jimp That works! Thank you very much.
This is the external resource that I need to bookmark. ;)
Konstanti last edited by Konstanti
you can also use a regular expression like this
That matches the string anywhere in the port number, same as leaving it as
19which isn't what OP wanted. They wanted it to only match port
19and no others, so using
^19$is the way to do it.