跟网上的安装步骤一样,不知道是哪里出了问题,logstash中的配置文件设置为:
input{
file{
path => "D:/ELK/elasticsearch-1.4.4/logs/*.*"
type => "eos"
start_position => "beginning"
}
}
filter{
}
output{
elasticsearch{
hosts => ["localhost:9200"]
index => "logstash-%{type}-%{+YYYY.MM.dd}"
document_type =>"%{type}"
workers =>10
template_overwrite => true
}
}