Skip to content
This repository was archived by the owner on Jul 18, 2019. It is now read-only.
Open
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
6 changes: 5 additions & 1 deletion plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ time_format
tcp
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

**tcp** input plugin listens MessagePack stream on a TCP socket. This is used by ``fluent-cat`` command or other language bindings.
**tcp** input plugin listens MessagePack stream or encoded JSON stream on a TCP socket.
The MessagePack stream is used by ``fluent-cat`` command or other language bindings.

Protocol format::

Expand All @@ -164,8 +165,11 @@ Protocol format::
[tag, time, record]
or
[tag, [[time,record], [time,record], ...]]
(Note that later format is only supported by MessagePack Stream.)

example:
["myapp.access", 1308466941, {"a"=>1}]
or
["myapp.access", [1308466941, {"a"=>1}], [1308466942, {"b"=>2}]]

**configuration**::
Expand Down