Reputation: 31
I already setup centralized logging system on my environment but i keep getting hostname from the client rather than ip address is there a way to receive or send ip instead of hostname?
thanks
Upvotes: 1
Views: 9285
Reputation: 1393
You would need to define a template on both your remote and central server which uses fromhost-ip
instead of fromhost
or hostname
. This way you will transmit the message with the IP in the message and you will save that information on your central server.
I don't know of any standard templates that use IP address over hostname, as normally a hostname is of more use than an IP address
More info on properties can be found here and templates here
Upvotes: 2