I have a remote rsyslog server up and running, and 10 servers are sending it's logs there as clients.
By default, they save it's logs in a directory with the same name as it's hostname. Let's say one of those servers has hostname
client1, then in the main server a directory is created called
/client1/ and it will be filled with the according log information for that client.
My boss wants that directory name to be
hostname-IP. So if client1 has IP 126.96.36.199, then it should create a
/client1-188.8.131.52/ directory on the main server with it's logs.
How/where I configure that?
Huge thanks in advance.