-
Notifications
You must be signed in to change notification settings - Fork 27
/
testcases.json
45 lines (45 loc) · 990 Bytes
/
testcases.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"ignore": [
"@timestamp"
],
"input_plugin": "stdin",
"fields": {
"global_field": "global",
"overwritten_field": "global"
},
"testcases": [
{
"fields": {
"string": "string value",
"number": 123,
"bool": true,
"overwritten_field": "event",
"parent": {
"key": "parent_key_value",
"child": {
"key": "parent_child_key_value"
}
},
"[logstash_parent][key]": "logstash_parent_key_value"
},
"expected": [
{
"string": "string value",
"number": 123,
"bool": true,
"global_field": "global",
"overwritten_field": "event",
"parent": {
"key": "parent_key_value",
"child": {
"key": "parent_child_key_value"
}
},
"logstash_parent": {
"key": "logstash_parent_key_value"
}
}
]
}
]
}