substring()¶
Purpose¶
substring(str, start, subStringLength)
Creates a substring from str. The substring begins at start and is at most subStringLength characters long.
Example¶
In the following example a substring from the message property is created, starting with the 10th character and being 5 characters long.
substring($msg, 10, 5)
See also
Help with configuring/using Rsyslog
:
- Mailing list - best route for general questions
- GitHub: rsyslog source project - detailed questions, reporting issues
that are believed to be bugs with
Rsyslog
- Stack Exchange (View, Ask) - experimental support from rsyslog community
See also
Contributing to Rsyslog
:
- Source project: rsyslog project README.
- Documentation: rsyslog-doc project README