Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Feat]: Journald support for web_log collector

Đang mở
#22,101 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
apache, linux

Hướng nghiên cứu

Bắt đầu với Netdata web_log collector và xem lại tài liệu được liên kết về log2journal và web-server log để hiểu luồng hiện tại dựa trên syslog. Xác định liệu công việc là tài liệu, hỗ trợ collector hay cả hai, sau đó xác minh rằng các log Apache được journald hỗ trợ tạo ra cùng các chỉ số weblog mà không yêu cầu đầu ra syslog song song.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature request needs triage
Problem

Provide either documentation and or the ability for the weblog collector to collect logs from journald/systemd logs.

Description

Netdata documentation explains how to convert syslog logs such as, specifically, web server logs from a syslog implementation to one using journald/system logging:
https://learn.netdata.cloud/docs/logs/log2journal/
However, in doing so with web logs one loses the nice out of the box metrics provided by the Netdata weblog collector:
https://learn.netdata.cloud/docs/collecting-metrics/web-servers-and-proxies/web-server-log-files

N.B. I'm using the 'native' apache2 mod_journald module to output logs to journald. It is possible to output to both syslog and journald at the same time. This is a workaround but I consider it to be messy and a configuration that few would implement except as a workaround for this challenge with the Netdata weblog collector.

Importance

must have

Value proposition
  1. Given the increasing prevalence of systemd and journald it doesn't make sense to not support it as a log source.
  2. Given the focus on the Netdata AI agent it doesn't make sense to not invest in a crucially rich source of data.
Proposed implementation

No response

Ngôn ngữ chính
Go
Star
80.6k
Fork
6.6k
Merge trung bình
15 giờ 8 phút
Pull request đã merge (30 ngày)
303

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của netdata/netdata

Tất cả issue của netdata/netdata

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.