fromhost property is not resolved with relp

This is the place for you, if you got rsyslog up and running but wonder how to make it do what you want.

Moderator: rgerhards

fromhost property is not resolved with relp

Postby awinberg » Fri Jul 03, 2009 3:10 pm

Hi,

we are currently using udp for sending logs from rsyslog clients to a rsyslog server, but i want to move to relp. with udp, the fromhost propery is resolved to the hostname of the client, i.e without the domain. If i send logs via tcp (@@) instead, the fromhost property resolves to the fqdn of the client, and when i use relp, the fromhost property is not resolved at all - its just the ip address.

My problem is that i want to use relp but i want the fromhost property to resolve to the hostname - how can i make that happen?

Rsyslog version: rsyslog-3.21.9-2.fc10 (both clients and server)

/Adam Winberg
awinberg
Avarage
 
Posts: 23
Joined: Wed Mar 11, 2009 2:16 pm

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: fromhost property is not resolved with relp

Postby rgerhards » Fri Jul 03, 2009 4:10 pm

I think this is currently not possible, at least not without code modifications. It would probably a good idea to file an enhancement request with the bug tracker, so that I can pick it up as soon as I have some time to do that. If I remember correctly, I've had a few requests for this functionality every now and then...

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Google Ads



Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron