ConnectorLogFilterInput
Input
Selects Connector logs; every field set narrows the result. A field set both in query and in its structured filter (level, message, metadata, timestamp) is refused.
input ConnectorLogFilterInput {
connectorId: IDFilterExpressionInput
level: [ConnectorLogLevelInput]
message: StringFilterExpressionInput
metadata: StringMapStringFilterExpressionInput
query: String
timestamp: TimestampRangeFilterExpressionInput
}
Input fields
| Field | Type | Default | Description |
|---|---|---|---|
connectorId | IDFilterExpressionInput | The Connector, set from the parent Connector. | |
level | [ConnectorLogLevelInput] | The levels to keep, all of them when empty. LEVEL_UNSPECIFIED is ignored. | |
message | StringFilterExpressionInput | A filter on the log text. eq and in match the whole text, contains a part of it, and the CaseInsensitive variants ignore case; ne keeps the logs that do not contain the value and nin those whose whole text is none of the values; re is a regular expression found anywhere in the text. | |
metadata | StringMapStringFilterExpressionInput | A filter on the structured metadata. key names an entry and value filters it like message, except that ne means not equal and re must match the whole value; and, or and not combine filters (all, at least one, none). A log without the key reads as an empty value. | |
query | String | A search in the syntax of the logs screen, a Lucene subset. A word or "phrase" finds text in the message, /regex/ a pattern, -"phrase" leaves it out, and "a" OR "b" finds either; a query holds one such message term. key:value, key:(a OR b), key:val*, key:/regex/ and -key:value (or NOT key:value) match metadata; level:INFO and level:(INFO OR ERROR) select levels; timestamp:[2026-10-01 TO *] sets the period. AND (or a space), OR and parentheses combine terms, but an OR cannot mix a message term with key:value terms, nor involve level or timestamp. Operators are uppercase; a lowercase and, or or not is a word to find. At most 4,096 characters. | |
timestamp | TimestampRangeFilterExpressionInput | The period, with gte inclusive and lte exclusive. Without lte it ends now; without gte it starts 24 hours before its end. At most 30 days. |
Used by
Connector.logCountsByLevel(filter)(argument)Connector.logs(filter)(argument)