Install Fluentd on your server.
Install and set up Fluentd input plugins.
Install the Better Stack Fluent plugin:
fluent-gem install fluent-plugin-logtail
Read more about Plugin Management in the official documentation.
Modify the Fluentd configuration to send logs to Better Stack:
<match **>
@type logtail
@id output_logtail
source_token $SOURCE_TOKEN
ingesting_host $INGESTING_HOST
flush_interval 2 # in seconds
</match>
Restart the Fluentd service:
systemctl restart fluentd
You should see your logs in Better Stack → Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.