New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


How can i search Regular expressions file Content

Votes:

0

Your Vote:

Up

Down

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>

filesensor prtg regex

Created on Aug 12, 2014 8:24:54 PM by  Andreas Brauckmann (10) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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

Created on Aug 13, 2014 12:18:05 PM by  Arne Seifert [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.