Created
April 12, 2017 11:42
-
-
Save amura2406/5ede2bc497dd249f757c6c9a9cdd0b1b to your computer and use it in GitHub Desktop.
Sample Filebeat.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filebeat: | |
prospectors: | |
- | |
paths: | |
- /var/log/nginx/access.log | |
fields: | |
app_id: api_1 | |
source_type: "access" | |
fields_under_root: true | |
- | |
paths: | |
- /data/app/log/success.log | |
fields: | |
app_id: api_1 | |
source_type: "streamline" | |
success_type: "success" | |
fields_under_root: true | |
- | |
paths: | |
- /data/app/log/failure.log | |
fields: | |
app_id: api_1 | |
source_type: "streamline" | |
success_type: "failure" | |
fields_under_root: true | |
output.logstash: | |
hosts: ["10.2.15.47:5555"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment