Mapping conflict2!


(jonasv) #1

Hey Guys,

I'm trying to make tile map working in Kibana, but currently it doesn't work. When I add index to visualize it in Kibana I get this:
Mapping conflict! A field is defined as several types (string, integer, etc) across the indices that match this pattern. You may still be able to use these conflict fields in parts of Kibana, but they will be unavailable for functions that require Kibana to know their type. Correcting this issue will require reindexing your data.

This is my index with mapping:

{
"fedora39-2017.02.09": {
"aliases": {},
"mappings": {
"nginx-access": {
"properties": {
"@timestamp": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"@version": {
"type": "string"
},
"beat": {
"properties": {
"hostname": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"browserdevice": {
"type": "string"
},
"browsermajor": {
"type": "string"
},
"browserminor": {
"type": "string"
},
"browsername": {
"type": "string"
},
"browseros": {
"type": "string"
},
"browseros_name": {
"type": "string"
},
"browserpatch": {
"type": "string"
},
"count": {
"type": "long"
},
"geoip": {
"properties": {
"area_code": {
"type": "long"
},
"city_name": {
"type": "string"
},
"continent_code": {
"type": "string"
},
"country_code2": {
"type": "string"
},
"country_code3": {
"type": "string"
},
"country_name": {
"type": "string"
},
"dma_code": {
"type": "long"
},
"ip": {
"type": "string"
},
"latitude": {
"type": "double"
},
"location": {
"type": "geo_point"
},
"longitude": {
"type": "double"
},
"postal_code": {
"type": "string"
},
"real_region_name": {
"type": "string"
},
"region_name": {
"type": "string"
},
"timezone": {
"type": "string"
}
}
},
"input_type": {
"type": "string"
},
"offset": {
"type": "long"
},
"our_server": {
"type": "string"
},
"referer": {
"type": "string"
},
"request": {
"type": "string"
},
"request_arrival_time": {
"type": "string"
},
"request_body_bytes_sent": {
"type": "string"
},
"request_ip": {
"type": "string"
},
"request_length": {
"type": "string"
},
"request_processing_time": {
"type": "string"
},
"request_response_code": {
"type": "string"
},
"source": {
"type": "string"
},
"tags": {
"type": "string"
},
"type": {
"type": "string"
},
"upstream_response_time": {
"type": "string"
},
"user_agent": {
"type": "string"
}
}
}
},
"settings": {
"index": {
"creation_date": "1486724244721",
"number_of_shards": "5",
"fedora39-2017": {
"02": {
"09": {
"mappings": {
"nginx-access": {
"properties": {
"our_server": {
"type": "string"
},
"referer": {
"type": "string"
},
"request": {
"type": "string"
},
"browseros_name": {
"type": "string"
},
"source": {
"type": "string"
},
"type": {
"type": "string"
},
"@version": {
"type": "string"
},
"beat": {
"properties": {
"name": {
"type": "string"
},
"hostname": {
"type": "string"
}
}
},
"user_agent": {
"type": "string"
},
"request_ip": {
"type": "string"
},
"browsermajor": {
"type": "string"
},
"geoip": {
"properties": {
"city_name": {
"type": "string"
},
"timezone": {
"type": "string"
},
"ip": {
"type": "string"
},
"latitude": {
"type": "double"
},
"country_code2": {
"type": "string"
},
"country_name": {
"type": "string"
},
"continent_code": {
"type": "string"
},
"country_code3": {
"type": "string"
},
"location": {
"type": "geo_point"
},

Why is that ? And how do I fix this? Sorry, I'm very new to ELK stack if this is not in right forum part or something easy for you.

Thanks


(jonasv) #2

Fixed! Please close this ticket!


(Mark Walkom) #3

How did you fix it?


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.