Forwarding fluentd internal tag to loggly automatically
# | |
# install https://github.com/tagomoris/fluent-plugin-forest | |
# | |
# test | |
<source> | |
type tail | |
format /^(?<log>.*)$/ | |
tag test | |
path /tmp/test.log | |
</source> | |
# loggly | |
<match **> | |
type forest | |
subtype loggly | |
<template> | |
loggly_url https://logs-01.loggly.com/inputs/TOKEN/tag/${tag} | |
</template> | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment