add README.md

This commit is contained in:
eason lau 2018-02-08 22:27:15 -05:00
parent ac91b53560
commit f8a131795f
7 changed files with 38 additions and 6 deletions

View File

@ -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

View File

@ -25,13 +25,13 @@ catalog:
type: "string" type: "string"
- variable: "APPLOG_PATH" - variable: "APPLOG_PATH"
label: "Application Log 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 required: true
default: "/home/user/" default: "/home/user/"
type: "string" type: "string"
- variable: "NGINXLOG_PATH" - variable: "NGINXLOG_PATH"
label: "Nginx Log 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/" default: "/var/log/nginx/"
type: "string" type: "string"
required: true required: true

View File

@ -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

View File

@ -25,13 +25,13 @@ catalog:
type: "string" type: "string"
- variable: "APPLOG_PATH" - variable: "APPLOG_PATH"
label: "Application Log 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 required: true
default: "/home/user/" default: "/home/user/"
type: "string" type: "string"
- variable: "NGINXLOG_PATH" - variable: "NGINXLOG_PATH"
label: "Nginx Log 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/" default: "/var/log/nginx/"
type: "string" type: "string"
required: true required: true

View File

@ -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

View File

@ -25,13 +25,13 @@ catalog:
type: "string" type: "string"
- variable: "APPLOG_PATH" - variable: "APPLOG_PATH"
label: "Application Log 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 required: true
default: "/home/user/" default: "/home/user/"
type: "string" type: "string"
- variable: "NGINXLOG_PATH" - variable: "NGINXLOG_PATH"
label: "Nginx Log 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/" default: "/var/log/nginx/"
type: "string" type: "string"
required: true required: true

View File

@ -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