You can define a new template and set this as default template. Other
than that, your only option is to modify the source.

Rainer

2015-09-17 8:44 GMT+02:00 Muhammad Asif <[email protected]>:
> Dear Guys,
>
> My rsyslog send logs to remote server but its send hostname instead of IP
> address. How can I enforce rsyslog to use IP address in logs. I can not use
> any template. I want its default behavior to use IP address.
>
> Sep 17 11:37:53 pms sshd[8834]: Failed password for aserg from 172.20.16.51
> port 62217 ssh2
>
>
> Regards
>
> Asif
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T 
> LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to