You need to collect logs from 2,000 Windows and Linux VMs in a hybrid environment. What agent and design do you pick?

IntermediateScenarioLogging Pipelines
Answer

Situation read → Mixed OS, mixed networks, need central management.

What I'd do →

  1. Pick one cross-platform agent: Grafana Alloy, OpenTelemetry Collector (contrib has windowseventlog and filelog receivers), or Vector.
  2. Manage config centrally (Ansible, Fleet management in Grafana, OpAMP for OTel).
  3. Send to regional gateways that buffer and forward over TLS to the backend.
  4. Collect Windows Event Logs (Security, System, Application) and Linux journal plus app files.
  5. Monitor agent health: heartbeats and per-host log rate.

Why → One agent means one config language, one upgrade path, one set of dashboards.

Interview tip → Mention agent fleet management; at 2,000 hosts, config drift is the real problem.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Logging Pipelines