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
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
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