Dear Team,
Kindly help me out how to repalce with CSV date format(3/27/2020 18:01 PM) with logstash timestamp .
I am passing .conf like this below
input {
file {
path=>"C:Downloads/low_data.csv"
start_position=>"beginning"
sincedb_path => "NUL"
}
}
filter {
csv {
separator => ","
columns => [ "PAB","POT","PBT" ]
}
**date {**
** match => ["Local_Time", "MM/dd/yyyy HH:mm:ss aa"]**
}
mutate {convert => ["PAB", "float"]}
mutate {convert => ["POT", "float"]}
mutate {convert => ["PBT", "float"]}
}
output{
elasticsearch{
hosts=>["localhost:9200"]
index=>"data"
}
stdout{codec=> rubydebug }
}