# Ensure journald Is Configured to Send Logs to rsyslog

- Source: https://support.icompaas.com/support/solutions/articles/62000235484-ensure-journald-is-configured-to-send-logs-to-rsyslog
- 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:**  
 Configuring journald to forward logs to rsyslog enables centralized log management and compatibility with traditional syslog-based monitoring tools.

**Rationale:** Forwarding logs from journald to rsyslog ensures comprehensive log collection, facilitating security monitoring, alerting, and compliance.

**Impact:** Pros:

-   Centralizes log management.  
    
-   Improves compatibility with existing log analysis systems.  
    

Cons:

-   May increase log processing overhead.  
    

**Default Value:** By default, forwarding may not be enabled and requires explicit configuration.

**Pre-requisites:**

-   Root or sudo privileges to modify systemd journal configuration files.  
    

**Remediation:**

### **Test Plan:**

**Using Linux command line:**

1.  Check journald configuration in /etc/systemd/journald.conf for ForwardToSyslog:  
    
    grep ForwardToSyslog /etc/systemd/journald.conf
    
2.  Verify if it is set to yes.  
    

### **Implementation Plan:**

**Using Linux command line:**

1\. Edit /etc/systemd/journald.conf:  

vi /etc/systemd/journald.conf

2\. Set the following directive:  

ForwardToSyslog=yes

3\. Save the file and restart the systemd-journald service:

systemctl restart systemd-journald

4\. Verify the setting:  

grep ForwardToSyslog /etc/systemd/journald.conf

###   
**Backout Plan:**

**Using Linux command line:**

1.  Set ForwardToSyslog to no or comment out the line if needed.
    
2.  Restart systemd-journald and verify logs are no longer forwarded.
    

**References:**

-   CIS Amazon Linux 2 Benchmark v3.0.0  
    
-   systemd-journald Manual  
    
-   rsyslog Documentation

## 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.
