Get Event Watcher Policies
get
                    /api/event/WatcherPolicies
Gets the event watcher policies that match the specified parameters. If no parameters are specified, all event watcher policies are returned.
                Request
Query Parameters
                    - 
                            filter: object
                            
                            The fields to filter the results by. You cannot filter by fields that contain a state.
 This parameter's value uses the following JSON format:
 { "property": "property", "value": "propertyValue", "operator": "operator", "conjunction": "conjunction" }
 If you use multiple JSON objects to combine filters, for example, to filter by several different device names, you cannot combine OR and AND conjunctions. The conjunction used for the last object applies to the entire list.- 
        conjunction: 
        string
        Default Value:ORAllowed Values:[ "AND", "OR" ]The conjunction between filters.Example:AND
- 
        operator: 
        string
        Default Value:LIKEAllowed Values:[ "eq", "ne", "gte", "gt", "lte", "lt", "LIKE", "NOT LIKE", "re", "not re", "NOT IN" ]The filter operation to use.Example:eq
- 
        property(required): 
        string
        The name of the field to filter on.Example:name
- 
        value(required): 
        string
        The value of the field to filter on.Example:test
 
- 
        conjunction: 
        string
        
- 
                            limit: integer(int32)
                            
                            The number of records to limit results by. If you do not also set the start parameter, records start at 0.Example:100
- 
                            sort: object
                            
                            The field and direction to sort results by. You cannot sort by fields that contain a state.
 This parameters value uses the following JSON format: { "property": "property", "direction": "direction" }- 
        direction(required): 
        string
        Allowed Values:[ "ASC", "DESC" ]The direction of the sort.Example:ASC
- 
        property(required): 
        string
        The field to sort on.Example:name
 Example:[ { "property":"Name", "direction":"ASC" }, { "property":"Value", "direction":"DESC" } ]
- 
        direction(required): 
        string
        
- 
                            start: integer(int32)
                            
                            The page of results to start from. This parameter is ignored if you do not also set the limit parameter.Default Value:0Example:1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
                - application/json
200 Response
Successful operation
                            
                            
                                Root Schema : schema
    
    	
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    
        
    
        
    
    Show Source
    - 
                
                object 
                
                
             SuccessfulGetOperation
                
            The response body for a successful get operation.
- 
                
                object 
                
                
             type
                
            
Nested Schema : SuccessfulGetOperation
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe response body for a successful get operation.
    
    
    
    
        Show Source
        - 
                
                    
                    message: string
                    
                    
                     
                    
                
                
                The response message.Example:Loaded 1 entries
- 
                
                    
                    success: boolean
                    
                    
                     
                    
                
                
                Whether the operation was a success (true) or a failure (false).Example:true
Nested Schema : type
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    data: array
                    
                    
                
                
                    data
                
                
                The list of event watcher policies that match the specified parameters.
- 
                
                    
                    total: integer
                    
                    
                     
                    
                
                
                The total number of results regardless of paging.Example:1
Nested Schema : data
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayThe list of event watcher policies that match the specified parameters.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
Nested Schema : eventWatcherPoliciesRead
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    ActionType: string
                    
                    
                     
                    
                
                
                Indicates which type of action to take when a threshold is crossed. - event => Meta Event - notification => Notification profileExample:event
- 
                
                    
                    EmailAddresses: string
                    
                    
                     
                    
                
                
                Comma-separated list of notification recipients.Example:
- 
                
                    
                    Filters: array
                    
                    
                
                
                    Filters
                
                
                List of Filters with the Watcher
- 
                
                    
                    NotificationProfileID: integer
                    
                    
                     
                    
                
                
                ID of the notification profile.Example:0
- 
                
                    
                    NotificationProfileName: string
                    
                    
                     
                    
                
                
                Notification Profile NameExample:oracle.doceng.json.BetterJsonNull@3aec2f59
- 
                
                    
                    NotificationTemplateID: integer
                    
                    
                     
                    
                
                
                ID of the notification template.Example:0
- 
                
                    
                    NotificationTemplateName: string
                    
                    
                     
                    
                
                
                Notification Template NameExample:oracle.doceng.json.BetterJsonNull@fefd4a2
- 
                
                    
                    PolicyAction: string
                    
                    
                     
                    
                
                
                Action associated with the PolicyExample:Meta Event: Login Failure x3
- 
                
                    
                    PolicyAuthor: string
                    
                    
                     
                    
                
                
                Policy AuthorExample:Administrator
- 
                
                    
                    PolicyDescription: string
                    
                    
                     
                    
                
                
                Event Watcher Policy DescriptionExample:For any Login Failures by Node in the last 15 mins If any login failures occur and the Sum of Count >= 3, create this event.
- 
                
                    
                    PolicyEventID: integer
                    
                    
                     
                    
                
                
                The ID of the Meta Event that should be dispatched if the threshold condition is met for the filtered metricsExample:3
