LogicMonitor acquires Catchpoint, adding Internet and digital experience insight to LM Envision.

Read more

Issues may occur when configuring Google Cloud Platform (GCP) log ingestion for LogicMonitor. For example, you may experience compatibility problems with the GCP log forwarder.

GCP Log Forwarder Fails to Forward Logs

If you set up your LogicMonitor environment to ingest logs from GCP, the GCP log forwarder my fail to forward logs with the following error:

ERROR: Error installing fluentd: The last version of yajl-ruby (~> 1.0) to support your Ruby & RubyGems was 1.4.1. Try installing it with `gem install yajl-ruby -v 1.4.1` and then running the current command again yajl-ruby requires Ruby version >= 2.6.0. The current ruby version is 2.5.0.sudo: fluentd: command not found

The error occurs because Debian 10 is no longer compatible with Ruby 2.5.0 due to its outdated system libraries. To fix the issue, you must do one of the following:

  • Upgrade the operating system to Debian 11 or Debian 12, since Debian 10 does not support Ruby 2.6.0 or later
  • Manually install Ruby 2.6.0 or later

Requirements for Resolving GCP Log Forwarder Failing to Forward Logs

To resolve the issue with the GCP Log Forwarder failing to forward logs, you need the following:

  • Access to the GCP account forwarding logs to LogicMonitor
  • Access to the Debian 10 environment

Resolving GCP Log Forwarding Failing to Forward Logs

To resolve the issue with the GCP Log Forwarder failing to forward logs, you must either upgrade your OS or manually install Ruby 2.6.0.

To upgrade your OS to Debian 11, see the Debian 11 release notes explaining the upgrade process. For details, see Debian 11 – Release Notes from Debian.

To manually install Ruby 2.6.0, see Installing Ruby from Ruby.

14-day access to the full LogicMonitor platform