PFSense logs showing up very nicely in Azure Sentinel dashboard


Hey guys, 


Just wanted to share that I finally managed to get my dashboard working and reflecting my PFSense Firewall logs. Here is how I achieved it.

  1. Setup syslog collector on Debian VM
  2. Configure the Linux syslog agent
  3. Send syslog from firewall to Linux so that it can send it to the log-analytic securely.
  4. With log-analytics I was able to parse and extract unique values out of the firewall logs. In my dashboard I grabbed any IPs I blocked on which interface.
  5. Once I have the right queries, it was a bit difficult using a base dashboard and injecting queries. I had to clone another sentinel dashboard and then make it my own. 

A lot of details I left out, but this is just an overall idea on how I achieved it. 


MicrosoftTeams-image (1).png


Just wanted to mention a few challenges I had

  • Making a dashboard was not as easy as I thought, guides around making a dashboard is not documented as well as I hoped. I had to really just mess around and finally just cloned another one and worked from there. Its best to download it and just modify the json file yourself. Thanks to Jon for the tip. 
  • It was a bit difficult getting all the syslog to go into log-analytics, but eventually it worked and I honestly don't know how I did it. The problem was specifying the right facility.
  • You HAVE to know the kusto query language, you will run into challenges if you don't know more than the basics.
  • Unfortunately I don't have the playbooks and other stuff turned on so I can't build automation using logic apps but hopefully it comes in the future. If you noticed the big blue peak in my WAN interface chart, that was a port scan on my firewall. Maybe some automation to identify that port scan is occurring and block that IP automatically using the playbook. 
2 Replies



Thank you for the detailed feedback. This is very helpful information for us to make the product better. CC: @Koby Koren and @Shalini Pasupneti so they can note the feedback and respond as necessary. 


@Jing Nghik i am beeing asked to do exactly this but i am not a linux expert.

can you elaborate please on how to setup syslog collector on Debian VM & Configure the Linux syslog agent ? 

Thanks for the help