Search String is: name=test1 flags=279 (with break)

\b(name=Scalper)\n(flags=279)\b

File Content: <content> name=test1 flags=279 window_num=0 name=test2 flags=279 window_num=0 <inputs>


Article Comments

Dear Mr. Brauckmann

The File Content Sensor (https://www.paessler.com/manuals/prtg/file_content_sensor.htm) allows to use Regex as search. The search method can be configured in the sensor settings, section "Search Method".

Limitations of the Regex methods are:

- The entire regular expression must fit into a single line - If multiple results are found, only the last one will be returned


Aug, 2014 - Permalink