Collect logs on APs

  • 1
  • Question
  • Updated 4 years ago
Hi all,
I'd like to know if it's possible to collect the IP and the mac address of a device that is connected to the AP and forward it to a syslog. And also if it's possible to associate these information on a username. For example is it possible to present a "login" page when a laptop or any other device require a wifi connection on the AP? Like happens in airport, stations and so on...
Photo of Fabio Pericoli

Fabio Pericoli

  • 1 Post
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of J. Goodnough

J. Goodnough, Champ

  • 266 Posts
  • 32 Reply Likes
You can configure a syslog server at Advanced Configuration -> Management Services -> Syslog Assignments and then set it in Network Policy -> Additional Settings -> Management Server Settings.

Be aware, though, that Aerohive devices tend to be rather verbose, and you will generate quite a lot of log entries, and you will probably want some sort of more advanced logging solution set up; as an example my ~130 APs generated 4,261,311 individual log entries after dropping all L2 mesh proxy entries in a typical 24h period.

You will probably want to find the log entry that looks like <182>ah_auth: Station 1234:5678:90ab ip username hostname JohnDoes-iPhone OS Apple iOS

The second part of your question describes a Captive Web Portal, which can be configured in Advanced Configuration -> Authentication -> Captive Web Portals. You should think about why you want to do this, though, because it's rarely the best solution.