Logstash jdbc 에서 데이터 update, delete
3월 18, 2017
In 기타 |
Logstash - jdbc 에서 - 변경된 row는 update - 변경되지 않고 추가된 row는 insert - 없어진 row는 delete... 동작하는지 확인 ## 관련 링크 [https://discuss.elastic.co/t/logstash-adding-duplicate-rows-for-every-run/44775/11](https://discuss.elastic.co/t/logstash-adding-duplicate-rows-for-every-run/44775/11) [https://discuss.elastic.co/t/delete-elasticsearch-document-with-logstash-jdbc-input/47490](https://discuss.elastic.co/t/delete-elasticsearch-document-with-logstash-jdbc-input/47490) ## 결론 삭제는 안되고, insert와 update만 되는 것을 보임 Delete는 db 데이터에서 delete status로 구분하여 처리하면 될 듯...