﻿---
title: Migrate from Auditbeat to Elastic Agent
description: Before you begin, read Migrate from Beats to Elastic Agent to learn how to deploy Elastic Agent and install integrations. Then come back to this page...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4232/reference/fleet/migrate-auditbeat-to-agent
products:
  - Elastic Agent
  - Fleet
---

# Migrate from Auditbeat to Elastic Agent
Before you begin, read [Migrate from Beats to Elastic Agent](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4232/reference/fleet/migrate-from-beats-to-elastic-agent) to learn how to deploy Elastic Agent and install integrations.
Then come back to this page to learn about the integrations available to replace functionality provided by Auditbeat.

## Compatibility

The integrations that provide replacements for `auditd` and `file_integrity` modules are only available in Elastic Stack version 8.3 and later.

## Replace Auditbeat modules with Elastic Agent integrations

The following table describes the integrations you can use instead of Auditbeat modules and datasets.

| If you use…                                                                                                                                                                                                                                                                | You can use this instead…                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Notes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Auditd](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/auditbeat/auditbeat-module-auditd)Auditd module                                                                                                                                             | [Auditd Manager](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/auditd_manager)Auditd Manager integration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | This integration is a direct replacement of the module. You can port rules and configuration to this integration. Starting in Elastic Stack 8.4, you can also set the`immutable` flag in the audit configuration.                                                                                                                                                                                                                                                                                              |
| [Auditd Logs](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/auditd)Auditd Logs integration                                                                                                                                              | Use this integration if you don't need to manage rules. It only parses logs from the audit daemon `auditd`. The events created by this integration are different than the ones created by [Auditd Manager](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/auditd_manager)Auditd Manager, since the latter merges all related messages in a single event while [Auditd Logs](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/auditd)Auditd Logs creates one event per message.                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [File Integrity](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/auditbeat/auditbeat-module-file_integrity)File Integrity module                                                                                                                     | [File Integrity Monitoring](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/fim)File Integrity Monitoring integration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | This integration is a direct replacement of the module. It reports real-time events, but cannot report who made the changes. If you need to track this information, use [Elastic Defend](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4232/solutions/security/configure-elastic-defend/install-elastic-defend)Elastic Defend instead.                                                                                                                                                         |
| [System](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/auditbeat/auditbeat-module-system)System module                                                                                                                                             | It depends…                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | There is not a single integration that collects all this information.                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [System.host](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/auditbeat/auditbeat-dataset-system-host)System.host dataset                                                                                                                            | [Osquery](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery)Osquery or [Osquery Manager](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery_manager)Osquery Manager integration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Schedule collection of information like:* [system_info](https://www.osquery.io/schema/5.1.0/#system_info)system_info for hostname, unique ID, and architecture* [os_version](https://www.osquery.io/schema/5.1.0/#os_version)os_version* [interface_addresses](https://www.osquery.io/schema/5.1.0/#interface_addresses)interface_addresses for IPs and MACs                                                                                                                                                   |
| [System.login](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/auditbeat/auditbeat-dataset-system-login)System.login dataset                                                                                                                         | [Endpoint](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4232/solutions/security/configure-elastic-defend/install-elastic-defend)Endpoint                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Report login events.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [Osquery](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery)Osquery or [Osquery Manager](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery_manager)Osquery Manager integration               | Use the [last](https://www.osquery.io/schema/5.1.0/#last)last table for Linux and macOS.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Fleet [system](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/system)system integration                                                                                                                                                  | Collect login events for Windows through the [Security event log](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/system#security)Security event log.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [System.package](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/auditbeat/auditbeat-dataset-system-package)System.package dataset                                                                                                                   | [System Audit](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/system_audit)System Audit integration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | This integration is a direct replacement for the System Package dataset. Starting in Elastic Stack 8.7, you can port rules and configuration settings to this integration. This integration currently schedules collection of information such as:* [rpm_packages](https://www.osquery.io/schema/5.1.0/#rpm_packages)rpm_packages* [deb_packages](https://www.osquery.io/schema/5.1.0/#deb_packages)deb_packages* [homebrew_packages](https://www.osquery.io/schema/5.1.0/#homebrew_packages)homebrew_packages |
| [Osquery](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery)Osquery or [Osquery Manager](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery_manager)Osquery Manager integration               | Schedule collection of information like:* [rpm_packages](https://www.osquery.io/schema/5.1.0/#rpm_packages)rpm_packages* [deb_packages](https://www.osquery.io/schema/5.1.0/#deb_packages)deb_packages* [homebrew_packages](https://www.osquery.io/schema/5.1.0/#homebrew_packages)homebrew_packages* [apps](https://www.osquery.io/schema/5.1.0/#apps)apps (MacOS)* [programs](https://www.osquery.io/schema/5.1.0/#programs)programs (Windows)* [npm_packages](https://www.osquery.io/schema/5.1.0/#npm_packages)npm_packages* [atom_packages](https://www.osquery.io/schema/5.1.0/#atom_packages)atom_packages* [chocolatey_packages](https://www.osquery.io/schema/5.1.0/#chocolatey_packages)chocolatey_packages* [portage_packages](https://www.osquery.io/schema/5.1.0/#portage_packages)portage_packages* [python_packages](https://www.osquery.io/schema/5.1.0/#python_packages)python_packages |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [System.process](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/auditbeat/auditbeat-dataset-system-process)System.process dataset                                                                                                                   | [Endpoint](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4232/solutions/security/configure-elastic-defend/install-elastic-defend)Endpoint                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Best replacement because out of the box it reports events for every process in [ECS](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference)ECS format and has excellent integration in Kibana.                                                                                                                                                                                                                                                                                      |
| [Custom Windows event log](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/winlog)Custom Windows event log and [Sysmon](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/sysmon_linux)Sysmon integrations | Provide process data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [Osquery](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery)Osquery or [Osquery Manager](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery_manager)Osquery Manager integration               | Collect data from the [process](https://www.osquery.io/schema/5.1.0/#process)process table on some operating systems without polling.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [System.socket](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/auditbeat/auditbeat-dataset-system-socket)System.socket dataset                                                                                                                      | [Endpoint](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4232/solutions/security/configure-elastic-defend/install-elastic-defend)Endpoint                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Best replacement because it supports monitoring network connections on Linux, Windows, and MacOS. Includes process and user metadata. Currently does not do flow accounting (byte and packet counts) or domain name enrichment (but does collect DNS queries separately).                                                                                                                                                                                                                                      |
| [Osquery](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery)Osquery or [Osquery Manager](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery_manager)Osquery Manager integration               | Monitor socket events via the [socket_events](https://www.osquery.io/schema/5.1.0/#socket_events)socket_events table for Linux and MacOS.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [System.user](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/auditbeat/auditbeat-dataset-system-user)System.user dataset                                                                                                                            | [Osquery](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery)Osquery or [Osquery Manager](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/osquery_manager)Osquery Manager integration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Monitor local users via the [user](https://www.osquery.io/schema/5.1.0/#user)user table for Linux, Windows, and MacOS.                                                                                                                                                                                                                                                                                                                                                                                         |