toupper()

Purpose

toupper(str)

Converts the provided string into uppercase.

Example

The following example shows the syslogtag being converted to upper case.

toupper($syslogtag)

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.