input {
file {
path => "Q:/DATA/Test/Logstash/*.csv"
start_position => "beginning"
sincedb_path => "Q:/DATA/Test/Logstash/sincedb"
}
}
filter {
csv {
separator => ";"
skip_header => "true"
columns => ["testdata1","testdata2","Date"]
}
date {
match => ["Date","yyyyMMddHHmmss" ]
target => "Date"
}
}
output {
elasticsearch {
hosts => ["elastictest:9200"]
index => "test"
}
}