Skip to content

Unable to read and output journal files from default path var/log/journal #107

@SuyashTandon

Description

@SuyashTandon

Hi Team,

I'm using this plugin using default directory (i.e. var/log/journal)

<source>
  @type systemd
  tag kubelet
  path /var/log/journal/*.journal
  read_from_head true
 

  <storage>
    @type local
    path /var/log/fluentd-journald-kubelet-cursor.json
  </storage>

  <entry>
    fields_strip_underscores true
    fields_lowercase true
  </entry>
</source>

I am trying to output these logs to check whether its working or not by using:

<match kubelet**>
  @type stdout
</match>

Expected result is Logs should be present with matching "kubelet" tag, but I am not able to get any logs.
There are '.journal' files in my var/log/journal directory.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions