I am config a logstash to obtains logs from a client. But now there is a problem with logstah. There is error information in /var/log/logstash:
logstash.agent cannot create pipeline{reson:"Expected one of #, input, filter, output at line 1, column 1
The elasticsearch-output.conf is
output {
elasticsearch { hosts => ["localhost:9200"]
hosts => "localhost:9200"
manage_template => false
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}
``
And I have use `df -h` to see the files see the space. It seems that there is still enough space. Can anyone explain this? Thanks.
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.