Skip to content

Journalctl logs not parsed - 0 lines parsed from 496k lines read on HAOS #97

Description

@kingcodfish

Environment:

  • Home Assistant OS 17.2
  • CrowdSec addon v1.7.7-981e6166
  • Collections: crowdsecurity/home-assistant, crowdsecurity/linux, crowdsecurity/sshd

Problem:
With the default acquisition config (journalctl --directory=/var/log/journal/, type: syslog),
CrowdSec reads ~496k lines from the journal but parses 0 of them.

cscli metrics show acquisition output:
| Source | Lines read | Lines parsed |
| journalctl:journalctl---directory=/var/log/journal/ | 496.82k | - |

What I tried:

  • _TRANSPORT=syslog filter returns an empty table (no matching entries in HAOS journal)
  • home-assistant.log is not mounted into the CrowdSec container (find / returns nothing)
  • The HA parser requires program field extracted by syslog raw parser, which never runs

Expected behaviour:
HA login failures should be detected by crowdsecurity/home-assistant-bf scenario.

Possible causes:

  • HAOS journal format doesn't match the syslog-logs.yaml raw parser
  • home-assistant.log is not bind-mounted into the container, making file-based acquisition impossible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions