From ed3ec45663805471e9b966e092d2051c8368c866 Mon Sep 17 00:00:00 2001 From: didfet Date: Thu, 19 Mar 2015 14:35:24 +0100 Subject: [PATCH 1/8] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index b49361c..edb4c3b 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,6 @@ Or download the maven project and run maven package. Then you can install one of The configuration file is the same (json format), but there are a few differences : - the ssl ca parameter points to a java keystore containing the root certificate of the server, not a PEM file - - the program only uses the first server in the network section for the moment - comments are C-style comments ### Command-line options From 0ab593f36bae0660960a88a9fc13af5987e111ab Mon Sep 17 00:00:00 2001 From: didfet Date: Thu, 19 Mar 2015 14:38:26 +0100 Subject: [PATCH 2/8] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index edb4c3b..d786b81 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,9 @@ So logstash-forwarder-java is a solution for those who want a portable, lightwei ## How to install it ? Download one of the following archives : - - [logstash-forwarder-java-0.1.0-bin.zip](https://github.com/didfet/logstash-forwarder-java/releases/download/0.1.0/logstash-forwarder-java-0.1.0-bin.zip) - - [logstash-forwarder-java-0.1.0-bin.tar.gz](https://github.com/didfet/logstash-forwarder-java/releases/download/0.1.0/logstash-forwarder-java-0.1.0-bin.tar.gz) - - [logstash-forwarder-java-0.1.0-bin.tar.bz2](https://github.com/didfet/logstash-forwarder-java/releases/download/0.1.0/logstash-forwarder-java-0.1.0-bin.tar.bz2) + - [logstash-forwarder-java-0.1.1-bin.zip](https://github.com/didfet/logstash-forwarder-java/releases/download/0.1.1/logstash-forwarder-java-0.1.1-bin.zip) + - [logstash-forwarder-java-0.1.1-bin.tar.gz](https://github.com/didfet/logstash-forwarder-java/releases/download/0.1.1/logstash-forwarder-java-0.1.1-bin.tar.gz) + - [logstash-forwarder-java-0.1.1-bin.tar.bz2](https://github.com/didfet/logstash-forwarder-java/releases/download/0.1.1/logstash-forwarder-java-0.1.1-bin.tar.bz2) Or download the maven project and run maven package. Then you can install one of the archives located in the target directory. From 68ae6ac353fd05b90182b1111a4874968f08fd7a Mon Sep 17 00:00:00 2001 From: didfet Date: Thu, 19 Mar 2015 14:40:10 +0100 Subject: [PATCH 3/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d786b81..a9c24db 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Logstash-forwarder-java is a log shipper program written in java. This is in fact a java version of [logstash-forwarder](https://github.com/elasticsearch/logstash-forwarder) by jordansissel. Here are a few features of this program : - compatible with Java 5 runtime - - lightweight : requires only a few dependencies and few system resources + - lightweight : package size is ~2Mb - configuration compatible with logstash-forwarder - lumberjack output (including zlib compression) From 9a6b4380aa4c2bad505b6a7c98c177fd4bb15702 Mon Sep 17 00:00:00 2001 From: didfet Date: Thu, 19 Mar 2015 14:40:27 +0100 Subject: [PATCH 4/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a9c24db..f735bb7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Logstash-forwarder-java is a log shipper program written in java. This is in fact a java version of [logstash-forwarder](https://github.com/elasticsearch/logstash-forwarder) by jordansissel. Here are a few features of this program : - compatible with Java 5 runtime - - lightweight : package size is ~2Mb + - lightweight : package size is ~2MB - configuration compatible with logstash-forwarder - lumberjack output (including zlib compression) From 31c89c26e4265458a9854c9c42b19b374360392d Mon Sep 17 00:00:00 2001 From: didfet Date: Thu, 19 Mar 2015 14:42:21 +0100 Subject: [PATCH 5/8] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f735bb7..76d266a 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Or download the maven project and run maven package. Then you can install one of The configuration file is the same (json format), but there are a few differences : - the ssl ca parameter points to a java keystore containing the root certificate of the server, not a PEM file - comments are C-style comments + - the stdin input is not yet implemented ### Command-line options From 128ea5f9544ff0ea3b7063fac010afa1afee6b14 Mon Sep 17 00:00:00 2001 From: didfet Date: Thu, 19 Mar 2015 14:47:20 +0100 Subject: [PATCH 6/8] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 76d266a..f8ce9cd 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,12 @@ Download one of the following archives : Or download the maven project and run maven package. Then you can install one of the archives located in the target directory. +## How to run it ? + +Just run this command : + + java -jar logstash-forwarder-java-X.Y.Z.jar -config /path/to/config/file.json + ## Differences with logstash-forwarder ### Configuration From d43df35f26e6844c38f9f920d1140c3198a3dbaa Mon Sep 17 00:00:00 2001 From: didfet Date: Thu, 19 Mar 2015 14:49:57 +0100 Subject: [PATCH 7/8] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f8ce9cd..a985a18 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,10 @@ Just run this command : java -jar logstash-forwarder-java-X.Y.Z.jar -config /path/to/config/file.json +For help run : + + java -jar logstash-forwarder-java-X.Y.Z.jar -help + ## Differences with logstash-forwarder ### Configuration From 0c476e8f18d951b6aac25585855a53bd68331b68 Mon Sep 17 00:00:00 2001 From: didfet Date: Thu, 19 Mar 2015 14:51:32 +0100 Subject: [PATCH 8/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a985a18..832806e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Here are a few features of this program : Logstash-forwarder is written in go. This programming language is not available on all platforms (for example AIX), that's why a java version is more portable. -Logstash runs on java and provides a lumberjack output, but the file input doesn't run on all plaforms (for example AIX) and logstash requires a recent JVM. Moreover Logstash is heavier : big package and more system resources. +Logstash runs on java and provides a lumberjack output, but the file input doesn't run on all plaforms (for example AIX) and logstash requires a recent JVM. Moreover Logstash is heavier : it is a big package and uses more system resources. So logstash-forwarder-java is a solution for those who want a portable, lightweight log shipper for their ELK stack.