mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 14:17:58 -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.
12 lines
439 B
Text
12 lines
439 B
Text
:register_method: true
|
|
:run_method: true
|
|
:plugintype: input
|
|
:pluginclass: Inputs
|
|
:pluginname: example
|
|
:pluginnamecap: Example
|
|
|
|
:getstarted: Let's step through creating an {plugintype} plugin using the https://github.com/logstash-plugins/logstash-input-example/[example {plugintype} plugin].
|
|
|
|
:methodheader: pass:m[Logstash inputs must implement two main methods: `register` and `run`.]
|
|
|
|
include::include/pluginbody.asciidoc[]
|