td-agent was discontinued in December 2023 and has been replaced by fluent-package. The fluent-package is the official successor maintained by the Cloud Native Computing Foundation.
You can add logs in JSON format using HTTP.
$ curl -X POST -d 'json={"action":"login","user":2}' \
http://localhost:8888/td.testdb.www_accessFluentd continuously uploads logs every 5 minutes. You can force Fluentd to flush the buffered logs into the cloud by sending a SIGUSR1 signal.
# Linux
$ kill -USR1 $(cat /var/run/fluent/fluentd.pid)Go to TD Console > Databases to check if the data got imported successfully. Or from the CLI, you can check by issuing the td tables command:
$ td tables+------------+------------+------+-----------+
| Database | Table | Type | Count |
+------------+------------+------+-----------+
| testdb | www_access | log | 1 |
+------------+------------+------+-----------+If you run into any issues, the Fluentd log (/var/log/fluent/fluentd.log) is a good place to start your investigation.