[rsyslog] setting the hostname
joe at joetify.com
Tue Dec 14 01:44:33 CET 2010
Thanks but that won't work. I want to enforce the hostname that rsyslog is started with in case the hostname changes at some point.
On Dec 13, 2010, at 1:20 PM, david at lang.hm wrote:
> On Mon, 13 Dec 2010, Rainer Gerhards wrote:
>> Unfortunately, this is not possible...
> however, what you can do is to change the template to put any string you want instead of %hostname%, that will have the same effect.
> David Lang
>>> -----Original Message-----
>>> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
>>> bounces at lists.adiscon.com] On Behalf Of Joe Williams
>>> Sent: Monday, December 13, 2010 9:04 PM
>>> To: rsyslog-users
>>> Subject: [rsyslog] setting the hostname
>>> I would like to statically set the hostname (don't use the actual
>>> hostname of the system) that rsyslogd uses for a node in the
>>> configuration or as an argument to the rsyslogd command on that node. I
>>> didn't immediately see a way to do this in the docs, is this possible?
>>> Name: Joseph A. Williams
>>> Email: joe at joetify.com
>>> Blog: http://www.joeandmotorboat.com/
>>> Twitter: http://twitter.com/williamsjoe
>>> rsyslog mailing list
>> rsyslog mailing list
> rsyslog mailing list
Name: Joseph A. Williams
Email: joe at joetify.com
More information about the rsyslog