Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logs-config.md - structured_metadata #7026

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
6 changes: 5 additions & 1 deletion docs/sources/static/configuration/logs-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ a Loki push API endpoint. `logs_config` is identical to how Promtail is
configured, except deprecated fields have been removed and the server_config is
not supported.

## structured_metadata

A Grafana Agent deployment similar to `promtail --> grafana-agent --> Loki` can't forward `structured_metadata` received from Promtail to Loki.


Refer to the
[Promtail documentation](https://grafana.com/docs/loki/latest/send-data/promtail/configuration/)
for the supported values for these fields.

```yaml
# Directory to store Loki Promtail positions files in. Positions files are
# required to read logs, and are used to store the last read offset of log
Expand Down