# <a id="bitdrift.public.unary.timeline.v1.SessionAdvancedSearchResponse"></a>SessionAdvancedSearchResponse

**Source definition:** [`src/bitdrift/public/unary/timeline/v1/search.proto#L142-L179`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/timeline/v1/search.proto#L142-L179>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| total_pages | <span class="proto-type proto-type-primitive">uint32</span> | The total number of pages of results (based on limit). |
| results | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">timeline</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">SessionAdvancedSearchResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">Result</i>](#bitdrift.public.unary.timeline.v1.SessionAdvancedSearchResponse.Result "bitdrift.public.unary.timeline.v1.SessionAdvancedSearchResponse.Result")</span> | The results for this page. |
| total_results | <span class="proto-type proto-type-primitive">uint32</span> | The total number of results. |

</section>
<p class="h4">Example</p>
```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
}
```

# <a id="bitdrift.public.unary.timeline.v1.SessionAdvancedSearchResponse.Result"></a>SessionAdvancedSearchResponse.Result

**Source definition:** [`src/bitdrift/public/unary/timeline/v1/search.proto#L152-L178`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/timeline/v1/search.proto#L152-L178>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| log | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">timeline</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">Log</i>](bitdrift_public_unary_timeline_v1_Log.md "bitdrift.public.unary.timeline.v1.Log")</span> | The matching log. |
| row_number | <span class="proto-type proto-type-primitive">uint32</span> | The index of the log within the session timeline. |
| matches | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">timeline</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">SessionAdvancedSearchResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">Result</i><i class="proto-type-dot">.</i><i class="proto-type-part">Match</i>](#bitdrift.public.unary.timeline.v1.SessionAdvancedSearchResponse.Result.Match "bitdrift.public.unary.timeline.v1.SessionAdvancedSearchResponse.Result.Match")</span> | The list of matches for this log. |

</section>
<p class="h4">Example</p>
```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
}
```

# <a id="bitdrift.public.unary.timeline.v1.SessionAdvancedSearchResponse.Result.Match"></a>SessionAdvancedSearchResponse.Result.Match

**Source definition:** [`src/bitdrift/public/unary/timeline/v1/search.proto#L153-L168`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/timeline/v1/search.proto#L153-L168>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| fields_json_path | <span class="proto-type proto-type-primitive">string</span><span class="proto-field-annotation">only one of <em>fields_json_path</em>, or <em>message</em>, <em>log_level</em>, <em>log_type</em> can be set</span> | The JSONPath of the matching field, set when a FieldMatch or RawMatch matched a field value. |
| message | <span class="proto-type proto-type-primitive">bool</span><span class="proto-field-annotation">only one of <em>message</em>, or <em>fields_json_path</em>, <em>log_level</em>, <em>log_type</em> can be set</span> | Set to true when a RawMatch matched the log message. |
| log_level | <span class="proto-type proto-type-primitive">bool</span><span class="proto-field-annotation">only one of <em>log_level</em>, or <em>fields_json_path</em>, <em>message</em>, <em>log_type</em> can be set</span> | Set to true when a LogLevelMatch matched the log level. |
| log_type | <span class="proto-type proto-type-primitive">bool</span><span class="proto-field-annotation">only one of <em>log_type</em>, or <em>fields_json_path</em>, <em>message</em>, <em>log_level</em> can be set</span> | Set to true when a LogTypeMatch matched the log type. |

</section>
<p class="h4">Example</p>
```json
{
  "fields_json_path": "$.fields.os_version"
}
```

