hello, i want to use the date in column named time in my csv file instead of timestamp when creating index,i indexed a csv file containing multiple columns, among the columns there is a date field in Y-m-d H:M:S format, when i try to use logstash -f it give me _dateparsefaillure, an example of csv date column is: 2019-12-31 15:22:12, the problem is that i cant use that field instead of timpstamp in order to generate graphical charts and always in kibana the type of the field is sting not date , in logstash i use
date {
match => ["time", "yyyy-MM-dd HH:mm:ss" ]
target => @timestamp
}
thank you
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.