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

filtering channel ID to JSON output



Is there a tag I can add to my url query that filters the output to specfic channels ID of a probe.


...this gives several channels number 1-6. I only wish to display channel ID 4.

api channels json query rest

Created on Feb 24, 2020 4:32:21 PM

7 Replies



Hi there,

you can use the "&count=1" option to limit the output. However, in this way you can only exclude channels which are at the end of the output.

Created on Feb 25, 2020 8:26:39 AM by  Moritz Heller [Paessler Support]



Thank you Moritz!

Is it possible to format the PTRG JSON with HTML?

Created on Feb 25, 2020 2:40:29 PM



Hi callaghana,

You can change the output format of the API call:

"xml": default format (recommended)
"xmltable": a HTML table in XML format
"csvtable": comma separated format
"html": HTML table

More information can be found here

Created on Feb 26, 2020 7:06:33 AM by  Moritz Heller [Paessler Support]



Thank you Moritz - I can't get xmltable to work. this and the other XML examples don't display data but trigger a XML file download but I need the data to be live.

Created on Feb 26, 2020 9:19:25 AM



Hi Callaghana,

Please note that this is the only way to use XML as output.

Created on Feb 26, 2020 9:56:28 AM by  Moritz Heller [Paessler Support]



I might be going about this the wrong way. Do you know of a way to format ahtml page that sits on the the xml/json?

Created on Feb 26, 2020 4:04:19 PM



You might want to check PRTGapi to avoid headaches here :)

Created on Feb 27, 2020 12:12:51 PM by  Stephan Linke [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.