mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Update links from flatjar to tar.gz
This commit is contained in:
parent
69efb51518
commit
25d5f919c2
6 changed files with 8 additions and 21 deletions
|
@ -91,27 +91,14 @@ plugin.
|
|||
You can use the agent flag --pluginpath flag to specify where the root of your
|
||||
plugin tree is. In our case, it's the current directory.
|
||||
|
||||
% logstash --pluginpath . -f example.conf
|
||||
|
||||
If you use the jar release of logstash, you have an additional option - you can
|
||||
include the plugin right in the jar file.
|
||||
|
||||
# This command will take your 'logstash/filters/foo.rb' file
|
||||
# and add it into the jar file.
|
||||
% jar -uf logstash-%VERSION%-flatjar.jar logstash/filters/foo.rb
|
||||
|
||||
# Verify it's in the right location in the jar!
|
||||
% jar tf logstash-%VERSION%-flatjar.jar | grep foo.rb
|
||||
logstash/filters/foo.rb
|
||||
|
||||
% java -jar logstash-%VERSION%-flatjar.jar agent -f example.conf
|
||||
% bin/logstash --pluginpath your/plugin/root -f example.conf
|
||||
|
||||
## Example running
|
||||
|
||||
In the example below, I typed in "the quick brown fox" after running the java
|
||||
command.
|
||||
|
||||
% java -jar logstash-%VERSION%-flatjar.jar agent -f example.conf
|
||||
% bin/logstash -f example.conf
|
||||
the quick brown fox
|
||||
2011-05-12T01:05:09.495000Z stdin://snack.home/: Hello world!
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ layout: content_right
|
|||
|
||||
<h3> For Users </h3>
|
||||
<ul>
|
||||
<li> <a href="https://download.elasticsearch.org/logstash/logstash/logstash-%VERSION%-flatjar.jar"> download logstash %VERSION% </a> </li>
|
||||
<li> <a href="https://download.elasticsearch.org/logstash/logstash/logstash-%VERSION%.tar.gz"> download logstash %VERSION% </a> </li>
|
||||
<li> <a href="repositories"> package repositories</a> </li>
|
||||
<li> <a href="configuration"> configuration file overview </a> </li>
|
||||
<li> <a href="configuration#conditionals">conditionals</a> </li>
|
||||
|
|
|
@ -38,7 +38,7 @@ for such things, that works for me, too.)
|
|||
|
||||
## Download It
|
||||
|
||||
[Download logstash-%VERSION%](https://download.elasticsearch.org/logstash/logstash/logstash-%VERSION%-flatjar.jar)
|
||||
[Download logstash-%VERSION%](https://download.elasticsearch.org/logstash/logstash/logstash-%VERSION%.tar.gz)
|
||||
|
||||
## What's next?
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ right? ;)
|
|||
|
||||
* Make sure all tests pass (make test)
|
||||
* `ruby bin/logstash test`
|
||||
* `java -jar logstash-x.y.z-flatjar.jar test`
|
||||
* `java -jar logstash-x.y.z.tar.gz test`
|
||||
* Update VERSION.rb
|
||||
* VERSION=$(ruby -r./VERSION -e 'puts LOGSTASH_VERSION')
|
||||
* Ensure CHANGELOG is up-to-date
|
||||
|
|
|
@ -8,7 +8,7 @@ layout: content_right
|
|||
|
||||
### Download logstash:
|
||||
|
||||
* [logstash-%VERSION%-flatjar.jar](https://download.elasticsearch.org/logstash/logstash/logstash-%VERSION%-flatjar.jar)
|
||||
* [logstash-%VERSION%.tar.gz](https://download.elasticsearch.org/logstash/logstash/logstash-%VERSION%.tar.gz)
|
||||
|
||||
### Requirements:
|
||||
|
||||
|
|
|
@ -28,9 +28,9 @@ Once you have verified the existence of Java on your system, we can move on!
|
|||
=== Logstash in two commands
|
||||
First, we're going to download the pre-built logstash binary and run it with a very simple configuration.
|
||||
----
|
||||
curl -O https://download.elasticsearch.org/logstash/logstash/logstash-%VERSION%-flatjar.jar
|
||||
curl -O https://download.elasticsearch.org/logstash/logstash/logstash-%VERSION%.tar.gz
|
||||
----
|
||||
Now you should have the file named 'logstash-%VERSION%-flatjar.jar' on your local filesystem. Let's run it:
|
||||
Now you should have the file named 'logstash-%VERSION%.tar.gz' on your local filesystem. Let's run it:
|
||||
----
|
||||
bin/logstash -e 'input { stdin { } } output { stdout {} }'
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue