由於filbeat是用來與es存儲進行對接使用的,所以默認會添加一些數據,這裏數據爲了方便和es對接,可以修改processors
配置對字段進行自定義,但是@timestamp
、type
字段不能丟棄。
對字段的過濾和增強導出數據參考:https://www.elastic.co/guide/en/beats/filebeat/current/filtering-and-enhancing-data.html
結論:filebeat目前位置不支持只收集原生日誌數據(filebeat7.2)。