add test file to docker spin up
This commit is contained in:
13
plugins/inputs/reader/dev/docker-compose.yml
Normal file
13
plugins/inputs/reader/dev/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
telegraf:
|
||||||
|
image: glinton/scratch
|
||||||
|
volumes:
|
||||||
|
- ./telegraf.conf:/telegraf.conf
|
||||||
|
- ../../../../telegraf:/telegraf
|
||||||
|
- ./json_a.log:/var/log/test.log
|
||||||
|
entrypoint:
|
||||||
|
- /telegraf
|
||||||
|
- --config
|
||||||
|
- /telegraf.conf
|
||||||
14
plugins/inputs/reader/dev/json_a.log
Normal file
14
plugins/inputs/reader/dev/json_a.log
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"parent": {
|
||||||
|
"child": 3.0,
|
||||||
|
"ignored_child": "hi"
|
||||||
|
},
|
||||||
|
"ignored_null": null,
|
||||||
|
"integer": 4,
|
||||||
|
"list": [3, 4],
|
||||||
|
"ignored_parent": {
|
||||||
|
"another_ignored_null": null,
|
||||||
|
"ignored_string": "hello, world!"
|
||||||
|
},
|
||||||
|
"another_list": [4]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user