Last active
April 18, 2018 17:15
-
-
Save davidmlentz/e2ea50ebd4ffaabe8ad2b84d992a6a0a to your computer and use it in GitHub Desktop.
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
init_config: | |
instances: | |
- url: http://localhost:9000/haproxy_stats | |
username: Username | |
password: Password | |
collate_status_tags_per_host: True | |
## Log section (Available for Agent >=6.0) | |
logs: | |
# - type : (mandatory) type of log input source (tcp / udp / file) | |
# port / path : (mandatory) Set port if type is tcp or udp. Set path if type is file | |
# service : (mandatory) name of the service owning the log | |
# source : (mandatory) attribute that defines which integration is sending the logs | |
# sourcecategory : (optional) Multiple value attribute. Can be used to refine the source attribtue | |
# tags: (optional) add tags to each logs collected | |
- type: file | |
path: /var/log/haproxy0.log | |
service: my_haproxy_service | |
source: haproxy | |
sourcecategory: http_web_access |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment