diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-10 13:07:51 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-10 13:07:51 +0200 |
commit | 3c1934cf1369a40cb81a03c08b5d3c740740f1fc (patch) | |
tree | cfae212315fcb34f8e4c852a5891753c0d2c401f | |
parent | 0da2f59fcb6fa53b8cb7ae76f647c667ab42a9f5 (diff) | |
download | rsyslog-3c1934cf1369a40cb81a03c08b5d3c740740f1fc.tar.gz rsyslog-3c1934cf1369a40cb81a03c08b5d3c740740f1fc.tar.bz2 rsyslog-3c1934cf1369a40cb81a03c08b5d3c740740f1fc.zip |
doc: clarify global/local variables
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | doc/rainerscript.html | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -14,6 +14,7 @@ Version 7.5.3 [devel] 2013-07-?? that the majority of installations still use legacy config, we considered this behaviour change acceptable and useful. see also: http://blog.gerhards.net/2013/09/imfile-multi-line-messages.html +- add support for global and local variables - bugfix: queue file size was not correctly processed this could lead to using one queue file per message for sizes >2GiB Thanks to Tomas Heinrich for the patch. diff --git a/doc/rainerscript.html b/doc/rainerscript.html index 3eb08eff..aaaced40 100644 --- a/doc/rainerscript.html +++ b/doc/rainerscript.html @@ -68,9 +68,9 @@ local and global variables are also modifieable. represents the root. <p>Local variables names start with "$.", where the dot denotes the root. Similarly, global variables start with "$/". -<p>Both JSON properties as well as local variables may contain an arbitrary +<p>Both JSON properties as well as global/local variables may contain an arbitrary deep path before the final element. The bang character is always used as path -separator, no matter if it is a message property or a local variable. For example +separator, no matter if it is a message property or a global/local variable. For example "$!path1!path2!varname" is a three-level deep message property where as the very similar looking "$.path1!path2!varname" specifies a three-level deep local variable. The similar global variables is named "$/path1!path2!varname". |