Comments (6)
Hi, @CZAirwolf. This is the systemd journal, not Netdata. Looking at your configuration, I think it was applied to the default namespace and not the netdata namespace. Check out the systemd journal documentation - how to apply configuration to namespaces.
from netdata.
Installation of the netdata package from netdata.cloud will create /etc/logrotate.d/netdata for log handling. When the same package configure systemd journal for logging in the netdata namespace, why you want ignore those journal netdata logs???
from netdata.
The logrotate file has nothing to do with systemd journal logs. systemd-journald (not Netdata) is responsible for rotating. As I mentioned above, your configuration is only for the default systemd journal namespace.
from netdata.
Please remove /etc/logrotate.d/netdata, it's not netdata problem, rsyslog (etc) is responsible for rotating.
Really stupid answer.
If you create dedicated logs (especially not covered by default settings), you are responsible for ensuring the rotation.
from netdata.
You are confusing text log files (/var/log/
) and systemd journal binary logs (/var/log/journal
). logrotate rotates and compresses log files (/var/log/netdata/*
), but Netdata does not write to files when running as a systemd service.
systemd-journald
(systemd's logging daemon) is writing/rotating /var/log/netdata/*
.
I have limited journal logs via /etc/systemd/journald.conf.d# cat override.con
from man journald.conf
The systemd-journald instance managing the default namespace is configured by /etc/systemd/journald.conf and associated drop-ins.
Instances managing other namespaces read /etc/systemd/[email protected] and associated drop-ins with the namespace identifier filled in.
^^ That is why I said that
Looking at your configuration, I think it was applied to the default namespace and not the netdata namespace
from netdata.
@Ferroin, hey. The default limit for journal files (SystemMaxUse
/RuntimeMaxUse
) is 4GB. I think it makes sense to install /etc/systemd/[email protected]
with smaller values. What do you think?
from netdata.
Related Issues (20)
- [Bug]: Netdata agent that reports offline and then back online
- [Bug]: netdata plugins segfaults after update 1.45.3 to 1.45.4 HOT 7
- [Feat]: rspamd monitoring with netdata HOT 3
- [Bug]: You have no nodes HOT 2
- [Bug]: Table chart renders empty for custom dashboard HOT 3
- [Bug]: HTTP 101 requests should not pollute web_log.request_processing_time by default
- [Feat]: Ability to better filter systemd units (transient podman healthchecks) HOT 4
- [Bug]: Netdata directories missing files HOT 2
- [Feat]: Netdata needs a new and improved SNMP collector HOT 1
- [Feat]: Netdata native collector for AWS cloudwatch metrics HOT 2
- [Bug]: `stable` Docker image tag stuck at v1.45.3 HOT 1
- [Feat]: Automatically update vnodes.conf when user defines a vnode in collector conf HOT 2
- [Bug]: NETDATA_UPDATER_JITTER can cause slow shutdowns
- [Feat]: support json format weblog HOT 1
- [Feat]: Netdata to keep previous stable versions HOT 5
- [Bug]: NetData Prometheus Exporter / Prometheus Remote Write ignores all Custom and Default Labels HOT 2
- [Bug]: PGBouncer db_server_connections uses the same color for active/idle/used HOT 1
- [Bug]: go.d MySQL plugin requires SUPER privilege HOT 16
- [Bug]: Per cpu core usage metric is missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netdata.