QueryConstraint

QueryConstraint
QueryConstraint

Constraints for the query associated with this entity

JSON Example
{
    "constraints": {
        "operator": "AND",
        "fieldName": null,
        "value": null,
        "constraints": [
            {
                "operator": "EXISTS",
                "fieldName": "text",
                "value": "error",
                "constraints": [],
                "tags": []
            },
            {
                "operator": "EXISTS",
                "fieldName": "text",
                "value": "exception",
                "constraints": [],
                "tags": []
            },
            {
                "operator": "LESS_THAN",
                "fieldName": "build_number",
                "value": "7408",
                "constraints": [],
                "tags": []
            }
        ],
        "tags": []
    }
}
string
operator
Required

Query operator includes: AND, OR, EXISTS, CONTAINS etc

Possible values are : AND, OR, CONTAINS, DOES_NOT_CONTAIN, STARTS_WITH, NOT_STARTS_WITH, MATCH, STRING_MATCH, DOES_NOT_STRING_MATCH, EQUAL, NOT_EQUAL, GREATER_THAN, LESS_THAN, GREATER_OR_EQUAL, LESS_OR_EQUAL, IS, IS_NOT, EXISTS, NOT_EXISTS,
string
fieldName
Optional

Field name

string
value
Optional

Field value

constraints
Required

Query Constraint. Can be used to write nested queries

array of string
tags
Optional

tags