A Write to CSV Socket adapter opens a TCP connection to a given address, specified through Host and Port properties. Once the connection is established, the adapter writes Rows into this connection as comma-separated values.
If a connection is lost during adapter execution, it attempts to reconnect.
Property Name (screen) |
Property Name (Attach Adapter) |
Type |
Description |
Host |
Host |
String |
Host name or IP address of the data destination. |
Port |
Port |
Integer |
Port number of the data destination. |
Write title row |
TitleRow |
Boolean |
Whether to send title row (default: "true"). |
Write timestamp column |
TimestampColumn |
Boolean |
If set to true, the adapter writes the message timestamps in the first column of the file. The timestamp is represented as a number of microseconds from 00:00:00 Jan 1, 1970 UTC/GMT. |
Timestamp Column Format |
TimestampColumnFormat |
String |
The format in which timestamp values are stored, e.g., YYYY/MM/DD HH24:MI:SS.FF If blank, timestamp values are in microseconds since January 1, 1970, 12:00:00 AM. |
CSV delimiter string |
CsvDelimeterString |
String |
The character that separates columns in the output. Defaults to a comma (,). |