mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
f2b6fa35d4
commit
6913e62a3b
4 changed files with 6 additions and 5 deletions
3
docs/static/java-codec.asciidoc
vendored
3
docs/static/java-codec.asciidoc
vendored
|
@ -374,8 +374,9 @@ To test the plugin, start Logstash with:
|
||||||
echo "foo,bar" | bin/logstash --java-execution -e 'input { java_stdin { codec => java_codec_example } } }'
|
echo "foo,bar" | bin/logstash --java-execution -e 'input { java_stdin { codec => java_codec_example } } }'
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Note that the `--java-execution` flag to enable the Java execution engine is required as Java plugins are not supported
|
NOTE: The `--java-execution` flag to enable the Java execution engine is required as Java plugins are not supported
|
||||||
in the Ruby execution engine.
|
in the Ruby execution engine.
|
||||||
|
|
||||||
The expected Logstash output (excluding initialization) with the configuration above is:
|
The expected Logstash output (excluding initialization) with the configuration above is:
|
||||||
|
|
||||||
[source,txt]
|
[source,txt]
|
||||||
|
|
4
docs/static/java-filter.asciidoc
vendored
4
docs/static/java-filter.asciidoc
vendored
|
@ -207,7 +207,7 @@ reversed.
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
----
|
-----
|
||||||
|
|
||||||
For filter plugins, the `getId` method should always return the id that was provided to the plugin through its
|
For filter plugins, the `getId` method should always return the id that was provided to the plugin through its
|
||||||
constructor at instantiation time.
|
constructor at instantiation time.
|
||||||
|
@ -251,7 +251,7 @@ Start Logstash with:
|
||||||
bin/logstash --java-execution -f /path/to/java_filter.conf
|
bin/logstash --java-execution -f /path/to/java_filter.conf
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Note that the `--java-execution` flag to enable the Java execution engine is
|
NOTE: The `--java-execution` flag to enable the Java execution engine is
|
||||||
required as Java plugins are not supported in the Ruby execution engine.
|
required as Java plugins are not supported in the Ruby execution engine.
|
||||||
|
|
||||||
The expected Logstash output (excluding initialization) with the configuration
|
The expected Logstash output (excluding initialization) with the configuration
|
||||||
|
|
2
docs/static/java-input.asciidoc
vendored
2
docs/static/java-input.asciidoc
vendored
|
@ -277,7 +277,7 @@ Start {ls} with:
|
||||||
bin/logstash --java-execution -f /path/to/java_input.conf
|
bin/logstash --java-execution -f /path/to/java_input.conf
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Note that the `--java-execution` flag to enable the Java execution engine is
|
NOTE: The `--java-execution` flag to enable the Java execution engine is
|
||||||
required as Java plugins are not supported in the Ruby execution engine.
|
required as Java plugins are not supported in the Ruby execution engine.
|
||||||
|
|
||||||
The expected Logstash output (excluding initialization) with the configuration above is:
|
The expected Logstash output (excluding initialization) with the configuration above is:
|
||||||
|
|
2
docs/static/java-output.asciidoc
vendored
2
docs/static/java-output.asciidoc
vendored
|
@ -261,7 +261,7 @@ Logstash should then be started with:
|
||||||
bin/logstash --java-execution -f /path/to/java_output.conf
|
bin/logstash --java-execution -f /path/to/java_output.conf
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Note that the `--java-execution` flag to enable the Java execution engine is
|
NOTE: The `--java-execution` flag to enable the Java execution engine is
|
||||||
required as Java plugins are not supported in the Ruby execution engine.
|
required as Java plugins are not supported in the Ruby execution engine.
|
||||||
|
|
||||||
The expected Logstash output (excluding initialization) with the configuration
|
The expected Logstash output (excluding initialization) with the configuration
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue