How do i send the Build logs to a Centralized Elasticsearch server

I would like to send the CircleCI Build logs to a centralized elasticsearch server.

How do I do it?