Hi Team,
We need to change the format of timestamp to MMMM yyyy . I have tried datetimeformater but it's not working. The result that I got is not aggregated . Kindly help me with this.
Note that my scripted field is a String, not a Date, which is created from an existing Date field. I'm using the Kibana sample E-Commerce data as a reference. The script is as follows (change order_date to timestamp in your case).
I have a timestamp value in UTC time zone , within the script is it possible to convert it into local time zone. Then extract year and month from the local timestamp value.
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.