We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d156a4 commit 290552dCopy full SHA for 290552d
pipeline/filters/lua.md
@@ -108,24 +108,24 @@ service:
108
109
pipeline:
110
inputs:
111
- - random:
112
- tag: test
113
- samples: 10
+ - name: random
+ tag: test
+ samples: 10
114
115
filters:
116
- - lua:
117
- match: "*"
118
- call: append_tag
119
- code: |
120
- function append_tag(tag, timestamp, record)
121
- new_record = record
122
- new_record["tag"] = tag
123
- return 1, timestamp, new_record
124
- end
+ - name: lua
+ match: "*"
+ call: append_tag
+ code: |
+ function append_tag(tag, timestamp, record)
+ new_record = record
+ new_record["tag"] = tag
+ return 1, timestamp, new_record
+ end
125
126
outputs:
127
- - stdout:
128
+ - name: stdout
129
```
130
131
In classic mode:
0 commit comments