I have an ELK test environment with two different log type.
I migrated from elasticsearch 1.7 to 2.x without problem, but trying to add a third log type I had the following error in elasticsearch log
** at java.lang.Thread.run(Thread.java:745)** [2015-12-22 14:34:30,413][DEBUG][action.admin.indices.mapping.put] [Sise-Neg] failed to put mappings on indices [[logstash-dco-2015.12.21]], type [dco_com] java.lang.IllegalArgumentException: Mapper for [@timestamp] conflicts with existing mapping in other types: [mapper [@timestamp] is used by multiple types. Set update_all_types to true to update [format] across all types.]
The config can for the log added is the following http://pastebin.com/raw/v1PuUr05
I expect the field DCO_TIMESTAMP is automatically converted in the DATE plugin.
We have already have data in the indexes when we upgraded from Elasticsearch 1.6 to 2.1.0. Now when trying to add the new types in the already existing indexes, there is the conflict stated above
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.