This article explains how to upgrade the
- Basic knowledge of Treasure Data (an understanding of the Getting Started guide).
- Basic knowledge of td-agent.
apt (Ubuntu) or
yum (RHEL, CentOS) to upgrade the td-agent package.
# Ubuntu $ apt-get update && apt-get install td-agent # Redhat $ yum update && yum install td-agent
When updating td-agent, you will need to restart the daemon. During this time, your application may post logs to
If you’re using td-logger-ruby or td-logger-java, the logger library itself buffers the logged events up to a certain amount of data. Once the daemon returns, the buffered events will be flushed to td-agent.
If you’re using other languages, no buffering mechanism is implemented. So if you don’t want to lose your logs, please stop your applications first (by separating it from your load balancer or terminating the process, etc.) and then upgrade td-agent.