Skip to content

Commit 5dd2b0b

Browse files
committed
tests: modify processor config to use a valid one that works on all archs (s390x/riscv64)
1 parent b41742e commit 5dd2b0b

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

tests/internal/data/reload/yaml/processor.yaml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,11 @@ pipeline:
1616
- name: modify
1717
add: hostname monox
1818

19-
- name: lua
20-
call: append_tag
21-
code: |
22-
function append_tag(tag, timestamp, record)
23-
new_record = record
24-
new_record["tag"] = tag
25-
return 1, timestamp, new_record
26-
end
27-
2819
outputs:
2920
- name: stdout
3021
match: '*'
3122

3223
processors:
3324
logs:
34-
- name: lua
35-
call: add_field
36-
code: |
37-
function add_field(tag, timestamp, record)
38-
new_record = record
39-
new_record["output"] = "new data"
40-
return 1, timestamp, new_record
41-
end
25+
- name: modify
26+
add: hostname monox

0 commit comments

Comments
 (0)