fielddata를 true로 변경
→ metricbeat의 template을 kibana에 적용 시 dashboard에서 에러발생
Visualize: Fielddata is disabled on text fields by default. Set fielddata=true on [system.process.name] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory.
→ fielddata를 true로 설정(모든 index 및 모든 type에 대해 설정)
OR
→ 설정 할 때 아래와 같이 오류 발생 가능(다른 유형으로 사용된다고 옵션을 붙여서 설정하라는 도움말...)
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Mapper for [system.process.name] conflicts with existing mapping in other types:\n[mapper [system.process.name] is used by multiple types. Set update_all_types to true to update [fielddata] across all types.]"
}
],
"type": "illegal_argument_exception",
"reason": "Mapper for [system.process.name] conflicts with existing mapping in other types:\n[mapper [system.process.name] is used by multiple types. Set update_all_types to true to update [fielddata] across all types.]"
},
"status": 400
}
→ update_all_types옵션을 붙여 다시 요청
→ 끝.