fromhost-ip

Provides the message source as an IP address just like fromhost.

This property belongs to the Message Properties group.

Name:

fromhost-ip

Category:

Message Properties

Type:

string

Description

The same as fromhost, but always as an IP address. Local inputs (like imklog) use 127.0.0.1 in this property.

Usage

template(name="example" type="list") {
    property(name="fromhost-ip")
}

See also

See rsyslog Properties for the category overview.


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

Contributing: Source & docs: rsyslog source project

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