Reducing syslog output lines
Posted: Tue Oct 23, 2018 3:03 am
Would there be any possibility of reducing the number of syslog output lines for a connection by combining multiple related entries into a single line?
For example, these 11 lines
could be reduced to:
I guess the same could be done with other (e.g., MANAGEMENT) entries as well.
Thanks,
biggsy
For example, these 11 lines
Code: Select all
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_VER=2.4.6
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_PLAT=win
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_PROTO=2
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_NCP=2
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_LZ4=1
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_LZ4v2=1
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_LZO=1
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_COMP_STUB=1
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_COMP_STUBv2=1
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_TCPNL=1
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_GUI_VER=OpenVPN_GUI_11
Code: Select all
Oct 23 12:58:30 openvpn[69922]: <Source IP>:13031 peer info: IV_VER=2.4.6,IV_PLAT=win,IV_PROTO=2,IV_NCP=2,IV_LZ4=1,IV_LZ4v2=1,IV_LZO=1,IV_COMP_STUB=1,IV_COMP_STUBv2=1,IV_TCPNL=1,IV_GUI_VER=OpenVPN_GUI_11
Thanks,
biggsy