github.com/observiq/carbon@v0.9.11-0.20200820160507-1b872e368a5e/examples/simple_plugins/plugins/repeater.yaml (about) 1 # This plugin is registered as the type 'repeater'. 2 # The type comes from the filename. 3 # It will generate exactly 5 entries with the same 4 # timestamp and the content "test record" 5 pipeline: 6 - type: generate_input 7 static: true 8 entry: 9 timestamp: "2006-01-02T15:04:05Z" 10 record: "test record" 11 count: 5 12 # The output is parameterized with go templates 13 # so that it can use the output that is configured for the 14 # plugin in the top-level pipeline 15 output: {{ .output }}