mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
The ASCII writer now supports a filter config option
'only_single_header_row' that turns the output into CSV format. In that mode all meta data is skipped except for a single header line with the fields names. Example: local my_filter: Log::Filter = [$name = "my-filter", $writer = Log::WRITER_ASCII, $config = table(["only_single_header_row"] = "T")]; Contributed by Carsten Langer.
This commit is contained in:
parent
6c2ee1ef54
commit
a5e237f50c
7 changed files with 117 additions and 21 deletions
|
@ -45,6 +45,7 @@ private:
|
|||
// Options set from the script-level.
|
||||
bool output_to_stdout;
|
||||
bool include_meta;
|
||||
bool only_single_header_row;
|
||||
|
||||
char* separator;
|
||||
int separator_len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue