What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

How do I select a value from xml to use for a HTTP XML/REST Value sensor?



I'm trying to extract the value of Queued in the xml below using the HTTP XML/REST Value sensor:

  <responsedata xmlns:xxxx="http://schemas.xxxxxxxxxx.com/aci/">
    <xxxx:stat class="Indexer" xxxxid="Queue" name="Received" metric="6" value="1665522"/>
    <xxxx:stat class="Indexer" xxxxid="Queue" name="Completed" metric="6" value="1665520"/>
    <xxxx:stat class="Indexer" xxxxid="Queue" name="Queued" metric="6" value="2"/>

I've tried many variations of the following:

  • xxxx:stat[@name='Queued']
  • stat[@name='Queued'] - doesnt seem to work (with 'Remove namespaces')
  • /stat[@Queued]

Am I using the correct sensor? If so, what is the correct syntax to pull out the value?


http-xml-rest sensor xml-rest

Created on Aug 19, 2020 11:28:48 AM

1 Reply




Please have a look at the following articles, where this is explained:
- How do I extract values from XML nodes
- HTTP XML/REST Value Sensor

If you cannot solve it, please open a support ticket at [email protected] and send us screenshots of the sensor settings, so we can take a closer look.

Kind Regards,
Timo Dambach
Paessler Tech Support

Created on Aug 20, 2020 7:37:10 AM by  Timo Dambach [Paessler Support]

Last change on Aug 20, 2020 7:37:20 AM by  Timo Dambach [Paessler Support]

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.