EN
Español
English
Português
    Filters for querying incidents in HP TechPulse

    HP TechPulse offers the option to filter the incidents that will be imported into ASMS.

    • You can filter using the following structure [Attribute Name] [Operator] [Value].
    • The expression language used in the filter parameter supports references to attributes and literals. Literal values can be strings in double quotes, numbers, dates and times in double quotes, and Boolean values, i.e., true or false.
    • The attribute name and attribute operator are not case-sensitive, unless the attribute type is defined as a caseExact string.
    • Each expression must contain an attribute name followed by an attribute operator and an optional value.
    • Multiple expressions can be combined using the two logical operators (AND, OR). In addition, expressions can be grouped using “()”.
    • The ‘eq’, ‘co’, and ‘sw’ attribute operators must perform caseIgnore matching for all string attributes unless the attribute is defined as caseExact.

    The operators supported in the expression are listed in the following table.

    Operator Description Behaviour
    Eq equal The attribute and operator values must be identical for a match.
    co Contains The value of the entire operator must be a substring of the attribute value for a match.
    Pr present (has value) If the attribute has a non-empty value, or if it contains a non-empty node for complex attributes, there is a match.
    Gt larger than If the value of the attribute is greater than the value of the operator, there is a match. The actual comparison depends on the type of attribute. For string attribute types, this is a lexicographic comparison, and for DateTime types, this is a chronological comparison.
    Ge greater than or equal to If the value of the attribute is greater than or equal to the value of the operator, there is a match. The actual comparison depends on the type of attribute. For string attribute types, this is a lexicographic comparison, and for DateTime types, this is a chronological comparison.
    is less than If the value of the attribute is less than the value of the operator, there is a match. The actual comparison depends on the type of attribute. For string attribute types, this is a lexicographic comparison, and for DateTime types, this is a chronological comparison.
    him less than or equal If the value of the attribute is less than or equal to the value of the operator, there is a match. The actual comparison depends on the type of attribute. For string attribute types, this is a lexicographic comparison, and for DateTime types, this is a chronological comparison.
    • Incident Properties
    AssigneeDetails 
    AssigneeId 
    CompanyDetails 
    CreatedAt 
    CreatedByTenantId 
    CreatedByUserDetails 
    CreatedByUserId 
    CreatedForEmail 
    CreatedForPhone 
    Description 
    DeviceDetails 
    DeviceId 
    DisplayId 
    ErrorCode 
    Guid 
    Id 
    IsArchived 
    IsDeleted 
    LastAssigeeUpdatedAt 
    LastStatusUpdatedAt 
    MeasureId 
    Metadata 
    MethodClosed 
    OccuredAt 
    Os 
    Priority 
    Repeated 
    Score 
    SourceId 
    SourceLocation 
    Status 
    Subtype 
    Tags 
    TenantId 
    Title 
    Type 
    UpdatedAt 
    UserDetails 
    UserId 
    

    Example

    Incidents created after an assigned date will be imported (dates must be in milliseconds ):

    createdAt gt 1637298000000 
    

    Only “Desktop” and “Notebook” incidents will be imported

    (devicetype eq \"Desktop\") and (devicetype eq \"Notebook\")
    

    ( For more information on HP TechPulse APIs, please refer to their documentation: View API Incidents and Best Practices)


    ↩ Return