Skip to content

docs(outputs.zabbix): JSON Lines output is fenced as json #19197

Description

@jstirnaman

Summary

In plugins/outputs/zabbix/README.md, three output examples are fenced as
json. Each shows newline-delimited JSON objects (one per line), which isn't a
single JSON document.

{"host": "hostname", "key": "telegraf.measurement.valueA", "value": "0"}
{"host": "hostname", "key": "telegraf.measurement.valueB", "value": "1"}

Suggested fix

Fence the three blocks as jsonl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions