Skip to content

Instantly share code, notes, and snippets.

@tabletcorry
Created October 17, 2012 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tabletcorry/3908944 to your computer and use it in GitHub Desktop.
Save tabletcorry/3908944 to your computer and use it in GitHub Desktop.
$ bundle exec ruby bin/logstash agent -vvv -e 'input { stdin { type => 'cow' } } output { redis { host => ['localhost', 'localhost:6380'] key => 'logstash' data_type => 'list' } }'
{"message":"Read config","level":"info","file":"agent.rb","line":"310","method":"run"}
{"message":"Start thread","level":"info","file":"agent.rb","line":"313","method":"run"}
Error at line 1, column 79: ":6380] key => logstash data_type => list } }\n"
Error at line 1, column 79: ":6380] key => logstash data_type => list } }\n"
RuntimeError: Invalid Configuration. Check syntax of config file.
parse at /Users/chaines/github/logstash/lib/logstash/config/grammar.rb:552
parse at /Users/chaines/github/logstash/lib/logstash/config/file.rb:28
parse_config at /Users/chaines/github/logstash/lib/logstash/agent.rb:266
run_with_config at /Users/chaines/github/logstash/lib/logstash/agent.rb:368
run_with_config at /Users/chaines/github/logstash/lib/logstash/agent.rb:367
run at /Users/chaines/github/logstash/lib/logstash/agent.rb:316
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment