Hello dear community, I've got simple question but it's not that straight forward to understand by reading docs - this is mentioned as "configuration blocks" which is not clear if docs says about <remote> or <protocol>.
I want to configure <remote> for syslog on both TCP and UDP.
Should config looks like this (2 x <protocol>):
<remote>
<connection>syslog</connection>
<port>514</port>
<protocol>tcp</protocol>
<protocol>udp</protocol>
<local_ip>192.168.1.5</local_ip>
</remote>
Or this (2 x <remote> configs):
<remote>
<connection>syslog</connection>
<port>514</port>
<protocol>tcp</protocol>
<local_ip>192.168.1.5</local_ip>
</remote>
<remote>
<connection>syslog</connection>
<port>514</port>
<protocol>udp</protocol>
<local_ip>192.168.1.5</local_ip>
</remote>
I'd appreciate your support, thanks :)