[7.450][BUG][NOTABUG] searching logs with things like [***x] show everything

Hi

in View log files get any process id for a given subsystem (ie: openvpn[3473]) then in search log files try to search for your subsystem things like [3473] (with the []) this will results in showing everything...

sometimes we need to check for a given process (with the []) so we need to be able to search for things like [1234]...

also if using [***x] you will have things which must not be shown...

thx
Parents Reply
  • The search string may contain regular expressions which will be passed on to grep. That implies that you follow the rules of grep.
    The search string [3473] will show you all lines containing 3, 4 or 7.

    To obtain your expected result you need to escape the special characters '[]' ->  [1234] 
    Documentation about the regex is available in the manual pages of grep(1) and regex(7).
Children
  • The search string may contain regular expressions which will be passed on to grep. That implies that you follow the rules of grep.
    The search string [3473] will show you all lines containing 3, 4 or 7.

    To obtain your expected result you need to escape the special characters '[]' ->  [1234] 
    Documentation about the regex is available in the manual pages of grep(1) and regex(7).


    ok so maybe you need to add some hints on the page telling that search/regex is applied there [:)]

    thx

    you can close that one