From 271c0769b0375246014162b7a160118465c5bbfe Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 23 Dec 2005 12:46:29 +0000 Subject: finalized field-support in property replacer (doc updated) --- doc/features.html | 83 ++++++----- doc/property_replacer.html | 4 +- doc/syslog-protocol.html | 352 +++++++++++++++++++++++++-------------------- 3 files changed, 240 insertions(+), 199 deletions(-) (limited to 'doc') diff --git a/doc/features.html b/doc/features.html index d5346025..58d6f0a2 100644 --- a/doc/features.html +++ b/doc/features.html @@ -1,42 +1,41 @@ - - -rsyslog features - - -

RSyslog - Features

-

This page lists both current features as well as those being considered -for future versions of rsyslog. If you think a feature is missing, drop -Rainer a note. Rsyslog is a vital -project. Features are added each few days. If you would like to keep up of what -is going on, you can also subscribe to the rsyslog mailing list. -

-

Current Features

- -

 

-

Upcoming Features

- -

To see when each feature was added, see the -rsyslog change log (online -only).

- - + + +rsyslog features + + +

RSyslog - Features

+

This page lists both current features as well as those being considered +for future versions of rsyslog. If you think a feature is missing, drop +Rainer a note. Rsyslog is a vital +project. Features are added each few days. If you would like to keep up of what +is going on, you can also subscribe to the rsyslog mailing list. +

+

Current Features

+ +

 

+

Upcoming Features

+ +

To see when each feature was added, see the +rsyslog change log (online +only).

+ + diff --git a/doc/property_replacer.html b/doc/property_replacer.html index f4c6bd64..10dba469 100644 --- a/doc/property_replacer.html +++ b/doc/property_replacer.html @@ -59,7 +59,9 @@ part of it. If you are using regular expressions, the property replacer will return the part of the property text that matches the regular expression. An example for a property replacer sequence with a regular expression is: "%msg:R:.*Sev:. \(.*\) \[.*--end%"
-
+

+Also, extraction can be done based on so-called "fields". To do so, place a "F" into FromChar. A field in its current definition is anything that is delemited by TAB characters (US-ASCII value 9). If your syslog data is tabular, this is a quicker way to extract than via regular expressions (actually, a *much* quicker way). Field counting starts at 1. Field zero is accepted, but will always lead to a "field not found" error. The same happens if a field number higher than the number of fields in the property is requested. The field number must be placed in the "ToChar" parameter. An example where the 3rd field from the msg property is extracted is as follows: "%msg:F:3%".

+Please note that the special characters "F" and "R" are case-sensitive. Only upper case works, lower case will return an error.

Property Options

property options are case-insensitive. Currently, the following options are defined:

diff --git a/doc/syslog-protocol.html b/doc/syslog-protocol.html index e5789ab8..5305d812 100644 --- a/doc/syslog-protocol.html +++ b/doc/syslog-protocol.html @@ -1,156 +1,196 @@ - - -syslog-protocol support in rsyslog - - -

syslog-protocol support in rsyslog

-

Rsyslog  provides a trial -implementation of the proposed - -syslog-protocol standard. The intention of this implementation is to -find out what inside syslog-protocol is causing problems during implementation. -As syslog-protocol is a standard under development, its support in rsyslog is -highly volatile. It may change from release to release. So while it provides -some advantages in the real world, users are cautioned against using it right -now. If you do, be prepared that you will probably need to update all of your -rsyslogds with each new release. If you try it anyhow, please provide feedback -as that would be most benefitial for us.

-

Currently supported message format

-

Due to recent discussion on syslog-protocol, we do not follow any specific -revision of the draft but rather the candidate ideas. The format supported -currently is:

-

<PRI>VERSION SP TIMESTAMP SP HOSTNAME SP APP-NAME SP PROCID SP MSGID SP [SD-ID]s -SP MSG

-

Field syntax and semantics are as defined in IETF I-D syslog-protocol-15.

-

Capabilities Implemented

- -

Findings

-

This lists what has been found during implementation:

- -

 

-

Conlusions/Suggestions

-

These are my personal conclusions and suggestions. Obviously, they must be -discussed ;)

- -

 

- - - + + +syslog-protocol support in rsyslog + + +

syslog-protocol support in rsyslog

+

Rsyslog  provides a trial +implementation of the proposed + +syslog-protocol standard. The intention of this implementation is to +find out what inside syslog-protocol is causing problems during implementation. +As syslog-protocol is a standard under development, its support in rsyslog is +highly volatile. It may change from release to release. So while it provides +some advantages in the real world, users are cautioned against using it right +now. If you do, be prepared that you will probably need to update all of your +rsyslogds with each new release. If you try it anyhow, please provide feedback +as that would be most benefitial for us.

+

Currently supported message format

+

Due to recent discussion on syslog-protocol, we do not follow any specific +revision of the draft but rather the candidate ideas. The format supported +currently is:

+

<PRI>VERSION SP TIMESTAMP SP HOSTNAME SP APP-NAME SP PROCID SP MSGID SP [SD-ID]s +SP MSG

+

Field syntax and semantics are as defined in IETF I-D syslog-protocol-15.

+

Capabilities Implemented

+ +

Findings

+

This lists what has been found during implementation:

+ +

Some notes on syslog-transport-udp-06

+ +

 

+

Conlusions/Suggestions

+

These are my personal conclusions and suggestions. Obviously, they must be +discussed ;)

+ +

 

+ + + -- cgit