From owner-freebsd-ports@FreeBSD.ORG Tue Jan 13 21:22:12 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E84F538 for ; Tue, 13 Jan 2015 21:22:12 +0000 (UTC) Received: from mail.revenge.kr0k3n.net (mail.revenge.kr0k3n.net [176.56.237.164]) by mx1.freebsd.org (Postfix) with ESMTP id C5A6CDD5 for ; Tue, 13 Jan 2015 21:22:11 +0000 (UTC) Received: from [192.168.0.14] (ip25053ee9.dynamic.kabel-deutschland.de [37.5.62.233]) (Authenticated sender: post@filias.name) by mail.revenge.kr0k3n.net (Postfix) with ESMTPSA id A3A3A1D6449 for ; Tue, 13 Jan 2015 22:12:25 +0100 (CET) From: Filias Heidt X-Pgp-Agent: GPGMail 2.5b4 Content-Type: multipart/signed; boundary="Apple-Mail=_47B7F20F-2F7B-4331-84EC-B20D1CD4AE51"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: sysutils/logstash leaves me without working file input Date: Tue, 13 Jan 2015 22:12:24 +0100 Message-Id: To: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2015 21:22:12 -0000 --Apple-Mail=_47B7F20F-2F7B-4331-84EC-B20D1CD4AE51 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Ports, I installed the latest sysutils/logstash port in a fresh 10.1 jail and = tried the following: # /usr/local/logstash/bin/logstash -f /home/user/src/conf/logstash.conf which gave the following output: Using milestone 2 input plugin 'file'. This plugin should be stable, but = if you see strange behavior, please let us know! For more information on = plugin milestones, see http://logstash.net/docs/1.4.2/plugin-milestones = {:level=3D>:warn} NotImplementedError: stat.st_dev unsupported or native support failed to = load dev_major at org/jruby/RubyFileStat.java:190 _discover_file at = /usr/local/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.5.1/lib/filew= atch/watch.rb:140 each at org/jruby/RubyArray.java:1613 _discover_file at = /usr/local/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.5.1/lib/filew= atch/watch.rb:122 watch at = /usr/local/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.5.1/lib/filew= atch/watch.rb:34 tail at = /usr/local/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.5.1/lib/filew= atch/tail.rb:58 run at /usr/local/logstash/lib/logstash/inputs/file.rb:130 each at org/jruby/RubyArray.java:1613 run at /usr/local/logstash/lib/logstash/inputs/file.rb:130 inputworker at /usr/local/logstash/lib/logstash/pipeline.rb:163 start_input at /usr/local/logstash/lib/logstash/pipeline.rb:157 So it seems, that the file {} input is not working, which seems to be = related to this Bug: https://logstash.jira.com/browse/LOGSTASH-1819. However, unlike mentioned in the Bugreport, the Port is not working for = me. In case its of interest, the logstash.conf looks like the following: input { file { path =3D> "/tmp/test.log" start_position =3D> beginning } } filter { grok { match =3D> { "message" =3D> "%{COMBINEDAPACHELOG}" } } date { match =3D> [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ] } } output { elasticsearch { host =3D> localhost } stdout { codec =3D> rubydebug } } Am I missing something? Is something wrong with the port? In case, there = is: Is there something I can help with to get that resolved? Thanks, Filias --Apple-Mail=_47B7F20F-2F7B-4331-84EC-B20D1CD4AE51 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUtYo4AAoJEGvCWp6gb8LRNloIALR8Pa25oFBDPEz4lPX5mVP0 Ieb9Aew9/AuWDqhSKSqslSH51w+JjDCTkCyKFOgbT2qlBE1BMKl/8pki1aTi0bWV atyNZt46AVhNAZKNGSFKyFL7HrwGB/IC/5Eb5s/sZWi0q4vrZjJ2uv4X9CjFArbw duDBD5l40RLQoI0P2PoVTVz0i7TrngETX1dtVbLxKHkAYU7vPCBwS9U/Jr0/o1NZ L0DoVb542hSXr0l8NC4mimuiRpjPB568qFJyMU8C7aHtCZE7ltJ6WK4UBzKhubEW ja4RVJwiclQLt5rtL5c8Lc6DUWXJJuSymvGSwDGGIiwG6bYKA193pS9J1j6xOp8= =3WjV -----END PGP SIGNATURE----- --Apple-Mail=_47B7F20F-2F7B-4331-84EC-B20D1CD4AE51--