# Cis Ubuntu1804 V220 5 1 2 1

> Ensure rsyslog is installed

- Skill: `cyberstrikeus/cis-ubuntu1804-v220-5-1-2-1` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-ubuntu1804-v220-5-1-2-1`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-ubuntu1804-v220-5-1-2-1/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cyberstrikeus (https://skillmd.com/u/cyberstrikeus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyberstrikeus/cis-ubuntu1804-v220-5-1-2-1

---


# 5.1.2.1 Ensure rsyslog is installed (Automated)

## Profile

- **Level:** 1 - Server
- **Level:** 1 - Workstation
- **Assessment Status:** Automated

## Description

The `rsyslog` software is recommended in environments where `journald` does not meet operation requirements.

## Rationale

The security enhancements of `rsyslog` such as connection-oriented (i.e. TCP) transmission of logs, the option to log to database formats, and the encryption of log data en route to a central logging server) justify installing and configuring the package.

## Audit Procedure

### Command Line

Run the following command to verify `rsyslog` is installed:

```bash
dpkg-query -s rsyslog &>/dev/null && echo "rsyslog is installed"
```

## Expected Result

```
rsyslog is installed
```

## Remediation

### Command Line

Run the following command to install `rsyslog`:

```bash
apt install rsyslog
```

## Default Value

rsyslog is not installed by default on Ubuntu 18.04.

## References

1. NIST SP 800-53 Rev. 5: AU-3, AU-12, SI-5

## CIS Controls

| Controls Version | Control                                                                                                                                                                                                 |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| v8               | 8.2 Collect Audit Logs - Collect audit logs. Ensure that logging, per the enterprise's audit log management process, has been enabled across enterprise assets.                                         |
| v7               | 6.2 Activate audit logging - Ensure that local logging has been enabled on all systems and networking devices.                                                                                          |
| v7               | 6.3 Enable Detailed Logging - Enable system logging to include detailed information such as an event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |

