Moogsoft Docs


To integrate with Fluentd, you can install the Moogsoft AIOps plugin for Fluentd. After you complete the integration the Fluentd integration listens for event data from Fluentd.

See the Fluentd documentation for details on Fluentd components.

Before You Begin

The Fluentd integration has been validated with Fluentd v. 0.12. Before you start to set up your integration, ensure you have met the following requirements:

  • You have installed Fluentd.
  • You have edit permissions for the Fluentd configuration file.
  • You are able to install Ruby Gems for Fluentd.
  • Fluentd¬†can make requests to external endpoints over port 443.

Configure the Fluentd Integration

Configure the Fluentd integration in Moogsoft AIOps as follows:

  1. Navigate to the Integrations tab.
  2. Click Fluentd in the Monitoring section.
  3. Follow the instructions to create an integration name.

Configure Fluentd

Install the Moogsoft AIOps plugin for Fluentd and add the configuration to your Fluentd configuration file. See fluent-plugin-moogaiops.

  1. Install the Moogsoft AIOps plugin for Fluentd:
    Either, edit your application Gemfile to include the plugin:

    gem 'fluent-plugin-moogaiops'

    Install the Gem yourself from the command line:

    $ gem install fluent-plugin-moogaiops
  2. Edit fluentd.conf and include the following configuration for the plugin:

    <match system.** *.access.* error.**>
      @type moogaiops
      uri https://<YOUR MOOGAIOPS>
      sourcetype fluentd
      location london
      severity 3
    Field Value
    Request URL

    <your Fluentd integration URL>

    For example:


    Username generated in the Moogsoft AIOps UI


    Password generated in the Moogsoft AIOps UI

  3. Restart Fluentd.

The plugin forwards events that conform to the matcher to the Flutend integration. The default Fluentd cookbook shows all failed jobs that impact the same or overlapping hosts.