Skip to content

Commit

Permalink
增加日志目录
Browse files Browse the repository at this point in the history
  • Loading branch information
jzwlqx committed Feb 25, 2018
1 parent 57ad9b6 commit abea8c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/filebeat/config.filebeat
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -170,3 +171,4 @@ case "$FILEBEAT_OUTPUT" in
*)
default
esac

0 comments on commit abea8c1

Please sign in to comment.