mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Copy docs into Zeek repo directly
This is based on commit 2731def9159247e6da8a3191783c89683363689c from the zeek-docs repo.
This commit is contained in:
parent
83f1e74643
commit
ded98cd373
1074 changed files with 169319 additions and 0 deletions
97
doc/scripts/base/protocols/syslog/main.zeek.rst
Normal file
97
doc/scripts/base/protocols/syslog/main.zeek.rst
Normal file
|
@ -0,0 +1,97 @@
|
|||
:tocdepth: 3
|
||||
|
||||
base/protocols/syslog/main.zeek
|
||||
===============================
|
||||
.. zeek: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.zeek </scripts/base/protocols/syslog/consts.zeek>`
|
||||
|
||||
Summary
|
||||
~~~~~~~
|
||||
Types
|
||||
#####
|
||||
============================================== ============================================================
|
||||
:zeek:type:`Syslog::Info`: :zeek:type:`record` The record type which contains the fields of the syslog log.
|
||||
============================================== ============================================================
|
||||
|
||||
Redefinitions
|
||||
#############
|
||||
==================================================================== ==========================================================
|
||||
:zeek:type:`Log::ID`: :zeek:type:`enum`
|
||||
|
||||
* :zeek:enum:`Syslog::LOG`
|
||||
:zeek:type:`connection`: :zeek:type:`record`
|
||||
|
||||
:New Fields: :zeek:type:`connection`
|
||||
|
||||
syslog: :zeek:type:`Syslog::Info` :zeek:attr:`&optional`
|
||||
:zeek:id:`likely_server_ports`: :zeek:type:`set` :zeek:attr:`&redef`
|
||||
==================================================================== ==========================================================
|
||||
|
||||
Hooks
|
||||
#####
|
||||
=========================================================== =
|
||||
:zeek:id:`Syslog::log_policy`: :zeek:type:`Log::PolicyHook`
|
||||
=========================================================== =
|
||||
|
||||
|
||||
Detailed Interface
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
Types
|
||||
#####
|
||||
.. zeek:type:: Syslog::Info
|
||||
:source-code: base/protocols/syslog/main.zeek 14 29
|
||||
|
||||
:Type: :zeek:type:`record`
|
||||
|
||||
|
||||
.. zeek:field:: ts :zeek:type:`time` :zeek:attr:`&log`
|
||||
|
||||
Timestamp when the syslog message was seen.
|
||||
|
||||
|
||||
.. zeek:field:: uid :zeek:type:`string` :zeek:attr:`&log`
|
||||
|
||||
Unique ID for the connection.
|
||||
|
||||
|
||||
.. zeek:field:: id :zeek:type:`conn_id` :zeek:attr:`&log`
|
||||
|
||||
The connection's 4-tuple of endpoint addresses/ports.
|
||||
|
||||
|
||||
.. zeek:field:: proto :zeek:type:`transport_proto` :zeek:attr:`&log`
|
||||
|
||||
Protocol over which the message was seen.
|
||||
|
||||
|
||||
.. zeek:field:: facility :zeek:type:`string` :zeek:attr:`&log`
|
||||
|
||||
Syslog facility for the message.
|
||||
|
||||
|
||||
.. zeek:field:: severity :zeek:type:`string` :zeek:attr:`&log`
|
||||
|
||||
Syslog severity for the message.
|
||||
|
||||
|
||||
.. zeek:field:: message :zeek:type:`string` :zeek:attr:`&log`
|
||||
|
||||
The plain text message.
|
||||
|
||||
|
||||
The record type which contains the fields of the syslog log.
|
||||
|
||||
Hooks
|
||||
#####
|
||||
.. zeek:id:: Syslog::log_policy
|
||||
:source-code: base/protocols/syslog/main.zeek 11 11
|
||||
|
||||
:Type: :zeek:type:`Log::PolicyHook`
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue