All Collections
SIEM
Troubleshooting Auditbeat: A Guide to Resolving Logging Issues On Linux
Troubleshooting Auditbeat: A Guide to Resolving Logging Issues On Linux

This is a guide to troubleshooting logging issues with Auditbeat on Linux. It provides tips and techniques for resolving common problems.

Aidan Munns avatar
Written by Aidan Munns
Updated over a week ago

In this article, we will walk you through the process of troubleshooting Auditbeat. Let's dive in and get your Auditbeat back up and running!

Check Auditbeat Service Status

The first step is to ensure that the Auditbeat service is running properly.

1. Open the Terminal on your device.

2. Type the command sudo systemctl status auditbeat and press Enter.

3. Look for a message indicating that the service is active and running. If it's not, proceed to the next step.

Restart Auditbeat Service

Sometimes, a simple restart can resolve the logging issue.

1. In the Command Prompt or Terminal, type sudo systemctl restart auditbeat and press Enter.

2. Wait for a few moments to allow the service to restart completely.

3. Check if the logging issue persists. If it does, let's move on to the next step.

Verify Auditbeat Configuration

It's essential to ensure that the Auditbeat configuration is correctly set up.

1. Locate the Auditbeat configuration file. Typically, it is located at /etc/auditbeat/auditbeat.yml

2. Open the file using a text editor of your choice, e.g. nano /etc/auditbeat/auditbeat.yml

3. Find the Logstash output section of the file and change the below line, replacing 192.168.0.1 with the IP address of your collector as shown in the example below:
โ€‹hosts: ["192.168.0.1:5044"]

4. Save the changes and close the file.

5. Restart the Auditbeat service using the steps mentioned in Step 2.

6. Check if the logging issue has been resolved. If not, let's proceed to the next step.

Check System Audit Rules

Auditbeat relies on system audit rules to capture events.

1. Open a Terminal window.

2. Type the command sudo auditctl -l and press Enter.

3. Verify that the list of audit rules includes the events you want to log.

4. If the necessary rules are missing, you can add them using the sudo auditctl -a command followed by the appropriate rule.

5. Restart the Auditbeat service using the steps mentioned in Step 2.

6. Check if the logging issue has been resolved. If not, move on to the next step.


If you've followed all the steps above and are still experiencing logging issues, don't worry! Feel free to reach out to us via a ticket within the portal or via the Livechat bubble in the bottom right, providing us with the details of the problem you're facing.


If you have recently made changes to your infrastructure that may be affecting Auditbeat, please let us know via a ticket in the portal.

Did this answer your question?