Notice: Undefined variable: name in /srv/http/vhosts/ on line 248

Package Details: logstash 5.1.2-1

Git Clone URL: (read-only)
Package Base: logstash
Description: A tool for managing events and logs
Upstream URL:
Licenses: Apache License
Submitter: r0man
Maintainer: mtorromeo
Last Packager: mtorromeo
Votes: 23
Popularity: 0.816193
First Submitted: 2014-01-17 14:58
Last Updated: 2017-01-20 15:15

Latest Comments

1 2 3 4 Next › Last »

g00dx commented on 2017-01-23 00:49

The current systemd service would not start for me. Here is one I created that works. I've made it from and modified it for this package.

waukalak commented on 2016-12-06 14:14

the home directory for user "logstash" (it is /) is wrong. It should be /var/lib/logstash.

xproger commented on 2016-11-21 11:16

I have faced another problem after installation. There isn't exist default logstash.yml file in the package or I have missed something, anyway, you have to create logstash.yml in /etc/logstash and put into it "config.path: path_to_config" to start service.

mtorromeo commented on 2016-11-21 10:03

I updated the pkgsums

xproger commented on 2016-11-21 09:25

I have the same problem with files validation. Are there exist any temporary workarounds or somethings?

travisghansen commented on 2016-11-20 17:11

==> Validating source files with sha256sums...
logstash-5.0.1.tar.gz ... Passed
logstash.service ... Passed
logstash@.service ... Passed
user.conf ... Passed
bundle.config ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build logstash.

petrucci4prez commented on 2016-11-18 03:16

This still needs some work; essentially the default install directory needs to be /usr/share and not /opt. See following diff:

diff logstash/bundle.config logstash-new/bundle.config
< BUNDLE_PATH: /opt/logstash/vendor/bundle
> BUNDLE_PATH: /usr/share/logstash/vendor/bundle
< BUNDLE_GEMFILE: /opt/logstash/Gemfile
> BUNDLE_GEMFILE: /usr/share/logstash/Gemfile
diff logstash/logstash.install logstash-new/logstash.install
< chown -R logstash:logstash opt/logstash var/lib/logstash
> chown -R logstash:logstash var/lib/logstash var/log/logstash
< chown -R logstash:logstash opt/logstash
> chown -R logstash:logstash var/lib/logstash var/log/logstash
diff logstash/PKGBUILD logstash-new/PKGBUILD
< 'd19e7bd73fb602419602296b113047df06688a9c15f5b3436602cc41afa1c486')
> 'fe05315345e4489458c3eecac43726800109c1e390e74a14584096f6c041fee1')
< rm -f bin/logstash.bat
> rm -f bin/*.bat
> sed -re 's;#\s*(path\.config:).*$;\1 /etc/logstash/conf.d;' \
> -e '0,/#\s*(path\.data:).*$/s;;\1 /var/lib/logstash;' \
> -e 's;#\s*(path\.logs:).*$;\1 /var/log/logstash;' \
> -e 's;#\s*(path\.plugins:).*$;\1 [/usr/share/logstash/plugins];' \
> -i config/logstash.yml
< install -dm755 "$pkgdir"/opt
< cp -a logstash-$pkgver "$pkgdir"/opt/logstash
> install -dm755 "$pkgdir"/usr/share/logstash/plugins
> install -dm755 "$pkgdir"/var/lib/logstash
> install -dm755 "$pkgdir"/var/log/logstash
> install -dm755 "$pkgdir"/etc/logstash/conf.d
< install -Dm644 user.conf "$pkgdir"/usr/lib/sysusers.d/logstash.conf
< install -Dm644 bundle.config "$pkgdir"/opt/logstash/.bundle/config
< install -dm755 "$pkgdir"/var/lib/logstash
< install -dm755 "$pkgdir"/etc/logstash/conf.d
> install -Dm644 user.conf "$pkgdir"/usr/lib/sysusers.d/logstash.conf
> install -Dm644 bundle.config "$pkgdir"/usr/share/logstash/.bundle/config
> cd "$srcdir"/$pkgname-$pkgver
> cp -R bin lib logstash-* vendor "$pkgdir"/usr/share/logstash
> cp Gemfile* "$pkgdir"/usr/share/logstash
> cp config/{jvm.options,,logstash.yml} "$pkgdir"/etc/logstash

cgirard commented on 2016-11-10 11:00

I suggest to read and update the PKGBUILD properly. It will probably need a little more work than just updating pkgver and checksums...

leothrix commented on 2016-11-08 03:34

Service unit is broken in 5.x:

ERROR: Unknown command 'agent'

Eriner commented on 2016-11-06 21:14

Thanks for the valid patch @BruceR. Ping @mtorromeo to update.