turns out that the scripted field function dayofweek is depreciated in version 7.8.
Also the mapping type for IP in version 7.7 and 7.8 is different so we remove the 7.7 indices and reindex using 7.8. Until then it works fine. The mapping conflict caused the error.
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.