Hi guys,
I am using elasticsearch php-api to write logs directly to Elasticsearch.
There is another way that I put the logs to local machine, then filebeat send logs to logstash, then finally to Elasticsearch.
My colleague said that the latter one is better, since my way goes through the HTTP protocol.
Which is better?