elastic search filebeat code example Example: push my logs to elk using filebeat sudo /usr/share/filebeat/bin/filebeat -e -c /etc/filebeat/filebeat.yml