Hi I have a question ,about a CSV file , I adds additional row ,
1.what time well renew this data ?
2.if I need to change interval , how to do?
3.or another better choice to update this?
input {
file {
path => "/tmp/test_new.txt"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
filter {
csv {
separator => ","
skip_header => "true"
columns => ["timestamp","hostname","status"]
}
date {
match => ["timestamp", "yyyy/MM/dd HH:mm:ss"]
timezone => "+0800"
target => "timestamp"
}
}
output {
elasticsearch {
hosts => "http://10.10.10.9:9200"
index => "backuplog2"
}
stdout {}
}
Thanks!