Created
September 23, 2019 15:08
-
-
Save markuman/308e40e4ec9321eae8ce3e81dfe5f986 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| [SERVICE] | |
| Flush 1 | |
| Log_Level info | |
| Daemon on | |
| [INPUT] | |
| Name tail | |
| Path /var/www/html/var/logs/website/api.log | |
| Tag web.api | |
| Buffer_Max_Size 512K | |
| Skip_Long_Lines on | |
| [FILTER] | |
| Name record_modifier | |
| Match web.api | |
| Record hostname ${HOSTNAME} | |
| [OUTPUT] | |
| Name forward | |
| Match web.api | |
| Retry_Limit False | |
| Host ${FLUENTD_REMOTE_HOST} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment