fluent-plugin-logdna
Using fluent-plugin-logdna, you can send the logs you collect with Fluentd to LogDNA.
Instructions
- Install Fluentd
gem install fluent-plugin-logdnaortd-agent-gem install fluent-plugin-logdnaif you are using td-agent.- Make sure you have a LogDNA account.
- Configure Fluentd like the following:
<match your_match>
@type logdna
api_key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # paste your api key here (required)
hostname my_host # replace with your hostname (required)
mac C0:FF:EE:C0:FF:EE # replace with host mac address
ip 127.0.0.1 # replace with host ip address
app my_app # replace with your app name
</match>
- Restart fluentd to pick up the configuration changes.
For advanced configuration options, refer to the buffered output parameters documentation.
Questions or concerns? Contact [email protected].