influxdata / influxdata/telegraf

Feature Request Systemd_Journald plugin

Open
#8,154 6 comments 28 reactions 0 assignees View on GitHub
area/syslog feature request new plugin plugin/input
Dominant language
Go
Stars
17.8k
Forks
5.8k
Avg merge
1d 20h
Merged PRs (30d)
161

Description

## Feature Request
An input plugin for the systemd journal that can capture the journald logs from one or all systemd services and sockets.

### Proposal:
either use a socket or the [core os systemd library](https://github.com/coreos/go-systemd) to gather detailed log information from systemd.

### Current behavior:
In order to get some data from the systemd journal syslog or journald needs to be configured to receive logs from journald and the syslog input plugin is used gather data.

### Desired behavior
A native journald plugin that captures the detailed info directly from journald.

### Use case:
it would be nice to have one place to grab all the logs for all services instead of having to setup tail for each file or service. It would also be a great way to get logs from early in the boot process that cannot be captured from syslog.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing syslog input plugin and the proposed coreos/go-systemd approach described in the issue. Define how the plugin should select one or all systemd services and sockets, then verify that it captures detailed journald records, including early-boot logs, without requiring syslog forwarding.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.