# Confirming Data Upload

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](https://www.cncf.io/projects/).

You can add logs in JSON format using HTTP.


```bash
$ curl -X POST -d 'json={"action":"login","user":2}' \
http://localhost:8888/td.testdb.www_access
```

Fluentd continuously uploads logs every 5 minutes. You can force Fluentd to flush the buffered logs into the cloud by sending a SIGUSR1 signal.


```bash
# Linux
$ kill -USR1 $(cat /var/run/fluent/fluentd.pid)
```

Go to Treasure Console > Databases to check if the data got imported successfully. Or from the CLI, you can check by issuing the `td tables` command:


```bash
$ td tables
```


```bash
+------------+------------+------+-----------+
| 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.