docs(parsers.json_v2): Add links to testdata folder (#14358)

This commit is contained in:
Andreas Deininger 2023-11-28 21:44:54 +01:00 committed by GitHub
parent 3b698e5bda
commit 17edab98d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@ syntax supported is [GJSON Path
Syntax](https://github.com/tidwall/gjson/blob/v1.7.5/SYNTAX.md), you can go to
this playground to test out your GJSON path here:
[gjson.dev/](https://gjson.dev). You can find multiple examples under the
`testdata` folder.
[`testdata`][] folder.
## Configuration
@ -252,7 +252,9 @@ file,title=The\ Lord\ Of\ The\ Rings author="Tolkien",random=2
```
You can find more complicated examples under the folder `testdata`.
You can find more complicated examples under the folder [`testdata`][].
[`testdata`]: https://github.com/influxdata/telegraf/tree/master/plugins/parsers/json_v2/testdata
## Types