diff --git a/templates/filebeat/0/README.md b/templates/filebeat/0/README.md new file mode 100644 index 0000000..64542dd --- /dev/null +++ b/templates/filebeat/0/README.md @@ -0,0 +1,8 @@ +### Log Shipper to logstash +* Support ship APP log and Nginx log or one of both to Logstash +* Let it default if you only have one log type of both APP log and Ningx log. +* Also you can put all any type log(include app/nginx/other type) to Application Log Path with below pattern. +eg: +${HOME_PATH}/app/logs/xxx.log +${HOME_PATH}/nginx/logs/xxx.log +${HOME_PATH}/others/logs/xxx.log diff --git a/templates/filebeat/0/rancher-compose.yml b/templates/filebeat/0/rancher-compose.yml index 5177491..d6b3dd0 100644 --- a/templates/filebeat/0/rancher-compose.yml +++ b/templates/filebeat/0/rancher-compose.yml @@ -25,13 +25,13 @@ catalog: type: "string" - variable: "APPLOG_PATH" label: "Application Log Path" - description: "For alignment, put your log into below path: ${HOME_PATH}/App1/logs/xxx.log, assume your HOME_PATH=/home/user, then set Application log Path as /home/user/." + description: "For alignment, put your log into below path: ${HOME_PATH}/App1/logs/xxx.log, assume your HOME_PATH=/home/user, then set Application log Path as /home/user/, let it default if there is no app log." required: true default: "/home/user/" type: "string" - variable: "NGINXLOG_PATH" label: "Nginx Log Path" - description: "Default it as /var/log/nginx/" + description: "Default it as /var/log/nginx/, let it default if there is no nginx log." default: "/var/log/nginx/" type: "string" required: true diff --git a/templates/filebeat/1/README.md b/templates/filebeat/1/README.md new file mode 100644 index 0000000..64542dd --- /dev/null +++ b/templates/filebeat/1/README.md @@ -0,0 +1,8 @@ +### Log Shipper to logstash +* Support ship APP log and Nginx log or one of both to Logstash +* Let it default if you only have one log type of both APP log and Ningx log. +* Also you can put all any type log(include app/nginx/other type) to Application Log Path with below pattern. +eg: +${HOME_PATH}/app/logs/xxx.log +${HOME_PATH}/nginx/logs/xxx.log +${HOME_PATH}/others/logs/xxx.log diff --git a/templates/filebeat/1/rancher-compose.yml b/templates/filebeat/1/rancher-compose.yml index 0ea389f..1d4b7f0 100644 --- a/templates/filebeat/1/rancher-compose.yml +++ b/templates/filebeat/1/rancher-compose.yml @@ -25,13 +25,13 @@ catalog: type: "string" - variable: "APPLOG_PATH" label: "Application Log Path" - description: "For alignment, put your log into below path: ${HOME_PATH}/App1/logs/xxx.log, assume your HOME_PATH=/home/user, then set Application log Path as /home/user/." + description: "For alignment, put your log into below path: ${HOME_PATH}/App1/logs/xxx.log, assume your HOME_PATH=/home/user, then set Application log Path as /home/user/, let it default if there is no app log." required: true default: "/home/user/" type: "string" - variable: "NGINXLOG_PATH" label: "Nginx Log Path" - description: "Default it as /var/log/nginx/" + description: "Default it as /var/log/nginx/, let it default if there is no nginx log." default: "/var/log/nginx/" type: "string" required: true diff --git a/templates/filebeat/2/README.md b/templates/filebeat/2/README.md new file mode 100644 index 0000000..64542dd --- /dev/null +++ b/templates/filebeat/2/README.md @@ -0,0 +1,8 @@ +### Log Shipper to logstash +* Support ship APP log and Nginx log or one of both to Logstash +* Let it default if you only have one log type of both APP log and Ningx log. +* Also you can put all any type log(include app/nginx/other type) to Application Log Path with below pattern. +eg: +${HOME_PATH}/app/logs/xxx.log +${HOME_PATH}/nginx/logs/xxx.log +${HOME_PATH}/others/logs/xxx.log diff --git a/templates/filebeat/2/rancher-compose.yml b/templates/filebeat/2/rancher-compose.yml index 7b543e7..47aabf4 100644 --- a/templates/filebeat/2/rancher-compose.yml +++ b/templates/filebeat/2/rancher-compose.yml @@ -25,13 +25,13 @@ catalog: type: "string" - variable: "APPLOG_PATH" label: "Application Log Path" - description: "For alignment, put your log into below path: ${HOME_PATH}/App1/logs/xxx.log, assume your HOME_PATH=/home/user, then set Application log Path as /home/user/." + description: "For alignment, put your log into below path: ${HOME_PATH}/App1/logs/xxx.log, assume your HOME_PATH=/home/user, then set Application log Path as /home/user/, let it default if there is no app log." required: true default: "/home/user/" type: "string" - variable: "NGINXLOG_PATH" label: "Nginx Log Path" - description: "Default it as /var/log/nginx/" + description: "Default it as /var/log/nginx/, let it default if there is no nginx log." default: "/var/log/nginx/" type: "string" required: true diff --git a/templates/filebeat/README.md b/templates/filebeat/README.md new file mode 100644 index 0000000..64542dd --- /dev/null +++ b/templates/filebeat/README.md @@ -0,0 +1,8 @@ +### Log Shipper to logstash +* Support ship APP log and Nginx log or one of both to Logstash +* Let it default if you only have one log type of both APP log and Ningx log. +* Also you can put all any type log(include app/nginx/other type) to Application Log Path with below pattern. +eg: +${HOME_PATH}/app/logs/xxx.log +${HOME_PATH}/nginx/logs/xxx.log +${HOME_PATH}/others/logs/xxx.log