1.多路径配置
2.解决log显示成多行问题
3.解决中文乱码问题
Sample Logstash configuration for creating a simple
Beats -> Logstash -> Elasticsearch pipeline.
input {
file {
path=>“C:/website/portal/Log/.log"
start_position => beginning
codec=>multiline {
pattern => “^%{TIMESTAMP_ISO8601}”
negate => true
what => “previous”
charset=>“UTF-8”
}
}
file {
path=>"C:/website/pmrs/Log/.log”
start_position => beginning
codec=>multiline {
pattern => “^%{TIMESTAMP_ISO8601}”
negate => true
what => “previous”
charset=>“UTF-8”
}
}
file {
path=>“C:/website/DefectM