# Ensure rsyslog Service Is Enabled

- Source: https://support.icompaas.com/support/solutions/articles/62000235483-ensure-rsyslog-service-is-enabled
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS Amazon Linux 2 Benchmark v3.0.0](https://support.icompaas.com/support/solutions/62000112696) › [CIS Amazon Linux 2 Benchmarks](https://support.icompaas.com/support/solutions/folders/62000169265)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Profile Applicability:** • Level 1

**Description:**  
 The rsyslog service provides system logging functionality. Enabling the service ensures that logs are collected and managed properly, supporting monitoring and forensic investigations.

**Rationale:** An enabled and running rsyslog service maintains continuous logging, which is essential for detecting security events and troubleshooting system issues.

**Impact:** Pros:

-   Ensures consistent system and application logging.  
    
-   Supports compliance and audit requirements.  
    

Cons:

-   None significant if properly configured.  
    

**Default Value:** The service may or may not be enabled by default depending on the system setup.

**Pre-requisites:**

-   Root or sudo privileges to manage system services.  
    

**Remediation:**

### **Test Plan:**

**Using Linux command line:**

1.  Check the status of the rsyslog service:  
    
    systemctl is-enabled rsyslog
    
2.  Confirm if the service is enabled.  
    

### **Implementation Plan:**

**Using Linux command line:**

1\. Enable the rsyslog service:  

systemctl enable rsyslog

2\. Start the rsyslog service:  

systemctl start rsyslog

3\. Verify the service status:  

systemctl status rsyslog

###   
**Backout Plan:**

**Using Linux command line:**

1\. Disable the rsyslog service if necessary:  

systemctl disable rsyslog

2\. Stop the rsyslog service:  

systemctl stop rsyslog

3\. Verify the service status.  

**References:**

-   CIS Amazon Linux 2 Benchmark v3.0.0  
    
-   rsyslog Documentation  
    
-   systemd Service Management

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
