docs(inputs.example): correctly set syntax highlighting and section name (#12471)

This commit is contained in:
Thomas Casteleyn 2023-01-10 14:46:17 +01:00 committed by GitHub
parent b543efdcfc
commit 82bf8497f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -75,13 +75,13 @@ SELECT max(field1), mean(field1), min(field1) FROM measurement1 WHERE tag1=bar A
This optional section can provide basic troubleshooting steps that a user can This optional section can provide basic troubleshooting steps that a user can
perform. perform.
## Example ## Example Output
This section shows example output in Line Protocol format. You can often use This section shows example output in Line Protocol format. You can often use
`telegraf --input-filter <plugin-name> --test` or use the `file` output to get `telegraf --input-filter <plugin-name> --test` or use the `file` output to get
this information. this information.
```shell ```text
measurement1,tag1=foo,tag2=bar field1=1i,field2=2.1 1453831884664956455 measurement1,tag1=foo,tag2=bar field1=1i,field2=2.1 1453831884664956455
measurement2,tag1=foo,tag2=bar,tag3=baz field3=1i 1453831884664956455 measurement2,tag1=foo,tag2=bar,tag3=baz field3=1i 1453831884664956455
``` ```