mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Expanded support for modifying the timestamp format in the JSON formatter.
This commit is contained in:
parent
6cd9358a71
commit
c591e4f57f
8 changed files with 69 additions and 19 deletions
|
@ -25,10 +25,8 @@ export {
|
|||
const use_json = F &redef;
|
||||
|
||||
## By default, the JSON formatter will use double values for timestamps
|
||||
## which represent the number of seconds from the UNIX epoch. By setting
|
||||
## this to 'T', it will use the 8601 format. This is also available as
|
||||
## a per-filter $config option.
|
||||
const json_iso_timestamps = F &redef;
|
||||
## which represent the number of seconds from the UNIX epoch.
|
||||
const json_timestamps: JSON::TimestampFormat = JSON::TS_EPOCH &redef;
|
||||
|
||||
## If true, include lines with log meta information such as column names
|
||||
## with types, the values of ASCII logging options that are in use, and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue