Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Apache Nifi to Elasticsearch (Wrong to insert datetime to Elasticsearch)

avatar
Rising Star

hi all,

I have business case put data to Elasticsearch,

In updateAttribute, I convert date to datetime

${submit_date:toDate():format("yyyy-MM-dd HH:mm:ss.SSSZ")}
${now():toDate():format("yyyy-MM-dd HH:mm:ss.SSSZ"))}


however, data on Elasticsearch became to string?

Do you know how to fix it?

Many thanks,

1.png2-updateattribute.png3.png

1 ACCEPTED SOLUTION

avatar
Super Guru
3 REPLIES 3

avatar
Super Guru

avatar
Rising Star

Hi @Steven Matision,

Thank you so much for your suggestions. I fixed that issue.

avatar
Super Guru

@Thuy Le great job! Glad you got it working.