appd get-events
Get events in an application
Description
Get events of a specific event type occurred in an application in a specific time period
Synopsis
appd get-events
[--site <site>]
[--cluster <cluster>]
<application>
[--type <type>]
[--severity <severity>]
[--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
type
- (string)
Type of the events.
Example: --type "CUSTOM"
Default: APPLICATION_CONFIG_CHANGE
Attributes: optional
severity
- (string)
Provides the severity levels.
Example: --severity "INFO"
Default: INFO
Attributes: optional
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-events "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.