E:\ELK3\logstash-1.5.3\bin>logstash agent --debug -f twitter-simple.conf
io/console not supported; tty will not be manipulated
←[36mReading config file {:file=>"/ELK3/logstash-1.5.3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.3-java/lib/logstash/agent.rb", :level=>:debug, :line=>"309", :method=>"local_config"}←[0m
Error: Expected one of #, => at line 18, column 14 (byte 426) after input {
twitter {
consumer_key => "XXXXXXXXXXXXXXXXXXXXXXXXX"
consumer_secret => "XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
oauth_token => "XXXXXXXXXXXXXXXXXXXXX"
oauth_token_secret => "XXXXXXXXXXXXXX"
keywords => ["pepsi"]
full_tweet => true
}
filter {
tracks => "pepsi"
language => "en"
}
output {
elasticsearch
You may be interested in the '--configtest' flag which you can
use to validate logstash's configuration before you choose
to restart a running system.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.