[TriLUG] Ubuntu 16.04 NetworkManager Access Logging
Alan Sterger via TriLUG
trilug at trilug.org
Fri May 11 15:42:10 EDT 2018
In case anyone finds this, I've satisfied my requirement for extracting
VPN connection time by using the extended grep below:
egrep 'VPN plugin: state changed: st.*' /var/log/syslog
which gives both 'started' and 'stopped' state (as well as 'stopping'
but hey, shouldn't be too choosy).
Cheers,
-- Alan Sterger
On 5/10/2018 1:17 PM, Alan Sterger wrote:
> Hi Listers,
>
> I need to extract connection timing from accessing my clients VPNs.
> I've looked at /var/log/syslog and 'journalctl -u NetworkManager'.
> What I need is simple connect/disconnect timing without all of the
> DEBUG information. Also, sometimes this information is gathered
> several days later making 'journalctl -u NetworkManager' not optimum.
>
> Any ideas?
>
> -- Alan S.
>
More information about the TriLUG
mailing list