I have 5 indices : ( indices a1, a2, a3, a4, a5) with 5 different fields : Merchant_Id, Mer_Id, Merc_Id, MERCHANT_Id, MERCH_ID.
For some reasons, I cannot delete or alter the field or data.
I want to create an alias data type so that in my visualization for Index pattern a* for all indices, I want to use a common field Merchant_Id which shows all 5 fields Merchant_Id, Mer_Id, Merc_Id, MERCHANT_Id, MERCH_ID. in a single data column.
I've tried alias but it says cannot give alias for an already mapped field.
As the error says, if index contains "Merchant_Id" field, you can't creat alias mappings of the same name. Does each index have only one of the 5 fields? If so, creat alias for that single field of indices which contains other than Merchant_Id.
If you indices contains mixture of the fields, I suppose runtime field is a good way as @JLeysens says.
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.