I have field called created_date in my table and the data is in the format - 2020-07-14 10:41:24.879884 +05:30. Want to parse this data and map it to the timestamp field in logstash. Used the below log pattern in the config file
date {
match => ["created_date", "yyyy-MM-dd HH:mm:ss.SSSSS ZZ", "ISO8601"]
target => "@timestamp"
}
}
Is the "- " part of the field value? If it is, you'll have to add it to your date pattern. If it isn't, I don't know what's wrong because this works fine for me:
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.