# Filebeat journald not collecting logs

**URL:** <https://discuss.elastic.co/t/filebeat-journald-not-collecting-logs/345571>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [October 23, 2023, 1:26pm UTC](https://discuss.elastic.co/t/filebeat-journald-not-collecting-logs/345571 "2023-10-23T13:26:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alain\_Bod](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alain_bod/32/77345_2.png) [@Alain\_Bod](https://discuss.elastic.co/u/Alain_Bod)\
**Post date:** [October 23, 2023, 1:26pm UTC](https://discuss.elastic.co/t/filebeat-journald-not-collecting-logs/345571/1 "2023-10-23T13:26:16Z")

</div>

Hi, I've configured a 8.10.2 stack running in docker containers on an Ubuntu 22.04.  
Collecting logs from docker logs works fine. I now want to collect logs from journald instead, but I don't get anything collected. Is there specific configuration or volume to mount in order to get it working out of the box?

My filebeat input config is the following:

```yaml
filebeat.inputs:
  - type: journald
    id: everything
    transports:
      - journal
    seek: cursor
    cursor_seek_fallback: tail

```

---

<div class="post-metadata">

**Author:** ![Alain\_Bod](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alain_bod/32/77345_2.png) [@Alain\_Bod](https://discuss.elastic.co/u/Alain_Bod)\
**Post date:** [October 24, 2023, 4:33pm UTC](https://discuss.elastic.co/t/filebeat-journald-not-collecting-logs/345571/2 "2023-10-24T16:33:37Z")

</div>

I found posts explaining why it doesn't work (versions of systemd incompatible between host and container). I'm therefore moving to another option than journald.

---

<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:** [November 21, 2023, 6:33pm UTC](https://discuss.elastic.co/t/filebeat-journald-not-collecting-logs/345571/3 "2023-11-21T18:33:39Z")

</div>

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