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.
| Field | Type | Description |
|---|---|---|
log_type | String | Type of the log entry. Can be INFO, ERROR, WARNING, or SUCCESS. |
operation | String | Operation that was performed when the log entry was created. |
entity_id | ID | ID of the entity associated with the log entry. |
entity_type | String | Type of the entity associated with the log entry. |
entities | [LogEntityInput] | References to several entities to retrieve |
logs for. Takes precedence over entity_id/entity_type when provided. | ||
start_date | DateTime | Start date for filtering the log entries. Only |
| entries created after this date will be returned. | ||
end_date | DateTime | End date for filtering the log entries. Only entries created before this date will be returned. |
input SystemLogFilterInput {
endDate: ISO8601DateTime
entities: [LogEntityInput!]
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.entities ● [LogEntityInput!] list input common
Retrieve logs for several entities at once, each with its own id and type.
When provided, it takes precedence over entityId and entityType.
SystemLogFilterInput.entityId ● ID 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 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