- 
                
                    
                    PolicyEventName: string
                    
                    
                     
                    
                
                
                The Name of the Meta Event that should be dispatched if the threshold condition is met for the filtered metricsExample:Login Failure x3
- 
                
                    
                    PolicyFilter: string
                    
                    
                     
                    
                
                
                SQL used to select which events will be processed by this CAPE Policy's node(s)Example:(EventType = 'LoginLogout' AND Severity > 1 AND LastReported > (UNIX_TIMESTAMP() - 900))
- 
                
                    
                    PolicyGrouping: string
                    
                    
                     
                    
                
                
                A SQL "GROUP BY" clause that allows the filtered metrics to be grouped. Valid format is empty or a comma-delimited list of one or more Event.Events field namesExample:Node
- 
                
                    
                    PolicyID: integer
                    
                    
                     
                    
                
                
                Policy ID specified for individual CRUD operationsExample:2
- 
                
                    
                    PolicyName: string
                    
                    
                     
                    
                
                
                Event Watcher Policy NameExample:Login Failure x3
- 
                
                    
                    PolicyPollTime: integer
                    
                    
                     
                    
                
                
                How often, in seconds, should this policy be checkedExample:900
- 
                
                    
                    PolicyStatus: string
                    
                    
                     
                    
                
                
                Event Watcher Policy StatusExample:Disabled
- 
                
                    
                    PolicyStatusIcon: string
                    
                    
                     
                    
                
                
                Event Watcher Policy Status IconExample:OrbRed.png
- 
                
                    
                    PolicyStatusID: integer
                    
                    
                     
                    
                
                
                The event watcher policy status ID. Either 0 (disabled) or 1 (enabled).Example:0
- 
                
                    
                    PolicyThreshold: string
                    
                    
                     
                    
                
                
                Overall threshold operationExample:sum(Count) >= 3
- 
                
                    
                    PolicyThresholdField: string
                    
                    
                     
                    
                
                
                Field from Event.Events DB table to use in threshold calculation. Value must be a field in Events. The Threshold condition is formulated as 'if ($PolicyThresholdMetric($PolicyThresholdField) $PolicyThresholdOperatorID $PolicyThresholdValue)'Example:Count
- 
                
                    
                    PolicyThresholdMetric: string
                    
                    
                     
                    
                
                
                SQL Function applied to $PolicyThresholdField and compared with the $PolicyThresholdOperatorID operator against $PolicyThresholdValue The Threshold condition is formulated as 'if ($PolicyThresholdMetric($PolicyThresholdField) $PolicyThresholdOperatorID $PolicyThresholdValue)' Allowed Values: - count - sum - max - min - avgExample:sum
- 
                
                    
                    PolicyThresholdOperatorID: integer
                    
                    
                     
                    
                
                
                The OperatorID of the threshold calculation The Threshold condition is formulated as 'if ($PolicyThresholdMetric($PolicyThresholdField) $PolicyThresholdOperatorID $PolicyThresholdValue)' Allowed Values: - 0 => = - 1 => > - 2 => >= - 3 => < - 4 => <= 5 -> !==>Example:2
- 
                
                    
                    PolicyThresholdValue: number
                    
                    
                     
                    
                
                
                The numeric value used in the threshold condition. The Threshold condition is formulated as 'if ($PolicyThresholdMetric($PolicyThresholdField) $PolicyThresholdOperatorID $PolicyThresholdValue)'Example:3
- 
                
                    
                    SearchType: string
                    
                    
                     
                    
                
                
                Indicates which type of search - field => Guided - sql => Manual SQLExample:sql
Nested Schema : Filters
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayList of Filters with the Watcher
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    Example:
    
    
[
    {
        "FieldName":"Ack",
        "Expression":"0",
        "FieldValue":""
    },
    {
        "FieldName":"Action",
        "Expression":"0",
        "FieldValue":""
    },
    {
        "FieldName":"Actor",
        "Expression":"0",
        "FieldValue":""
    }
]Nested Schema : items
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    Expression: 
                    
                    
                    
                        
                    
                
                
                Example:0
- 
                
                    
                    FieldName: 
                    
                    
                    
                        
                    
                
                
                Example:Ack
- 
                
                    
                    FieldValue: 
                    
                    
                    
                        
                    
                
                
                Example:
Default Response
Failed operation
                            
                            
                                Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    errors: array
                    
                    
                
                
                    errors
                
                
                The list of errors reported. Validation errors will be keyed by record field.
- 
                
                    
                    message: string
                    
                    
                     
                    
                
                
                The response message.Example:Exception thrown
- 
                
                    
                    success: boolean
                    
                    
                     
                    
                
                
                Whether the operation was a success (true) or a failure (false).Example:false
Nested Schema : errors
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayThe list of errors reported. Validation errors will be keyed by record field.
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  items
            
            An error.
Nested Schema : items
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectAn error.