Port details on branch 2023Q3 |
- logstash-forwarder Collect logs locally in preparation for processing elsewhere!
- 0.4.0.20150507_16 sysutils
=0 0.4.0.20150507_16Version of this port present on the latest quarterly branch. DEPRECATED: Migrate to sysutils/beats
- Maintainer: cheffo@freebsd-bg.org
 - Port Added: 2023-08-04 15:02:22
- Last Update: 2023-09-08 14:39:12
- Commit Hash: 793b61c
- License: APACHE20
- WWW:
- https://github.com/elasticsearch/logstash-forwarder
- Description:
- I'm a lumberjack and I'm ok! I sleep when idle, then I ship logs all day!
I parse your logs, I eat the JVM agent for lunch!
(This project was recently renamed from 'lumberjack' to 'logstash-forwarder' to
make its intended use clear. The 'lumberjack' name now remains as the network
protocol, and 'logstash-forwarder' is the name of the program. It's still the
same lovely log forwarding program you love.)
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- logstash-forwarder>0:sysutils/logstash-forwarder
- To install the port:
- cd /usr/ports/sysutils/logstash-forwarder/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/logstash-forwarder
- pkg install logstash-forwarder
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: logstash-forwarder
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (elasticsearch-logstash-forwarder-0.4.0.20150507-3b718f0_GH0.tar.gz) = 2ac52a05b5e737dd2c2b80fbf967cd3e1e45e59a1a840e71ab29fdf0a59298ea
SIZE (elasticsearch-logstash-forwarder-0.4.0.20150507-3b718f0_GH0.tar.gz) = 30476
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- go120 : lang/go120
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- sysutils_logstash-forwarder
- USES:
- go
- pkg-message:
- For install:
- If you want to run logstash-forwarder, add to /etc/rc.conf
logstash_forwarder_enable="YES"
Do not forget to edit your configuration file:
Default: ${PREFIX}/etc/logstash-forwarder.conf
Key points
You'll need an SSL CA to verify the server (host) with.
You can specify custom fields for each set of paths in the config file.
Any number of these may be specified. I use them to set fields like type
and other custom attributes relevant to each log.
Generating an ssl certificate
Logstash supports all certificates, including self-signed certificates.
To generate a certificate, you can run the following command:
$ openssl req -x509 -batch -nodes -newkey rsa:2048 -keyout \
logstash-forwarder.key -out logstash-forwarder.crt -days 365
This will generate a key at logstash-forwarder.key and the 1-year valid
certificate at logstash-forwarder.crt. Both the server that is running
logstash-forwarder as well as the logstash instances receiving logs will
require these files on disk to verify the authenticity of messages.
PROTECT YOUR KEYS!
- Master Sites:
|