&T – This adds the time you logged into the device. Add a dash afterwards to separate it from the time. &Y&M&D – This adds the year, month, and day. I add a dash after this to separate it from the dates.
&H – This will append the hostname of the device to the front of the file. Under the Session Logging section, select “All session output”įor the log file name, use this structure: &H-&Y&M&D-&T.log Then on the left pane, click on Logging under Session.
PUTTY VIEW FILE DETAILS HOW TO
Here’s how to configure it. First, highlight the Default Settings: Putty allows you to log each of your sessions. Or what if you wanted to remember what you did a couple of months ago on a switch? I can’t recall how many times I’ve burned myself because I fat-fingered the keyboard and then lost my connection to the network device or misconfigured an interface and not realize it for a couple of days.
In the Network application, go to Settings > System Settings > Maintenance > Support information, and click Download Logs.Putty is a widely used, free, tool to SSH/Telnet/Console/etc into a network device. It is important to note that this support file does not include device logs. For viewing, we continue to suggest all the options described above. The Network application also allows users to download log files to share with Ubiquiti support, but these logs are encrypted (for security reasons), so as the user, you wouldn't be able to view the logs. How to Download Encrypted Log Files from the Network Application
Please see this Community post for more details. To view the live logs, with output updating in your SSH session as new logs are appended, run the following instead of the cat command above. IPS/IDS Engine Logging sudo cat /var/log/suricata/suricata.log In the EdgeOS CLI, the log can be viewed by running the following commands:įreeRADIUS Logging sudo cat /var/log/freeradius/radius.logĭNSmasq Logging sudo cat /var/log/dnsmasq.log How to View Log Files: UniFi Security GatewaysĢ. To view the live logs, with output updating in your SSH session as new logs are appended, run the following instead of the above cat command. How to View Log Files: UniFi APs and Switches
PUTTY VIEW FILE DETAILS SOFTWARE
Contains information about UniFi software local to Network application installed on a PC.Contains information about the Network application, communication with UAPs, etc:.UniFi Security Gateway: contains USG’s general logging. UniFi Switch: contains info local to the switch, like port link state changes, spanning tree events, etc. UniFi AP: contains info local to UniFi Access Points, like 802.11 info /var/log/messagesģ. There are three locations where you can view log files related to UniFi devices and the Network application: /var/log/messages, server.log, and mongod.log. Depending on the platform being used, and how it is configured, there will be other locations, but no matter what, on the supported distros, /usr/lib/unifi/logs will always contain the files.
PUTTY VIEW FILE DETAILS INSTALL
It is the same whether you install the UniFi Network application on your own installation of Debian or Ubuntu, or a UniFi Cloud Key. NOTE:The symlink directory for Linux is mentioned below as it is the consistent folder location on the officially supported distros.