Service: zimbraAdmin

Command: GetLoggerStats
Namespace: urn:zimbraAdmin
Description: Query to retrieve Logger statistics in ZCS
Use cases:
Properties:
Authorization token required true
Admin Authorization token required true

GetLoggerStatsRequest

    <GetLoggerStatsRequest> ## GetLoggerStatsRequest
        <hostname hn="{hostname}" /> ## HostName
        <stats [limit="{limit}"] [name="{stats-name}"]> ## StatsSpec
            List of any of: {
                <values> ## StatsValueWrapper
                    (<stat [name="..."] /> ## NamedElement)*
                </values>
            }
         </stats>
        <startTime time="{ts}" /> ## TimeAttr
        <endTime time="{ts}" /> ## See /startTime [ ## TimeAttr]
    </GetLoggerStatsRequest>

elements and attributes you can define within a <GetLoggerStatsRequest> element:

XPath Required / Optional Description
/hostname Optional (0 or 1) Hostname
/hostname@hn Required (only 1) Type: String
Hostname
/stats Optional (0 or 1) Stats
/stats@limit Optional (0 or 1) Type: String
if limit="true" is specified, attempt to reduce result set to under 500 records
/stats@name Optional (0 or 1) Type: String
Name
/stats/values Required (only 1)
/stats/values/stat Optional (0 or more) Stats specification
/stats/values/stat@name Optional (0 or 1) Type: String
Name
/startTime Optional (0 or 1) Start time
/startTime@time Required (only 1) Type: String
ts
/endTime Optional (0 or 1) End time
See /startTime for more details.

GetLoggerStatsResponse

    <GetLoggerStatsResponse> ## GetLoggerStatsResponse
        (<hostname hn="{hostname}"> ## HostStats
            <stats name="{stat-name}"> ## StatsInfo
                <values t="{t}"> ## StatsValues
                    (<stat name="{name}" [value="{value}"] /> ## NameAndValue)*
                 </values>
             </stats>
          </hostname>)*
        <note>{note} (String)</note>
    </GetLoggerStatsResponse>

elements and attributes you can define within a <GetLoggerStatsResponse> element:

XPath Required / Optional Description
/hostname Optional (0 or more) Info by hostname
/hostname@hn Required (only 1) Type: String
Hostname
/hostname/stats Optional (0 or 1) Stats information
/hostname/stats@name Required (only 1) Type: String
Stat name
/hostname/stats/values Optional (0 or 1) Stats values
/hostname/stats/values@t Required (only 1) Type: String
t
/hostname/stats/values/stat Optional (0 or more) Stats
/hostname/stats/values/stat@name Required (only 1) Type: String
Name
/hostname/stats/values/stat@value Optional (0 or 1) Type: String
Value
/note Optional (0 or 1) Type: {note} (String)
Note. For instance "Logger is not enabled"