Skip to content

Commit

Permalink
docs: Update structured_metadata.md (#12355)
Browse files Browse the repository at this point in the history
Co-authored-by: J Stickler <julie.stickler@grafana.com>
  • Loading branch information
doanbutar and JStickler authored Mar 26, 2024
1 parent c0c7a19 commit d3266a1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ modifies the [structured metadata]({{< relref "../../../get-started/labels/struc

{{% admonition type="warning" %}}
Structured metadata will be rejected by Loki unless you enable the `allow_structured_metadata` per tenant configuration (in the `limits_config`).

Structured metadata was added to chunk format V4 which is used if the schema version is greater or equal to **13**. (See Schema Config for more details about schema versions. )
{{% /admonition %}}

## Schema
Expand Down Expand Up @@ -47,7 +49,7 @@ For the given pipeline:
Given the following log line:
```json
{"log":"log message\n","stream":"stderr","traceID":"0242ac120002",time":"2019-04-30T02:12:41.8443515Z"}
{"log":"log message\n","stream":"stderr","traceID":"0242ac120002","time":"2019-04-30T02:12:41.8443515Z"}
```

The first stage would extract `stream` with a value of `stderr` and `traceID` with a value of `0242ac120002` into
Expand Down

0 comments on commit d3266a1

Please sign in to comment.