SessionAdvancedSearchResponse¶
Source definition: src/bitdrift/public/unary/timeline/v1/search.proto#L142-L179
| Field | Type | Description |
|---|---|---|
| total_pages | uint32 | The total number of pages of results (based on limit). |
| results | The results for this page. | |
| total_results | uint32 | The total number of results. |
Example
JSON
{
"results": [
{
"log": {
"fields": {
"fields": {
"key": {
"string_data": ""
}
}
},
"listener_ids": [
"abc-123-def"
],
"log_level": "DEBUG",
"log_type": "REPLAY",
"message": "Example text",
"timestamp": "2024-01-15T09:30:00Z"
},
"matches": [
{
"fields_json_path": "$.fields.os_version"
}
],
"row_number": 5
}
],
"total_pages": 3,
"total_results": 42
}
SessionAdvancedSearchResponse.Result¶
Source definition: src/bitdrift/public/unary/timeline/v1/search.proto#L152-L178
| Field | Type | Description |
|---|---|---|
| log | The matching log. | |
| row_number | uint32 | The index of the log within the session timeline. |
| matches | The list of matches for this log. |
Example
JSON
{
"log": {
"fields": {
"fields": {
"key": {
"string_data": ""
}
}
},
"listener_ids": [
"abc-123-def"
],
"log_level": "DEBUG",
"log_type": "REPLAY",
"message": "Example text",
"timestamp": "2024-01-15T09:30:00Z"
},
"matches": [
{
"fields_json_path": "$.fields.os_version"
}
],
"row_number": 5
}
SessionAdvancedSearchResponse.Result.Match¶
Source definition: src/bitdrift/public/unary/timeline/v1/search.proto#L153-L168
| Field | Type | Description |
|---|---|---|
| fields_json_path | stringonly one of fields_json_path, or message, log_level, log_type can be set | The JSONPath of the matching field, set when a FieldMatch or RawMatch matched a field value. |
| message | boolonly one of message, or fields_json_path, log_level, log_type can be set | Set to true when a RawMatch matched the log message. |
| log_level | boolonly one of log_level, or fields_json_path, message, log_type can be set | Set to true when a LogLevelMatch matched the log level. |
| log_type | boolonly one of log_type, or fields_json_path, message, log_level can be set | Set to true when a LogTypeMatch matched the log type. |
Example
JSON
{
"fields_json_path": "$.fields.os_version"
}