Install On Heroku
Last updated
Was this helpful?
Last updated
Was this helpful?
This article describes how to install Fluentd (td-agent) on .
Heroku doesn't allow users to install separate processes within a single dyno. You will thus need to setup Fluentd as a separate Heroku application. This will become you central log aggregation server.
Treasure Data provides a boilerplate repository to get you started. Follow the steps below to create Fluentd (td-agent) as a Heroku application.
If
is what you want, there are two ways to deploy it.
Clicking on the following button automatically launched td-agent on Heroku:
This is similar to "With non-Treasure Data Backend", except you do not need to edit the config. Instead, simply update the configuration variable:
In general, the URL format is
The output will be available on STDOUT.
Since , the primary sponsor of Fluentd, is a , some of you came here to stream data to Treasure Data through Fluentd.
You can read more about this approach .
To retrieve your treasure_data_api_key_value
, see .
Let's confirm that the log aggregation server has been set up correctly. Please send a GET request to the log server, , as shown below. This will log the event { "json": "message" } with a debug.sample tag. Note how the JSON-formatted data is passed as a query parameter value.
If this article is incorrect or outdated, or omits critical information, please . is a open source project under . All components are available under the Apache 2 License.