mirror of
https://github.com/elastic/logstash.git
synced 2025-04-22 21:57:26 -04:00
In the "methods" sections of the how to develop a plugin docs Asciidoctor as incorrectly passing backticks into the output when it should have marked the words surrounded by backticks as code. I'm not 100% sure why it did that. The fix is to force macro evaluation immediately on attribute assignment.
15 lines
524 B
Text
15 lines
524 B
Text
:register_method: true
|
|
:encode_method: true
|
|
:decode_method: true
|
|
:plugintype: codec
|
|
:pluginclass: Codecs
|
|
:pluginname: example
|
|
:pluginnamecap: Example
|
|
|
|
:blockinput: true
|
|
|
|
:getstarted: Let's step through creating a {plugintype} plugin using the https://github.com/logstash-plugins/logstash-codec-example/[example {plugintype} plugin].
|
|
|
|
:methodheader: pass:m[Logstash codecs must implement the `register` method, and the `decode` method or the `encode` method (or both).]
|
|
|
|
include::include/pluginbody.asciidoc[]
|