Skip to content

Commit

Permalink
- use %VERSION% instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Aug 18, 2011
1 parent 642fac2 commit 41e005c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions docs/extending/example-add-a-new-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,20 @@ plugin tree is. In our case, it's the current directory.
If you use the monolith jar release of logstash, you have an additional option
- you can include the plugin right in the jar file.

% jar -uf jar -uf logstash-1.0.5-monolithic.jar logstash/filters/foo.rb
% jar -uf jar -uf logstash-%VERSION%-monolithic.jar logstash/filters/foo.rb

# Verify it's in the right location in the jar!
% jar tf logstash-1.0.5-monolithic.jar | grep foo.rb
% jar tf logstash-%VERSION%-monolithic.jar | grep foo.rb
logstash/filters/foo.rb

% java -jar logstash-1.0.5-monolithic.jar agent -f example.conf
% java -jar logstash-%VERSION%-monolithic.jar agent -f example.conf

## Example running

In the example below, I typed in "the quick brown fox" after running the java
command.

% java -jar logstash-1.0.5-monolithic.jar agent -f example.conf
% java -jar logstash-%VERSION%-monolithic.jar agent -f example.conf
the quick brown fox
2011-05-12T01:05:09.495000Z stdin://snack.home/: Hello world!

Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started-centralized.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ correct dependency. Make sure you have the recent-enough versionf of libpcre
and tokyocabinet (see above grok/INSTALL url)

(This next step can be skipped if you are using a logstash jar release
(logstash-X.Y.jar, etc) Once you have grok installed, you need to install the
(logstash-%VERSION%.jar, etc) Once you have grok installed, you need to install the
'jls-grok' rubygem, which you can do by running:

{{{
Expand Down Expand Up @@ -152,7 +152,7 @@ Here's a good sample config:

Put this in a file and call it 'myshipper.conf' (or anything, really), and run:

java -jar logstash-1.0-monolithic.jar agent -f myshipper.conf
java -jar logstash-%VERSION%-monolithic.jar agent -f myshipper.conf

This should start tailing the file inputs specified above and ships them out
over amqp. If you included the 'stdout' output you will see events written to
Expand Down Expand Up @@ -230,7 +230,7 @@ Run this on the same server as your elasticsearch server.
To run the logstash web server, just run the jar with 'web' as the first
argument.

% java -jar logstash-1.0-monolithic.jar web
% java -jar logstash-%VERSION%-monolithic.jar web
>> Thin web server (v1.2.7 codename No Hup)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:9292, CTRL+C to stop
Expand All @@ -241,4 +241,4 @@ logs!
Note: If your elasticsearch server is not discoverable with multicast, you can
specify the host explicitly using the --backend flag:

% java -jar logstash-1.0-monolithic.jar web --backend elasticsearch://myserver/
% java -jar logstash-%VERSION%-monolithic.jar web --backend elasticsearch://myserver/
2 changes: 1 addition & 1 deletion docs/getting-started-simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Put this in a file called "mylogstash.conf"

Now run it all:

java -jar logstash-1.0-monolithic.jar agent -f mylogstash.conf -- web --backend elasticsearch:///?local
java -jar logstash-%VERSION%-monolithic.jar agent -f mylogstash.conf -- web --backend elasticsearch:///?local

Point your browser at <http://yourserver:9292> and start searching!

Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ it, use it the same way as documented below for 'normal runnable jar'

### web interface

java -jar logstash-0.9.1.jar web
java -jar logstash-%VERSION%-monolithic.jar web

### agent

java -jar logstash-0.9.1.jar agent -f youragent.conf
java -jar logstash-%VERSION%-monolithic.jar agent -f youragent.conf

## 'gem install logstash'

Expand Down
6 changes: 3 additions & 3 deletions docs/learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ for such things, that works for me, too.)

logstash releases come in a few flavors.

* [Monolithic jar](http://semicomplete.com/files/logstash/logstash-1.0.14-monolithic.jar)
* [rubygem](http://rubygems.org/gems/logstash/versions/1.0.14)
* [`gem install logstash -v 1.0.14`](http://rubygems.org/gems/logstash)
* [Monolithic jar](http://semicomplete.com/files/logstash/logstash-%VERSION%-monolithic.jar)
* [rubygem](http://rubygems.org/gems/logstash/versions/%VERSION%)
* [`gem install logstash -v %VERSION%`](http://rubygems.org/gems/logstash)

## What's next?

Expand Down

0 comments on commit 41e005c

Please sign in to comment.