Skip to main content

SystemLogFilterInput

The SystemLogFilterInput object is used to filter the results of the SystemLog query. Each field corresponds to a specific attribute in the log entries and is optional. If a field is provided, the query will return only the log entries that match the provided value for that field.

FieldTypeDescription
log_typeStringType of the log entry. Can be INFO, ERROR, WARNING, or SUCCESS.
operationStringOperation that was performed when the log entry was created.
entity_idIDID of the entity associated with the log entry.
entity_typeStringType of the entity associated with the log entry.
start_dateDateTimeStart date for filtering the log entries. Only
entries created after this date will be returned.
end_dateDateTimeEnd date for filtering the log entries. Only entries created before this date will be returned.
input SystemLogFilterInput {
endDate: ISO8601DateTime
entityId: ID!
entityType: LogEntityTypeEnum!
logType: LogTypeEnum
operation: String
startDate: ISO8601DateTime
}

Fields

SystemLogFilterInput.endDate ● ISO8601DateTime scalar common

Filter by end_date. This field is used to filter the log entries by the date and time they were created. Only log entries created before the end_date will be returned.

SystemLogFilterInput.entityId ● ID! non-null scalar common

Filter by entity_id. This field corresponds to the entity_id column in the sys_logs table. The value is the ID of the entity associated with the log entry.

SystemLogFilterInput.entityType ● LogEntityTypeEnum! non-null enum common

Filter by entity_type. This field corresponds to the entity_type column in the sys_logs table. The value is the type of the entity associated with the log entry.

SystemLogFilterInput.logType ● LogTypeEnum enum common

Filter by log_type. This field corresponds to the log_type column in the sys_logs table. The value can be INFO, ERROR, WARNING, or SUCCESS.

SystemLogFilterInput.operation ● String scalar common

Filter by operation. This field corresponds to the operation column in the sys_logs table. The value is the operation that was performed when the log entry was created.

SystemLogFilterInput.startDate ● ISO8601DateTime scalar common

Filter by start_date. This field is used to filter the log entries by the date and time they were created. Only log entries created after the start_date will be returned.

Member Of

systemLogs query