centos 6, logstash 1.4.0, x86_64, => unexpected tASSOC

Description

Hello,

I tried to got logstash running over serveral hours, with 'support' from IRC.
I have really no glue whats going wrong.

Operating System
[root@workstation conf.d]# lsb_release -d
Description: CentOS release 6.5 (Final)

Java:
[root@workstation conf.d]# java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (rhel-2.4.7.1.el6_5-x86_64 u55-b13)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

RPM Package:
[root@workstation ~]# rpm -qa --last | head -1
logstash-1.4.0-1_c82dc09.noarch Sat 03 May 2014 10:24:58 PM UTC

[root@workstation ~]# cd /etc/logstash/conf.d/
[root@workstation conf.d]# cat > logstash.conf <<EOF
> input {
> file {
> path => "/var/log/messages"
> type => "syslog"
> }
>
> file {
> path => "/var/log/apache/access.log"
> type => "apache"
> }
> }
> EOF

[root@workstation conf.d]# /opt/logstash/bin/logstash-test logstash.conf
SyntaxError: /etc/logstash/conf.d/logstash.conf:3: syntax error, unexpected tASSOC
path => "/var/log/messages"
^
load at org/jruby/RubyKernel.java:1101
(root) at /opt/logstash/vendor/bundle/jruby/1.9/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:1
each at org/jruby/RubyArray.java:1613
load_spec_files at /opt/logstash/vendor/bundle/jruby/1.9/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896
load_spec_files at /opt/logstash/vendor/bundle/jruby/1.9/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896
run at /opt/logstash/vendor/bundle/jruby/1.9/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:22
run at /opt/logstash/lib/logstash/runner.rb:154

may be I am totaly blind, and someone would like to open my eyes.

Thx
Madd

Environment

None

Status

Assignee

Logstash Developers

Reporter

Madd Sauer

Affects versions

Priority

Configure