Support
 
Support Get Quote
 
 
 
 

How to configure a Ubuntu 18.04 LTS server as a rsyslog server?

Last updated on:

How to configure a Ubuntu 18.04 LTS server as a rsyslog server

Ubuntu systems can be configured to act as central Syslog servers that collect, and analyze Syslogs from various other devices. Below are the steps to configure a central rsyslog server that runs on Ubuntu 18.04 LTS.

  • You can install rsyslog on Ubuntu OS by running the command,
                        apt-get install rsyslog -y
                    
  • Enter the following command to see if the status of rsyslog is Active: active (running),
                        systemctl status rsyslog
                    
  • Search and uncomment the following lines in /etc/rsyslog.conf to enable TCP and UDP connections,
                        $ModLoad imudp
                        $UDPServerRun 514
                        $ModLoad imtcp
                        $InputTCPServerRun 514
                    
  • Note:

    Port 514 is the default port of UDP and TCP. At anytime, you can change the port number.

  • Next, give permissions to the IPs, domains and subnets that can use port 514 using the command:
                        $AllowedSender TCP
                        $AllowedSender UDP
                    
  • Create a template which specifies the files under which the received logs should be stored by using the following command,
                        $template remote-incoming-logs,
                        "/var/log/%HOSTNAME%/%PROGRAMNAME%.log"
                        *.* ?remote-incoming-logs
                    
  • Save the configuration and close.
  • To verify if your rsyslog daemon is listening on port 514, run the following command,
                        netstat -4altunp | grep 514 and see if the output shows LISTEN against TCP AND UDP fields.
                    
  • To view the logs collected in real-time, enter the following command on the rsyslog server,
                   ls /var/log/rsyslog-client/
                

How to monitor rsyslogd files?

Simply viewing rsyslogs won't suffice, as you have to interpret and analyze the logs across different files for critical events like authorization failures and unusual system configuration changes. Syslogs contain essential information about who did what, from where and when for all events. These insights enable you to identify anomalous activities in your network devices, and help in mitigating threats and preventing attacks. Manually doing this would be tedious. A log management solution would do all these for you.

EventLog Analyzer, an effective log management solution interprets and analyzes log data to generate intuitive reports. Alerts can be configured using EventLog Analyzer to flag deviant behavior as threats, and you can be notified in real-time via SMS or email about an impending attack. Click here to know more.

Simplify your rsyslog management on Ubuntu with EventLog Analyzer’s centralized monitoring and automated reporting.

EventLog Analyzer Trusted By

Los Alamos National Bank Michigan State University
Panasonic Comcast
Oklahoma State University IBM
Accenture Bank of America
Infosys
Ernst Young

Customer Speaks

  • Credit Union of Denver has been using EventLog Analyzer for more than four years for our internal user activity monitoring. EventLog Analyzer provides great value as a network forensic tool and for regulatory due diligence. This product can rapidly be scaled to meet our dynamic business needs.
    Benjamin Shumaker
    Vice President of IT / ISO
    Credit Union of Denver
  • The best thing, I like about the application, is the well structured GUI and the automated reports. This is a great help for network engineers to monitor all the devices in a single dashboard. The canned reports are a clever piece of work.
    Joseph Graziano, MCSE CCA VCP
    Senior Network Engineer
    Citadel
  • EventLog Analyzer has been a good event log reporting and alerting solution for our information technology needs. It minimizes the amount of time we spent on filtering through event logs and provides almost near real-time notification of administratively defined alerts.
    Joseph E. Veretto
    Operations Review Specialist
    Office of Information System
    Florida Department of Transportation
  • Windows Event logs and device Syslogs are a real time synopsis of what is happening on a computer or network. EventLog Analyzer is an economical, functional and easy-to-utilize tool that allows me to know what is going on in the network by pushing alerts and reports, both in real time and scheduled. It is a premium software Intrusion Detection System application.
    Jim Lloyd
    Information Systems Manager
    First Mountain Bank

Awards and Recognitions

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
A Single Pane of Glass for Comprehensive Log Management