Filebeat processor

Is there any document for create one filebeat processor? how the filebeat call the processor?