Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion container-deployment/install-by-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ $ docker run -p 9880:9880 -v $(pwd)/tmp:/fluentd/etc fluent/fluentd:edge-debian
Use `curl` command to post sample logs via HTTP like this:

```text
$ curl -X POST -d 'json={"json":"message"}' http://127.0.0.1:9880/sample.test
$ curl -X POST -d "json={\"json\":\"message\"}" http://127.0.0.1:9880/sample.test
```

(Note: For Windows users, it is recommended to run this command in Command Prompt (cmd.exe). If using PowerShell, the JSON string may require different escaping rules to be parsed correctly.)

Use `docker ps` command to retrieve container ID and use `docker logs` command to check the specific container's log like this:

```text
Expand Down