Remotely Viewing pfSense System Logs Using Kiwi Syslog Server

Updated on January 15, 2018
skear profile image

Sam works as a Network Analyst for an algorithmic trading firm. He obtained his Bachelors Degree in Information Technology from UMKC.

Keeping an eye on the system logs of your pfSense firewall is important to ensure it remains running smoothly. You can easily view the logs using the web interface but my preferred method of monitoring the logs is via remote syslog.

Syslog is a standard logging protocol that allows log messages to be transmitted over the network to a remote destination in real time. This allows you to monitor a pfSense system from any location making it much easier to spot potential problems before they occur. Remote log viewing is also very handy if you are troubleshooting a problem with a firewall rule.

One of the things I like best about monitoring pfSense with syslog is that I can monitor multiple pfSense routers from a single console.

In this hub I'm going to show you how to configure pfSense to send logs remotely to a Kiwi syslog server.


What is Kiwi Syslog Server?

Kiwi syslog server is a software package created by SolarWinds which receives and processes syslog messages sent from devices over the network. Kiwi is available in a free and licensed version.

The free version never expires and can be used indefinitely but it doesn't have as many features as the paid version does.

I like Kiwi because it is very easy to set up and it has quite a bit of features for a free program.

Kiwi only runs on Windows machines but there are many syslog servers available for Linux too.

Installing Kiwi Syslog Server

To get started with Kiwi you will need to download the installation package from the SolarWinds site. After the download is finished run the installer inside the zip file.

  1. License agreement - First you will need to accept the license agreement to start the installation process.
  2. Installation mode - If you plan to run Kiwi as an always on server install it as a service. Otherwise choose the second option and install it as an application.
  3. Web access - The free version doesn't include web access so you can deselect this option.
  4. Components - Choose the program shortcuts you would like the installer to create.
  5. Install Location - The default location is usually a good choice. The syslog files can't grow in size overtime but typically are not very large.

After the installer is finished you should have a shortcut to the Kiwi syslog server console

Installation Screenshots

Click thumbnail to view full-size
Accept the license agreement to continue.Select to install Kiwi as a service or as a stand alone application.The free version doesn't include web access but the paid version does.Select the shortcuts you want the installer to create.Choose a location to install Kiwi on your hard drive.After the installer is done you can run the Kiwi syslog server console.
Accept the license agreement to continue.
Accept the license agreement to continue.
Select to install Kiwi as a service or as a stand alone application.
Select to install Kiwi as a service or as a stand alone application.
The free version doesn't include web access but the paid version does.
The free version doesn't include web access but the paid version does.
Select the shortcuts you want the installer to create.
Select the shortcuts you want the installer to create.
Choose a location to install Kiwi on your hard drive.
Choose a location to install Kiwi on your hard drive.
After the installer is done you can run the Kiwi syslog server console.
After the installer is done you can run the Kiwi syslog server console.

Configuring Syslog in pfSense

To configure pfSense to send syslog message click on the system logs item in the status menu, then click on the settings tab.

  1. Enable syslog - Check the box labeled "Enable syslog'ing" to turn on syslog.
  2. Specify syslog servers - Enter the IP address of the system running Kiwi syslog server. PfSense 2.0 supports up to 3 remote log destinations.\
  3. Select log events - For basic monitor I recommend selecting system events, if you want to troubleshoot a specific issue you can enable other events as well.

After you have configured the settings click the save button. Once the settings have been saved pfSense will begin sending syslog messages to the IP addresses you entered.

pfSense Syslog Configuration Page
pfSense Syslog Configuration Page

Viewing the logs with Kiwi

Once you open the Kiwi you should begin seeing syslog messages from pfSense.

All syslog messages contain a time stamp and a severity. The log messages are time stamped when they leave the host they were created on.

The severity field can be used to create further alerting events or apply different levels of highlighting to the messages.

Kiwi syslog server console.
Kiwi syslog server console.

Server Settings

If you want to adjust the settings in Kiwi click on the File\Setup menu item. I like to turn on DNS resolution so Kiwi will display the host name of the system that generated the event instead of the IP address. To do this click on DNS resolution on the left hand side, then enable the check box labeled "resolve IP".

Kiwi server settings.
Kiwi server settings.

Troubleshooting

Below are the most common problems that prevent syslog messages from appearing in the Kiwi console.

Check the IP Address

If you are not seeing any messages in the console double check that you entered the correct IP address in the pfSense log settings. Since syslog messages are sent via UDP pfSense has no way to tell if the messages were received by the destination.

Increase the logging level

If you still don't see anything try setting the logging event level to "Everything", if the pfSense box is passing traffic you should see several syslog messages from the firewall.

Disable the Windows firewall

By default the Windows firewall will block syslog messages. To prevent this you can either disable the firewall or create a rule to allow UDP traffic on port 514.

Kiwi Syslog Server in Action

Questions & Answers

    © 2011 Sam Kear

    Comments

      0 of 8192 characters used
      Post Comment

      No comments yet.

      working

      This website uses cookies

      As a user in the EEA, your approval is needed on a few things. To provide a better website experience, turbofuture.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

      For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://turbofuture.com/privacy-policy#gdpr

      Show Details
      Necessary
      HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
      LoginThis is necessary to sign in to the HubPages Service.
      Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
      AkismetThis is used to detect comment spam. (Privacy Policy)
      HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
      HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
      Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
      CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
      Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
      Features
      Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
      Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
      Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
      Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
      Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
      VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
      PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
      Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
      MavenThis supports the Maven widget and search functionality. (Privacy Policy)
      Marketing
      Google AdSenseThis is an ad network. (Privacy Policy)
      Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
      Index ExchangeThis is an ad network. (Privacy Policy)
      SovrnThis is an ad network. (Privacy Policy)
      Facebook AdsThis is an ad network. (Privacy Policy)
      Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
      AppNexusThis is an ad network. (Privacy Policy)
      OpenxThis is an ad network. (Privacy Policy)
      Rubicon ProjectThis is an ad network. (Privacy Policy)
      TripleLiftThis is an ad network. (Privacy Policy)
      Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
      Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
      Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
      Statistics
      Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
      ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
      Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)