filebeat 처럼 processor 같은 기능을 구현하려고 할 때 유용할것 같기도 하네요..
https://www.elastic.co/docs/reference/beats/filebeat/processor-script