You can configure the Fluentd integration to post data to Moogsoft AIOps when an alert occurs in Fluentd. The integration uses the Moogsoft AIOps plugin for Fluentd.
Refer to the REST LAM Reference to see the integration's default properties. When you use the integrations UI, you can only configure the visible properties.
If you want to implement a more complex Fluentd LAM with custom settings, see Configure the Fluentd LAM.
See the Fluentd documentation for details on Fluentd components.
Before You Begin
The Fluentd integration has been validated with Fluentd v0.12. Before you start to set up your integration, ensure you have met the following requirements:
- You have installed Fluentd.
- You have the permissions to edit the Fluentd configuration file.
- You have installed Ruby Gems for Fluentd.
- Fluentd can make requests to external endpoints over port 443. This is the default.
Configure the Fluentd Integration
Configure the Fluentd integration in Moogsoft AIOps as follows:
- Navigate to the Integrations tab.
- Click Fluentd in the Monitoring section.
Follow the instructions to create an integration name.
Install the Moogsoft AIOps plugin for Fluentd and add the configuration to your Fluentd configuration file. See fluent-plugin-moogaiops.
To install the Moogsoft AIOps plugin for Fluentd, edit your application Gemfile to include the plugin:
Alternatively, install the plugin yourself from the command line:
fluentd.confand include the following configuration for the plugin:
Field Value Request URL
<your Fluentd integration URL>
Username generated in the Moogsoft AIOps UI
Password generated in the Moogsoft AIOps UI
- Restart Fluentd.
The plugin forwards events that conform to the matcher in the Flutend integration. The default Fluentd Cookbook shows all failed jobs that impact the same or overlapping hosts.