MENU
      EventSearchRequest

        EventSearchRequest


        Article summary

        Available in Classic

        This is the requested information required to search for an event.

        Syntax

        The syntax is as follows.

        private long ruleId;
        private String eventId;
        private String query;
        private long startTime;
        private long endTime;
        private int pageSize;
        private int pageNum;
        private boolean onlyFetchUnCloseEvent;
        Java

        Field

        The following describes the fields.

        FieldTypeRequiredDescription
        ruleIdlongOptionalID of event rule to query
        eventIdStringOptionalID of event to query
        queryStringOptionalSearchable by rule name, metric name, or resource name
        startTimelongRequiredQuery start time (milliseconds)
        endTimelongRequiredQuery end time (milliseconds)
        pageSizeIntegerOptionalPage size
        • 20 (default)
        pageNumIntegerOptionalPage number
        • 1 (default)
        onlyFetchUnCloseEventBooleanOptional
        • true | false (default)

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.