zeek/scripts/base/frameworks/logging
Seth Hall b28801ce95 Add unrolling separator & field name map to logging framework.
- When a log record is being "unrolled" (sub-records flattened
   out into a single record), it's now possible to choose the
   character/string to separate the outer name from the inner
   name.  This can be used to work around the problems
   with ElasticSearch 2.0 not supporting dots "." in field names.
   This value can be provided per-filter as well as a global
   default value.
 - Log fields can be renamed by providing a table per-filter
   (or a global default) to rename fields for any log writer.
   The name translation is performed after unrolling so the
   value in the field name table must match whatever is being
   used to separate field names.

   For example if the unrolling separator was set to "*":
	redef Log::default_unrolling_sep = "*";

   The field name map would need to reflect it:
	redef Log::default_field_name_map = {
		["id*orig_h"] = "src",
		["id*orig_p"] = "src_port",
		["id*resp_h"] = "dst",
		["id*resp_p"] = "dst_port",
	};
2016-05-16 12:28:45 -04:00
..
postprocessors allow to specify a remote host port to use for the sftp log rotator. 2015-04-03 08:21:22 -07:00
writers Fix a "make doc" warning 2015-05-29 14:38:50 -05:00
__load__.bro Move DataSeries and ElasticSearch into plugins. 2014-08-08 18:32:21 -07:00
main.bro Add unrolling separator & field name map to logging framework. 2016-05-16 12:28:45 -04:00
README Add README files for most Bro frameworks 2013-10-11 00:19:37 -05:00

The logging framework provides a flexible key-value based logging interface.