Skip to content

write_ssv

Transforms event stream to SSV (Space-Separated Values) byte stream.

write_ssv [list_separator=str, null_value=str, no_header=bool]

The write_ssv operator transforms an event stream into a byte stream by writing the events as SSV.

The string separating different elements in a list within a single field.

Defaults to ",".

The string denoting an absent value.

Defaults to "-".

Whether to not print a header line containing the field names.

Write an event as SSV.

from {x:1, y:true, z: "String"}
write_ssv
x y z
1 true String

print_ssv, read_ssv, write_csv, write_lines, write_tsv, write_xsv