Merge pull request #736 from easonlau02/filebeat-6.1.1

Add README.md for filebeat and update description for rancher-compose.yml
This commit is contained in:
Raúl Sánchez 2018-02-12 16:05:52 +01:00 committed by GitHub
commit f0f3f6d69e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 54 additions and 6 deletions

View File

@ -0,0 +1,12 @@
### Log Shipper to logstash
* Before choose your filebeat version to launch, please make sure Beats [Support Matrix](https://www.elastic.co/support/matrix#matrix_compatibility)
* 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.
```bash
eg:
${HOME_PATH}/app/logs/xxx.log
${HOME_PATH}/nginx/logs/xxx.log
${HOME_PATH}/others/logs/xxx.log
```
And set Application Log Path as your `${HOME_PATH}`

View File

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

View File

@ -0,0 +1,12 @@
### Log Shipper to logstash
* Before choose your filebeat version to launch, please make sure Beats [Support Matrix](https://www.elastic.co/support/matrix#matrix_compatibility)
* 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.
```bash
eg:
${HOME_PATH}/app/logs/xxx.log
${HOME_PATH}/nginx/logs/xxx.log
${HOME_PATH}/others/logs/xxx.log
```
And set Application Log Path as your `${HOME_PATH}`

View File

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

View File

@ -0,0 +1,12 @@
### Log Shipper to logstash
* Before choose your filebeat version to launch, please make sure Beats [Support Matrix](https://www.elastic.co/support/matrix#matrix_compatibility)
* 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.
```bash
eg:
${HOME_PATH}/app/logs/xxx.log
${HOME_PATH}/nginx/logs/xxx.log
${HOME_PATH}/others/logs/xxx.log
```
And set Application Log Path as your `${HOME_PATH}`

View File

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

View File

@ -0,0 +1,12 @@
### Log Shipper to logstash
* Before choose your filebeat version to launch, please make sure Beats [Support Matrix](https://www.elastic.co/support/matrix#matrix_compatibility)
* 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.
```bash
eg:
${HOME_PATH}/app/logs/xxx.log
${HOME_PATH}/nginx/logs/xxx.log
${HOME_PATH}/others/logs/xxx.log
```
And set Application Log Path as your `${HOME_PATH}`