mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00

The broxygen-generated files now live in the git repo, have tests that check that they are up-to-date, and a script to re-generate them on-demand.
61 lines
1.9 KiB
ReStructuredText
61 lines
1.9 KiB
ReStructuredText
:tocdepth: 3
|
|
|
|
base/protocols/syslog/main.bro
|
|
==============================
|
|
.. bro:namespace:: Syslog
|
|
|
|
Core script support for logging syslog messages. This script represents
|
|
one syslog message as one logged record.
|
|
|
|
:Namespace: Syslog
|
|
:Imports: :doc:`base/protocols/syslog/consts.bro </scripts/base/protocols/syslog/consts.bro>`
|
|
|
|
Summary
|
|
~~~~~~~
|
|
Types
|
|
#####
|
|
============================================ ============================================================
|
|
:bro:type:`Syslog::Info`: :bro:type:`record` The record type which contains the fields of the syslog log.
|
|
============================================ ============================================================
|
|
|
|
Redefinitions
|
|
#############
|
|
================================================================= =
|
|
:bro:type:`Log::ID`: :bro:type:`enum`
|
|
:bro:type:`connection`: :bro:type:`record`
|
|
:bro:id:`likely_server_ports`: :bro:type:`set` :bro:attr:`&redef`
|
|
================================================================= =
|
|
|
|
|
|
Detailed Interface
|
|
~~~~~~~~~~~~~~~~~~
|
|
Types
|
|
#####
|
|
.. bro:type:: Syslog::Info
|
|
|
|
:Type: :bro:type:`record`
|
|
|
|
ts: :bro:type:`time` :bro:attr:`&log`
|
|
Timestamp when the syslog message was seen.
|
|
|
|
uid: :bro:type:`string` :bro:attr:`&log`
|
|
Unique ID for the connection.
|
|
|
|
id: :bro:type:`conn_id` :bro:attr:`&log`
|
|
The connection's 4-tuple of endpoint addresses/ports.
|
|
|
|
proto: :bro:type:`transport_proto` :bro:attr:`&log`
|
|
Protocol over which the message was seen.
|
|
|
|
facility: :bro:type:`string` :bro:attr:`&log`
|
|
Syslog facility for the message.
|
|
|
|
severity: :bro:type:`string` :bro:attr:`&log`
|
|
Syslog severity for the message.
|
|
|
|
message: :bro:type:`string` :bro:attr:`&log`
|
|
The plain text message.
|
|
|
|
The record type which contains the fields of the syslog log.
|
|
|
|
|