Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Journald logs: ship them to Dynatrace with OneAgent

You open a recent Linux node to look for an error and there is no file to read: everything goes through systemd. The journald logs stay on the machine in a binary format, and they vanish with it if nobody ships them elsewhere. This article starts from that operational decision: who collects the journal, under which rule, and how you prove the lines really reach Dynatrace. The scope is Dynatrace…

This article explores the process of collecting journald logs from Linux nodes and forwarding them to Dynatrace with the OneAgent log module. After opening a Linux node and discovering that errors do not appear in the system logs due to journald handling everything through systemd, the author delves into three approaches for collecting journald logs: third-party agents, syslog forwarding, and the OneAgent log module.

The focus here is on the OneAgent log module, which reads the journal through the systemd API without requiring manual tailing of files.

The article explains that the OneAgent log module opens the libsystemd.so library and acts as a journald client, reading entries one by one and remembering its position. It converts each entry into attributes, such as the MESSAGE field becoming the log content, the UNIT field becoming the Journald.unit attribute, and the PRIORITY field determining the severity. The author emphasizes the importance of mapping the PRIORITY field accurately, as alerts should cover priorities 0 to 3, not just 3.

To activate journald log collection, the article outlines prerequisites such as having OneAgent version 1.307 or later on a Linux host with systemd and the necessary permissions to modify tenant settings. Two settings need to be enabled: the Journald log detector in the log module feature flags, which is on by default for new tenants, and the built-in "Ingest Journald logs" rule.

If the rule needs to target specific units, the article provides instructions on how to create a rule with appropriate matchers for the desired units.

The author emphasizes the importance of checking that the logs are appearing correctly in Dynatrace, providing step-by-step instructions on how to verify the logs. It also discusses the benefits of using one rule per unit instead of a global rule, potentially reducing log volume and improving ingestion efficiency. Finally, the article suggests enabling the detector and the rule together, recording them in the runbook, and using one rule per unit once the initial test is conclusive.

Rewritten by urgent.news; may contain errors — check the original.

Read the original at dev.to →

Report a problem with this story

More in Tech

Flutter 3.50 is out: Material and Cupertino are deprecated - here's the migration path

Flutter 3.50 shipped on 11 November with Dart 3.14. The headline change is not a widget or a performance graph - it is a structural one: the Material and Cupertino libraries bundled with the framework…

  • Flutter 3.50 released on November 11th deprecates Material and Cupertino libraries
  • MaterialUiCompatibilityBridge aids transition for code straddling both worlds
  • Dart fix tool applies majority of migration changes, official guide available

Synology CVE-2026-120382: How to Check Your NAS (DSM 7.2 Has No Patch Yet)

If your Synology NAS runs DSM 7.2 and can be reached from the internet, CVE-2026-120382 is a CVSS 9.8 bug that needs no password and no click.

  • Synology NAS devices with DSM 7.2 vulnerable to CVE-2026-120382.
  • No patch available for DSM 7.2 as of November 2026.
  • Upgrade to DSM 7.3.2-86009-6 or higher to mitigate risk.

How Many Websites Use Next.js? 1.97M Sites, and How to Spot One With curl

As of November 16, 2026, webatla counts 1,973,502 websites running Next.js, 0.61% of the 325.8 million websites it tracks.

  • As of November 16, 2026, Next.js powers 1,973,502 websites.
  • Detect a Next.js site by checking for specific markers in HTML or response headers.
  • Use curl command to verify Next.js presence in response headers.

How to implement design tokens in a Tailwind CSS project

Hardcoded values like #3b82f6 or 16px scattered through your codebase cause color drift, rebranding headaches, and design-dev mismatches.

  • Define CSS custom properties in a separate file for values like colors, spacing, and typography.
  • Redefine token values for dark mode in Tailwind configuration file using extend property.
  • Use tokens in components with semantic names and thorough documentation for clarity.

More from Saturday 21 November →