ใน mysql โต๊ะมี tinyint ประเภทชอบเรื่องนี้ซึ่งก็แค่ร้าน 0 หรือ 1 ค่าเหมือน is_mel:1
.
is_mel | tinyint(1)
ใน Elasticsearch ดัชนีระบบแผนที่ config is_mel ที่เป็นเลขจำนวนเต็ม
แต่จาก logstash ปูมบันทึกมันแสดงมันออกการวิเคราะห์ที่ is_mel เป็นค่าทางตรรกะจริงหรือไม่จริงอย่าง "is_mel":true
ซึ่งจะนำทางไปด้านล่างนี้เกิดข้อผิดพลาด,
"type"=>"mapper_parsing_exception",
"reason"=>"failed to parse field [is_mel] of type [integer] in document with id '392289'. Preview of field's value: 'true'"