---
title: "http_req_trailer | Speedscale Docs"
description: "Learn how to extract HTTP trailers from request traffic using Speedscale's http_req_trailer extractor for effective traffic transformation and analysis."
canonical: "https://docs.speedscale.com/guides/transformation/extractors/http_req_trailer/"
---

[Documentation index](https://docs.speedscale.com/guides/llms.txt) | [Markdown](https://docs.speedscale.com/guides/transformation/extractors/http_req_trailer/index.md) | [Canonical page](https://docs.speedscale.com/guides/transformation/extractors/http_req_trailer/)

# http\_req\_trailer

<a id="purpose"></a>

### Purpose

**http\_req\_trailer** extracts an HTTP trailer from the request portion of the RRPair.

<a id="usage"></a>

### Usage

```json
"type": "http_req_trailer",
"config": {
    "name": "<trailer>",
    "index": 0
}
```

*   **name** - the case-sensitive name of the HTTP trailer to extract
*   **index** - (optional) specifies the query parameter when multiple query parameters with the same name are present. (zero indexed, defaults to 0)

If the trailer does not exist it will be created.

<a id="example"></a>

### Example

```json
"type": "http_req_trailer",
"config": {
    "name": "Grpc-status"
}
```
