FRAMES | NO FRAMES Description | Parameters | Request | Example | Response
URL: http://server:port/arcgis/admin/logs/countErrorReports
HTTP Method: POST
Parent Resource: Logs
Required Privileges:Publisher or Administrator

Description

This operation counts the number of error reports (crash reports) that have been generated on each machine. The server will store only the latest count of reports as defined in the log settings.

Parameters

Parameter Description
machine The name of machine on which to count the reports. You can also use the value of All.
f The response format. Default is html.
Value: html | json

Request Format

      	http://server:port/arcgis/admin/logs/countErrorReports
		machine=SERVER.DOMAIN.COM
      

Response Format

{
	"machineName": "<machine name>",
  	"reportCount": <total errors>
}
      

Example

	
{
	"machineName": "SERVER.DOMAIN.COM",
  	"reportCount": 2;
}