Elastic stack zabbix 연동
2018. 3. 17.
Zabbix는 기본적으로 rdbms 에 모든 metric, log 등을 타입에 따라서 history 형태로 저장 하고 있음ES 에 저장 하기 위해서 아래 표와 같은 형태로 index 를 생성 해줘야 한다. Item value typeDatabase tableElasticsearch type Numeric (unsigned)history_uintuint Numeric (float)historydbl Characterhistory_strstr Loghistory_loglog Texthistory_texttext Crul을 이용 하여 위 표에 지정된 index 생성 # curl -X \PUT http://localhost:9200/text \ -H 'content-type:application/json' \-..