Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Convert = &charm.Spec{
Name: "convert",
Usage: "convert [-f frametresh] [ -o file ] -k field[,field,...] file",
Short: "generate a Zed index file from one or more zng files",
Long: `
The convert command generates a Zed index containing keys and optional values
from the input file. The required flag -k specifies one or more zng record
field names that comprise the index search keys, in precedence order.
The keys must be pre-sorted in ascending order with
respect to the stream of zng records; otherwise the index will not work correctly.
The input records are all copied to the base layer of the output index, as is,
so any information stored alongside the keys (e.g., pre-computed aggregations).
It is an error if the key or value fields are not of uniform type.`,
New: newCommand,
}
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.