Scripts to create Debian packages for Logstash installation.
This package provides 3 scripts:
-
package-common.sh: downloads logstash 1.2.21 and packages it up into a .deb file with all the common files to be used across server and shipper.
-
package-shipper.sh: creates a Debian package with a shipper configuration.
Once installed, update the configuration file below to point to the server:
/etc/logstash/syslog-shipper.conf
-
package-server: creates a Debian package with a server configuration.
This package works out of the box if you have both ElasticSearch and Redis running locally. In case any or both are remote, update the following file:
/etc/logstash/syslog-redis-server.conf
NOTE: shipper and server packages conflict and cannot be installed on the same host.
Flags to the scripts can be seen by running with with option "-?".
Author: Rodrigo De Castro [email protected]
-
git clone https://github.com/GoogleCloudPlatform/compute-logstash-packaging-shell.git
This command clones repository locally.
-
./package-common.sh
It creates the common Debian package used by server and shipper
-
./package-server.sh
It creates the server Debian package
-
./package-shipper.sh
It creates the shipper Debian package
- See CONTRIB.md
- See LICENSE