ElasticSearch 에서 template 을 활용하는 방법

ElasticSearch를 로그 분석용으로 사용할 때 인덱스의 mappingtemplate을 사용해서 생성되도록 설정하면 편리하다.