forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstallation.html
49 lines (31 loc) · 1.26 KB
/
installation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: Installation options - logstash
layout: content_right
---
# LogStash Installation
There are a few ways to install logstash:
* standalone runnable jar file (monolithic)
* normal runnable jar (ruby deps + jruby included, no elasticsearch)
* gem install logstash
## 'standalone runnable jar'
This jar is the normal runnable jar with elasticsearch libs included. To use
it, use it the same way as documented below for 'normal runnable jar'
## 'normal runnable jar'
If you want to include elasticsearch, you'll need to download it and set the
CLASSPATH environment variable to include any elasticsearch jar files.
### web interface
java -jar ~/projects/logstash/logstash-0.9.1.jar web
### agent
java -jar ~/projects/logstash/logstash-0.9.1.jar agent -f youragent.conf
## 'gem install logstash'
Using this method to download logstash will install all ruby dependencies.
* You must have jruby already
### web interface
* You have elasticsearch already
* You'll need to know the path to your elasticsearch lib directory.
% CLASSPATH=elasticsearch-0.16.0/lib/*.jar logstash-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
### agent
% logstash -f youragent.conf