# Auditbeat running with Auditd

**URL:** <https://discuss.elastic.co/t/auditbeat-running-with-auditd/144782>\
**Category:** Beats\
**Tags:** auditbeat\
**Created:** [August 16, 2018, 9:17pm UTC](https://discuss.elastic.co/t/auditbeat-running-with-auditd/144782 "2018-08-16T21:17:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryannelle](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@ryannelle](https://discuss.elastic.co/u/ryannelle)\
**Post date:** [August 16, 2018, 9:17pm UTC](https://discuss.elastic.co/t/auditbeat-running-with-auditd/144782/1 "2018-08-16T21:17:52Z")

</div>

Looking for some feedback on running auditbeat with auditd.

Seems these two data points contradict each other.

[Blog says they run side by side](https://www.elastic.co/blog/brewing-in-beats-running-auditbeat-side-by-side-with-auditd)

[6.3 Docs Say turn it off](https://www.elastic.co/guide/en/beats/auditbeat/current/auditbeat-module-auditd.html#_useful_commands)

Can someone explain what will happen or why it's recommended to turn auditd off? I am currently running with both on and all seems fine but don' want to move to production and find out something is going to crash.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [August 16, 2018, 9:27pm UTC](https://discuss.elastic.co/t/auditbeat-running-with-auditd/144782/2 "2018-08-16T21:27:53Z")

</div>

Read through the description of `socket_type` on the docs page you linked above.

To run the two simultaneously you must use the multicast socket\_type in Auditbeat and you must not set any audit\_rules in your Auditbeat config (they will be managed by auditd).

```auto
auditbeat.modules:
- module: auditd
  socket_type: multicast

```

This let's Auditbeat receive a broadcast of the audit messages (just like journald does).

If you don't define any rules AND you have kernel 3.16+ then Auditbeat will use multicast by default, but it's best to be explicit in your config IMO.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 6, 2018, 9:27pm UTC](https://discuss.elastic.co/t/auditbeat-running-with-auditd/144782/3 "2018-09-06T21:27:59Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
