Hi Badger,
Thanks for your reply. I tried the same.
I could see that you have used the conversion of single quote to double quote thrice. Because number of events in my data is dynamic, it is not always three.
There is a date_time field in my data. Few date_time fields are empty here. When I replace from '(single quote) to "(double quote) the date_time field is not getting converted. With the below error message
"Can not be converted from type [date] to [text]"
I am not converting it three times, I am globally converting three different characters: left and right curly single quote, plus straight single quote.
Is that a mapping exception from elasticsearch? If your field is empty you will need to modify it in logstash to either delete the field or set a default date.
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.