This is a reference for the LAMs and UI integrations. The LAM configuration files are located at $MOOGSOFT_HOME/config/
. See the individual LAM and integration configuration pages for the names of the files.
The configuration options for LAMs contain the following sections and properties. Some of these properties are configurable in UI integrations.
Name of the LAM.
Type | String |
Required | Yes |
Default | Each LAM configuration contains a default name. Do not change this. |
Class of the LAM.
Type | String |
Required | Yes |
Default | Each LAM configuration contains a default class. Do not change this. |
Determines whether to include request HTTP headers in Moogsoft Onprem events. If set to true, exposed headers are listed under the key moog_request_headers
in events.
Type | Boolean |
Required | No |
Default |
|
Enables Secure Sockets Layer (SSL) certification. If you set this to True, provide SSL certificate details.
Type | Boolean |
Required | No |
Default |
|
Path to the directory that contains the SSL certificates. You can use a relative path based upon the $MOOGSOFT_HOME
directory. For example the default config
indicates $MOOGSOFT_HOME/config
.
Type | String |
Required | Yes, if |
Default | "config" |
Name of the SSL server key file.
Type | String |
Required | Yes, if |
Default | N/A |
Name of the SSL root CA file. Must reside in the location contained in path_to_ssl_files
.
Type | String |
Required | Yes, if |
Default | N/A |
Defines whether to use SSL client certification.
Type | Boolean |
Required | Yes, if |
Default |
|
Name of the SSL client CA file. Must reside in the location contained in path_to_ssl_files
.
Type | String |
Required | Yes, if |
Default | N/A |
Sets the allowed SSL protocols.
Type | Array |
Required | Yes, if |
Default |
|
Valid Values |
|
Authentication token in the request body. Can only be used when accept_all_json = false
. If you define a token you must include it in the body of all requests. You can define auth_token
or header_auth_token
but not both.
Type | String |
Required | No |
Default | N/A |
Authentication token in the request header. Can only be used when accept_all_json = false
. If you define a token you must include it in the header of all requests. You can define auth_token
or header_auth_token
but not both.
Type | String |
Required | No |
Default | N/A |
Encrypted authentication token in the request body. Can only be used when accept_all_json = false
. If you define a token you must include it in the body of all requests. Overrides auth_token
.
Type | String |
Required | No |
Default | N/A |
Encrypted authentication token in the request header. Can only be used when accept_all_json = false
. If you define a token you must include it in the header of all requests. Overrides header_auth_token
.
Type | String |
Required | No |
Default | N/A |
Defines the authentication type the LAM uses.
Type | String |
Required | Yes |
Default | Varies. See the individual LAM and integration configuration documents. |
Valid Values |
|
Defines the username and password used for authentication when authentication_type
is set to basic_auth_static
.
Type | String |
Required | Yes, if |
Default | N/A |
Defines the claims the LAM uses when it creates JSON Web Tokens (JWT).
Type | String |
Required | Yes, if |
Default | N/A |
Example:
jwt:
{
secretKey : "secret",
sub : "moogsoft",
iss : "moogsoft",
aud : "moogsoft",
jti : ""
}
Key the LAM uses to validate JSON Web Tokens.
Type | String |
Required | Yes, if |
Default | N/A |
Subject the LAM uses to identify JSON Web Tokens.
Type | String |
Required | No |
Default | N/A |
Issuer the LAM uses to identify JSON Web Tokens.
Type | String |
Required | No |
Default | N/A |
Audience the LAM uses to identify JSON Web Tokens.
Type | String |
Required | No |
Default | N/A |
Identifier the LAM uses to iMoogsoft Onpremdentify JSON Web Tokens.
Type | String |
Required | No |
Default | N/A |
Defines whether a hashed version of a user's password is kept in the internal cache for the duration of the connection. If set to true it enables faster event handling. If set to false users are authenticated with each request.
Type | Boolean |
Required | Yes, if |
Default |
|
When set to true, the LAM can read and process incoming requests using any valid form of JSON. The LAM and LAMbot configurations define the structure of the event. Set this property to false when you can structure incoming messages in the Moogsoft Onprem format. Using the Moogsoft Onprem format allows you to use the default LAM and LAMbot configuration to accept, convert and send incoming requests to the Message Bus. See REST LAM Examples for more information.
Type | Boolean |
Required | No |
Default |
|
Defines whether a JSON list is interpreted as multiple events. Set to true
to allow the LAM to accept structured events from a third party and convert them into Moogsoft Onprem events.
Type | Boolean |
Required | Yes, if |
Default |
|
Number of worker threads to use for processing events. If you have a large number of events and javascript logic, increase the number of threads. Also increase the thread count if a queue builds up in the LAMs. You can use the heartbeat monitor or Graze API to check the queue size.
Type | Integer |
Required | No |
Default | The number of available CPUs, up to a maximum of 8. |
Determines when a REST response is sent for a request.
Type | String |
Required | Yes |
Default |
|
Valid Values |
|
The length of time to wait for a REST response from the Moogfarmd AlertBuilder Moolet, in seconds.
Type | Integer |
Required | Yes, if |
Default |
|
Determines when Moogfarmd acknowledges events from the LAM.
Type | String |
Required | Yes |
Default |
|
Valid Values |
|
Length of time to wait between requests, in seconds. Can be overridden by request_interval
in individual targets.
Type | Integer |
Required | No |
Default |
|
Number of times the LAM attempts to reconnect after connection failure. Used in conjunction with retry_interval
.
Type | Integer |
Required | No |
Default |
|
Length of time to wait between reconnection attempts, in seconds. Used in conjunction with max_retries
.
Type | Integer |
Required | No |
Default |
|
Length of time to wait before halting a connection or read attempt, in seconds.
Type | Integer |
Required | No |
Default |
|
Period of time for which to recover missed events, in seconds, when the LAM re-establishes a connection after a failure.
Type | Integer |
Required | No |
Default |
|
Object containing properties which allow you to specify how the LAM recovers events that were missed during a connection outage. Comment out this object to recover all missed events with no imposed waiting time.
Type | Object |
Required | No |
Default | N/A |
Length of time to wait between requests, in seconds, when the LAM re-establishes a connection after a failure.
Type | Integer |
Required | No |
Default |
|
Specifies whether to disable SSL certificate validation. If set to true the data transmission between Moogsoft Onprem and the external system is not protected by the encryption protocol. Works on chains that consist of more than one certificate.
Type | Boolean |
Required | No |
Default |
|
Specifies connection details for a proxy server if you want to connect to the external system through a proxy. To use, uncomment the proxy section of the file and define the host, user, port, and password or encrypted password for the proxy. Not all properties are configurable in every LAM and integration.
Type | String |
Required | No |
Default | N/A |
This property is available in multi-target LAMs. It is a top-level container defining one or more target event sources. You can specify the configuration for each target. If you don't specify a request_interval the target uses the globally defined interval. See Tokenize Source Event Data for more information.
Type | JSON Object |
Required | Yes |
Default | N/A |
If events meet the overlap_identity_fields matching criteria during this interval (in seconds), they are not treated as duplicates. Used to ensure that Moogsoft Onprem does not miss valid events.
Type | Integer |
Required | No |
Default | N/A |
A list of payload tokens the LAM uses to identify duplicate events when the source returns all open events and not just updated events. After the requests_overlap
period the LAM treats events with the same overlap identity fields as duplicate events. The LAM identifies duplicates for each payload event in the previous request only. Identification is based on the token names of the returned payload, not the mapped names. For example, including $signature
refers to this value in the payload, not event.value("signature")
.
Type | String |
Required | Yes, if |
Default | N/A |
Datadog Polling LAM Example:
overlap_identity_fields: [ "id", "alert_type", "priority" ]
SevOne LAM Example:
overlap_identity_fields: [ "id", "severity", "closed", "number" ]
Hostname of a RabbitMQ virtual host.
Type | String |
Required | Yes |
Default |
|
Name of the folder containing the email messages.
Type | String |
Required | Yes |
Default |
|
Specifies whether to receive all email messages or only unread messages.
Type | String |
Required | Yes |
Default |
|
Valid Values |
|
Specifies one or more filters to limit the email messages to retrieve. The LAM concatenates field-level filters with the AND operator. For example, if you set a "To" filter and a "From" filter, a message must match both fields to meet the filter criteria. For each field, you can specify multiple values that the LAM joins with an OR operator. For example, if you set two email addresses for the "To" field, the message can match one or the other to meet the filter criteria.
Type | String |
Required | No |
Default | N/A |
Example:
{
to : ["support@moogsoft.com", "support1@moogsoft.com"],
from : ["customer@abc.com", "customer@xyz.com"],
#recipient : [],
subject : ["Alert", "Event"],
#body : ""
}
A list of email addresses used to filter the "To" field in email messages. If multiple adresses are set, the email is retrieved if any of them match the "To" address.
Type | String |
Required | No |
Default | N/A |
A list of email address used to filter the "From" field in email messages. If multiple addresses are set, the email is returned if any of them match the "From" address.
Type | String |
Required | No |
Default | N/A |
A list of email addresses used to filter the "To", "CC" and "BCC" fields in email messages. If multiple addresses are set, the email is returned if any of them match the address in "To", "CC" or "BCC".
Type | String |
Required | No |
Default | N/A |
A list of strings used to filter the subject field in email messages. The email is returned if any of the strings are found in the subject. The matching is case-insensitive.
Type | String |
Required | No |
Default | N/A |
A string used to filter the body in email messages. The email is returned if the string is found in the body. The matching is case-insensitive.
Type | String |
Required | No |
Default | N/A |
Marks unread emails as read.
Type | Boolean |
Required | Yes, if |
Default |
|
Specifies whether to delete email messages on retrieval.
Type | Boolean |
Required | No |
Default |
|
Whether to remove HTML tags from email messages.
Type | Boolean |
Required | No |
Default |
|
Decodes the email body into a JSON object and makes it available for mapping under the $body key. Set to true if the body of retrieved email messages contain JSON objects only.
Type | Boolean |
Required | No |
Default |
|
Identifies events the LAM sends to the Message Bus.
Type | String |
Required | Yes |
Default |
|
Location of the LAM's capture log file. See Configure Logging for more information.
Type | String |
Required | No |
Default | N/A |
File that specifies the configuration of the LAM's process log. See Configure Logging for more information.
Type | String |
Required | No |
Default |
|