Not using td-agent
to install Fluentd?
Install the plugin with fluent-gem install fluent-plugin-logtail
.
Read more about Plugin Management.
Install Fluentd on your server.
Install and set up Fluentd input plugins.
Install the Better Stack Fluent plugin using td-agent-gem
:
td-agent-gem install fluent-plugin-logtail
Not using td-agent
to install Fluentd?
Install the plugin with fluent-gem install fluent-plugin-logtail
.
Read more about Plugin Management.
Modify the Fluentd configuration to send logs to Better Stack:
<match *>
@type logtail
@id output_logtail
source_token $SOURCE_TOKEN
flush_interval 2 # in seconds
</match>
Restart the Fluentd service:
sudo systemctl restart td-agent.service
You should see your logs in Better Stack → Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