Skip to content

appd get-health-rule-violations

Get all health rule violations of an application in a specific time period

Description

Get all health rule violations of an application in a specific time period

Synopsis

appd get-health-rule-violations
    [--site <site>]
    [--cluster <cluster>]
    <application>
    [--start_time <start_time>]
    [--end_time <end_time>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

cluster - (string)

     Name of elastic search cluster
     Example: --cluster "appdynamics-default"
     Default: appdynamics-default      Attributes: optional

application - (string)

     application name or ID
     Example: "app-1"
     Default: _None_      Attributes: required

start_time - (time)

     time from which to get metrics data
     Example: --start_time "15m ago"
     Default: 15m ago      Attributes: optional

end_time - (time)

     time to which to get metrics data
     Example: --end_time "now"
     Default: now      Attributes: optional

Examples

appd get-health-rule-violations "app-1"

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "appd"
Service Instance cluster
Namespace
Object Type "application"
Object ID application

Please see Access Control for details.