Using Filebeat with ecs logging

Hi,
I want to have my logs to ECS format before shipping them to elasticsearch cluster.
We got a server collecting logs from different equipments, each equipment having its dedicated log directory on the server.
Filebeat is installed on my server. Which logger should choose ? .NE? python? PHP? ruby?..
Is their any example?