From abea8c1b8d5bc612a60f1175b76bdfb555f0c4f3 Mon Sep 17 00:00:00 2001 From: Jizhong Jiang Date: Sun, 25 Feb 2018 18:10:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/filebeat/config.filebeat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/filebeat/config.filebeat b/assets/filebeat/config.filebeat index 66dc8950..0b1761cf 100755 --- a/assets/filebeat/config.filebeat +++ b/assets/filebeat/config.filebeat @@ -22,8 +22,9 @@ cd $(dirname $0) base() { cat >> $FILEBEAT_CONFIG << EOF -path.data: /var/lib/filebeat/data path.config: /etc/filebeat +path.logs: /var/log/filebeat +path.data: /var/lib/filebeat/data filebeat.registry_file: /var/lib/filebeat/registry filebeat.shutdown_timeout: ${FILEBEAT_SHUTDOWN_TIMEOUT:-0} logging.level: ${FILEBEAT_LOG_LEVEL:-info} @@ -170,3 +171,4 @@ case "$FILEBEAT_OUTPUT" in *) default esac +