Hi,
Trying to insert records from Oracle db to Elastic search using logstash
I am getting default date format of field from oracle database is 2021-01-27T12:39:01.867Z
and I want to save a field in elastic search in format of yyyy-MM-dd-HH:mm
Hi,
Trying to insert records from Oracle db to Elastic search using logstash
I am getting default date format of field from oracle database is 2021-01-27T12:39:01.867Z
and I want to save a field in elastic search in format of yyyy-MM-dd-HH:mm
If a column in the database is a timestamp then the jdbc input will convert it to a Logstash::Timestamp type. You can reformat that as a string using ruby.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.