{
  "name": "aws_mq",
  "title": "Amazon MQ",
  "version": "0.9.1",
  "release": "beta",
  "description": "Collect Amazon MQ metrics and logs with Elastic Agent",
  "type": "integration",
  "download": "/epr/aws_mq/aws_mq-0.9.1.zip",
  "path": "/package/aws_mq/0.9.1",
  "icons": [
    {
      "src": "/img/aws-mq-logo.svg",
      "path": "/package/aws_mq/0.9.1/img/aws-mq-logo.svg",
      "title": "Amazon MQ logo",
      "size": "32x32",
      "type": "image/svg+xml"
    }
  ],
  "conditions": {
    "kibana": {
      "version": "^8.16.5 || ^9.0.0"
    },
    "elastic": {
      "subscription": "basic"
    }
  },
  "owner": {
    "type": "elastic",
    "github": "elastic/obs-infraobs-integrations"
  },
  "categories": [
    "aws",
    "cloud",
    "message_queue",
    "observability"
  ],
  "signature_path": "/epr/aws_mq/aws_mq-0.9.1.zip.sig",
  "format_version": "3.3.1",
  "readme": "/package/aws_mq/0.9.1/docs/README.md",
  "license": "basic",
  "screenshots": [
    {
      "src": "/img/amazonmq-activemq-dashboard.png",
      "path": "/package/aws_mq/0.9.1/img/amazonmq-activemq-dashboard.png",
      "title": "ActiveMQ overview dashboard",
      "size": "3878x4656",
      "type": "image/png"
    },
    {
      "src": "/img/amazonmq-rabbitmq-overview.png",
      "path": "/package/aws_mq/0.9.1/img/amazonmq-rabbitmq-overview.png",
      "title": "RabbitMQ overview dashboard",
      "size": "1536x1942",
      "type": "image/png"
    }
  ],
  "assets": [
    "/package/aws_mq/0.9.1/LICENSE.txt",
    "/package/aws_mq/0.9.1/changelog.yml",
    "/package/aws_mq/0.9.1/manifest.yml",
    "/package/aws_mq/0.9.1/validation.yml",
    "/package/aws_mq/0.9.1/docs/README.md",
    "/package/aws_mq/0.9.1/img/amazonmq-activemq-dashboard.png",
    "/package/aws_mq/0.9.1/img/amazonmq-rabbitmq-overview.png",
    "/package/aws_mq/0.9.1/img/aws-mq-logo.svg",
    "/package/aws_mq/0.9.1/data_stream/activemq_audit_logs/manifest.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_audit_logs/sample_event.json",
    "/package/aws_mq/0.9.1/data_stream/activemq_general_logs/manifest.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_general_logs/sample_event.json",
    "/package/aws_mq/0.9.1/data_stream/activemq_metrics/manifest.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_metrics/sample_event.json",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_general_logs/manifest.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_general_logs/sample_event.json",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_metrics/manifest.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_metrics/sample_event.json",
    "/package/aws_mq/0.9.1/kibana/dashboard/aws_mq-58348442-dc71-4ff3-acd1-b043c350153f.json",
    "/package/aws_mq/0.9.1/kibana/dashboard/aws_mq-787931c1-b9eb-4c6d-9993-e9014e135071.json",
    "/package/aws_mq/0.9.1/data_stream/activemq_audit_logs/fields/agent.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_audit_logs/fields/base-fields.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_audit_logs/fields/fields.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_audit_logs/fields/input.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_general_logs/fields/agent.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_general_logs/fields/base-fields.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_general_logs/fields/fields.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_general_logs/fields/input.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_metrics/fields/base-fields.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_metrics/fields/ecs.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_metrics/fields/fields.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_general_logs/fields/agent.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_general_logs/fields/base-fields.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_general_logs/fields/fields.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_general_logs/fields/input.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_metrics/fields/base-fields.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_metrics/fields/ecs.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_metrics/fields/fields.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_audit_logs/agent/stream/aws-cloudwatch.yml.hbs",
    "/package/aws_mq/0.9.1/data_stream/activemq_audit_logs/elasticsearch/ingest_pipeline/default.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_general_logs/agent/stream/aws-cloudwatch.yml.hbs",
    "/package/aws_mq/0.9.1/data_stream/activemq_general_logs/elasticsearch/ingest_pipeline/default.yml",
    "/package/aws_mq/0.9.1/data_stream/activemq_metrics/agent/stream/stream.yml.hbs",
    "/package/aws_mq/0.9.1/data_stream/activemq_metrics/elasticsearch/ingest_pipeline/default.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_general_logs/agent/stream/aws-cloudwatch.yml.hbs",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_general_logs/elasticsearch/ingest_pipeline/default.yml",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_metrics/agent/stream/stream.yml.hbs",
    "/package/aws_mq/0.9.1/data_stream/rabbitmq_metrics/elasticsearch/ingest_pipeline/default.yml"
  ],
  "policy_templates": [
    {
      "name": "amazon_mq",
      "title": "Amazon MQ",
      "description": "Collect Amazon MQ metrics and logs",
      "inputs": [
        {
          "type": "aws/metrics",
          "title": "Collect Amazon MQ metrics",
          "description": "Collect Amazon MQ metrics using AWS CloudWatch."
        },
        {
          "type": "aws-cloudwatch",
          "title": "Collect Amazon MQ Logs from CloudWatch",
          "description": "Collect Amazon MQ logs from CloudWatch with Elastic Agent."
        }
      ],
      "multiple": true
    }
  ],
  "data_streams": [
    {
      "type": "logs",
      "dataset": "aws_mq.activemq_audit_logs",
      "title": "ActiveMQ audit logs",
      "release": "beta",
      "ingest_pipeline": "default",
      "streams": [
        {
          "input": "aws-cloudwatch",
          "vars": [
            {
              "name": "log_group_arn",
              "type": "text",
              "title": "Log Group ARN",
              "description": "ARN of the log group to collect logs from.",
              "multi": false,
              "required": false,
              "show_user": true
            },
            {
              "name": "log_group_name",
              "type": "text",
              "title": "Log Group Name",
              "description": "Name of the log group to collect logs from. `region_name` is required when `log_group_name` is given.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "log_group_name_prefix",
              "type": "text",
              "title": "Log Group Name Prefix",
              "description": "The prefix for a group of log group names. `region_name` is required when `log_group_name_prefix` is given. `log_group_name` and `log_group_name_prefix` cannot be given at the same time.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "include_linked_accounts_with_prefix",
              "type": "bool",
              "title": "Include Linked Accounts with prefix",
              "description": "Include log groups from linked accounts when using `log_group_name_prefix` to derive the monitoring log groups.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "region_name",
              "type": "text",
              "title": "Region Name",
              "description": "Region that the specified log group or log group prefix belongs to.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "log_streams",
              "type": "text",
              "title": "Log Streams",
              "description": "A list of strings of log streams names that Filebeat collect log events from.",
              "multi": true,
              "required": false,
              "show_user": false
            },
            {
              "name": "log_stream_prefix",
              "type": "text",
              "title": "Log Stream Prefix",
              "description": "A string to filter the results to include only log events from log streams that have names starting with this prefix.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "start_position",
              "type": "text",
              "title": "Start Position",
              "description": "Specify whether the input should start reading logs from the `beginning` (oldest log entry), `end` (newest log entry), or `lastSync` (last successful read timestamp if input ran before).",
              "multi": false,
              "required": false,
              "show_user": true,
              "default": "beginning"
            },
            {
              "name": "scan_frequency",
              "type": "text",
              "title": "Scan Frequency",
              "description": "This config parameter sets how often Filebeat checks for new log events from the specified log group.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "1m"
            },
            {
              "name": "api_timeput",
              "type": "text",
              "title": "API Timeout",
              "description": "The maximum duration of AWS API can take. If it exceeds the timeout, AWS API will be interrupted.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "120s"
            },
            {
              "name": "api_sleep",
              "type": "text",
              "title": "API Sleep",
              "description": "This is used to sleep between AWS FilterLogEvents API calls inside the same collection period. `FilterLogEvents` API has a quota of 5 transactions per second (TPS)/account/Region. This value should only be adjusted when there are multiple Filebeats or multiple Filebeat inputs collecting logs from the same region and AWS account.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "200ms"
            },
            {
              "name": "latency",
              "type": "text",
              "title": "Latency",
              "description": "The amount of time required for the logs to be available to CloudWatch Logs. Sample values, `1m` or `5m` — see Golang [time.ParseDuration](https://pkg.go.dev/time#ParseDuration) for more details. Latency translates the query's time range to consider the CloudWatch Logs latency. Example: `5m` means that the integration will query CloudWatch to search for logs available 5 minutes ago.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "number_of_workers",
              "type": "integer",
              "title": "Number of workers",
              "description": "The number of workers assigned to reading from log groups. Each worker will read log events from one of the log groups matching `log_group_name_prefix`. For example, if `log_group_name_prefix` matches five log groups, then `number_of_workers` should be set to `5`. The default value is `1`.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "tags",
              "type": "text",
              "title": "Tags",
              "multi": true,
              "required": true,
              "show_user": false,
              "default": [
                "forwarded",
                "aws_mq-activemq-audit-logs"
              ]
            },
            {
              "name": "processors",
              "type": "yaml",
              "title": "Processors",
              "description": "Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the logs are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details.\n",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "preserve_original_event",
              "type": "bool",
              "title": "Preserve original event",
              "description": "Preserves a raw copy of the original event, added to the field `event.original`",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": false
            }
          ],
          "template_path": "aws-cloudwatch.yml.hbs",
          "title": "ActiveMQ audit logs",
          "description": "Collect ActiveMQ audit logs using CloudWatch input.",
          "enabled": true,
          "ingestion_method": "AWS CloudWatch"
        }
      ],
      "package": "aws_mq",
      "path": "activemq_audit_logs"
    },
    {
      "type": "logs",
      "dataset": "aws_mq.activemq_general_logs",
      "title": "ActiveMQ general logs",
      "release": "beta",
      "ingest_pipeline": "default",
      "streams": [
        {
          "input": "aws-cloudwatch",
          "vars": [
            {
              "name": "log_group_arn",
              "type": "text",
              "title": "Log Group ARN",
              "description": "ARN of the log group to collect logs from.",
              "multi": false,
              "required": false,
              "show_user": true
            },
            {
              "name": "log_group_name",
              "type": "text",
              "title": "Log Group Name",
              "description": "Name of the log group to collect logs from. `region_name` is required when `log_group_name` is given.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "log_group_name_prefix",
              "type": "text",
              "title": "Log Group Name Prefix",
              "description": "The prefix for a group of log group names. `region_name` is required when `log_group_name_prefix` is given. `log_group_name` and `log_group_name_prefix` cannot be given at the same time.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "include_linked_accounts_with_prefix",
              "type": "bool",
              "title": "Include Linked Accounts with prefix",
              "description": "Include log groups from linked accounts when using `log_group_name_prefix` to derive the monitoring log groups.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "region_name",
              "type": "text",
              "title": "Region Name",
              "description": "Region that the specified log group or log group prefix belongs to.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "log_streams",
              "type": "text",
              "title": "Log Streams",
              "description": "A list of strings of log streams names that Filebeat collect log events from.",
              "multi": true,
              "required": false,
              "show_user": false
            },
            {
              "name": "log_stream_prefix",
              "type": "text",
              "title": "Log Stream Prefix",
              "description": "A string to filter the results to include only log events from log streams that have names starting with this prefix.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "start_position",
              "type": "text",
              "title": "Start Position",
              "description": "Specify whether the input should start reading logs from the `beginning` (oldest log entry), `end` (newest log entry), or `lastSync` (last successful read timestamp if input ran before).",
              "multi": false,
              "required": false,
              "show_user": true,
              "default": "beginning"
            },
            {
              "name": "scan_frequency",
              "type": "text",
              "title": "Scan Frequency",
              "description": "This config parameter sets how often Filebeat checks for new log events from the specified log group.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "1m"
            },
            {
              "name": "api_timeput",
              "type": "text",
              "title": "API Timeout",
              "description": "The maximum duration of AWS API can take. If it exceeds the timeout, AWS API will be interrupted.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "120s"
            },
            {
              "name": "api_sleep",
              "type": "text",
              "title": "API Sleep",
              "description": "This is used to sleep between AWS FilterLogEvents API calls inside the same collection period. `FilterLogEvents` API has a quota of 5 transactions per second (TPS)/account/Region. This value should only be adjusted when there are multiple Filebeats or multiple Filebeat inputs collecting logs from the same region and AWS account.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "200ms"
            },
            {
              "name": "latency",
              "type": "text",
              "title": "Latency",
              "description": "The amount of time required for the logs to be available to CloudWatch Logs. Sample values, `1m` or `5m` — see Golang [time.ParseDuration](https://pkg.go.dev/time#ParseDuration) for more details. Latency translates the query's time range to consider the CloudWatch Logs latency. Example: `5m` means that the integration will query CloudWatch to search for logs available 5 minutes ago.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "number_of_workers",
              "type": "integer",
              "title": "Number of workers",
              "description": "The number of workers assigned to reading from log groups. Each worker will read log events from one of the log groups matching `log_group_name_prefix`. For example, if `log_group_name_prefix` matches five log groups, then `number_of_workers` should be set to `5`. The default value is `1`.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "tags",
              "type": "text",
              "title": "Tags",
              "multi": true,
              "required": true,
              "show_user": false,
              "default": [
                "forwarded",
                "aws_mq-activemq-general-logs"
              ]
            },
            {
              "name": "processors",
              "type": "yaml",
              "title": "Processors",
              "description": "Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the logs are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details.\n",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "preserve_original_event",
              "type": "bool",
              "title": "Preserve original event",
              "description": "Preserves a raw copy of the original event, added to the field `event.original`",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": false
            }
          ],
          "template_path": "aws-cloudwatch.yml.hbs",
          "title": "ActiveMQ general logs",
          "description": "Collect ActiveMQ general logs using CloudWatch input.",
          "enabled": true,
          "ingestion_method": "AWS CloudWatch"
        }
      ],
      "package": "aws_mq",
      "path": "activemq_general_logs"
    },
    {
      "type": "metrics",
      "dataset": "aws_mq.activemq_metrics",
      "title": "ActiveMQ Metrics",
      "release": "beta",
      "ingest_pipeline": "default",
      "streams": [
        {
          "input": "aws/metrics",
          "vars": [
            {
              "name": "activemq_quota_metrics",
              "type": "bool",
              "title": "Collect ActiveMQ quota metrics.",
              "description": "When activemq_quota_metrics is set to true, quota metrics including AmqpMaximumConnections, MqttMaximumConnections, OpenwireMaximumConnections, StompMaximumConnections, WsMaximumConnections will be collected.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": true
            },
            {
              "name": "period",
              "type": "text",
              "title": "Collection Period",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "5m"
            },
            {
              "name": "data_granularity",
              "type": "text",
              "title": "Data Granularity",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "regions",
              "type": "text",
              "title": "Regions",
              "multi": true,
              "required": false,
              "show_user": true
            },
            {
              "name": "latency",
              "type": "text",
              "title": "Latency",
              "description": "The 'latency' parameter adjusts the Metricbeat collection start and end times. AWS CloudWatch might experience delay in processing metrics for some services causing data points to be missed during the integration collection period. To mitigate this potential issue, specify a latency parameter such as `15m`.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "tags_filter",
              "type": "yaml",
              "title": "Tags Filter",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "# - key: \"created-by\"\n  # value: \"foo\"\n"
            },
            {
              "name": "include_linked_accounts",
              "type": "bool",
              "title": "Include Linked Accounts",
              "description": "When include_linked_accounts is set to true, CloudWatch metrics will be collected from both linked accounts and the monitoring account. Default is true.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": true
            },
            {
              "name": "owning_account",
              "type": "integer",
              "title": "Owning Account",
              "description": "Accepts an AWS account ID linked to the monitoring account. Works only if include_linked_accounts is set to true. If set, monitoring data will only include data from the given account.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "processors",
              "type": "yaml",
              "title": "Processors",
              "description": "Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the events are shipped. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details.\n",
              "multi": false,
              "required": false,
              "show_user": false
            }
          ],
          "template_path": "stream.yml.hbs",
          "title": "Apache ActiveMQ metrics",
          "description": "Collect Apache ActiveMQ metrics",
          "enabled": true,
          "ingestion_method": "API"
        }
      ],
      "package": "aws_mq",
      "elasticsearch": {
        "ingest_pipeline.name": "default"
      },
      "path": "activemq_metrics"
    },
    {
      "type": "logs",
      "dataset": "aws_mq.rabbitmq_general_logs",
      "title": "RabbitMQ general logs",
      "release": "beta",
      "ingest_pipeline": "default",
      "streams": [
        {
          "input": "aws-cloudwatch",
          "vars": [
            {
              "name": "log_group_arn",
              "type": "text",
              "title": "Log Group ARN",
              "description": "ARN of the log group to collect logs from.",
              "multi": false,
              "required": false,
              "show_user": true
            },
            {
              "name": "log_group_name",
              "type": "text",
              "title": "Log Group Name",
              "description": "Name of the log group to collect logs from. `region_name` is required when `log_group_name` is given.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "log_group_name_prefix",
              "type": "text",
              "title": "Log Group Name Prefix",
              "description": "The prefix for a group of log group names. `region_name` is required when `log_group_name_prefix` is given. `log_group_name` and `log_group_name_prefix` cannot be given at the same time.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "include_linked_accounts_with_prefix",
              "type": "bool",
              "title": "Include Linked Accounts with prefix",
              "description": "Include log groups from linked accounts when using `log_group_name_prefix` to derive the monitoring log groups.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "region_name",
              "type": "text",
              "title": "Region Name",
              "description": "Region that the specified log group or log group prefix belongs to.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "log_streams",
              "type": "text",
              "title": "Log Streams",
              "description": "A list of strings of log streams names that Filebeat collect log events from.",
              "multi": true,
              "required": false,
              "show_user": false
            },
            {
              "name": "log_stream_prefix",
              "type": "text",
              "title": "Log Stream Prefix",
              "description": "A string to filter the results to include only log events from log streams that have names starting with this prefix.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "start_position",
              "type": "text",
              "title": "Start Position",
              "description": "Specify whether the input should start reading logs from the `beginning` (oldest log entry), `end` (newest log entry), or `lastSync` (last successful read timestamp if input ran before).",
              "multi": false,
              "required": false,
              "show_user": true,
              "default": "beginning"
            },
            {
              "name": "scan_frequency",
              "type": "text",
              "title": "Scan Frequency",
              "description": "This config parameter sets how often Filebeat checks for new log events from the specified log group.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "1m"
            },
            {
              "name": "api_timeput",
              "type": "text",
              "title": "API Timeout",
              "description": "The maximum duration of AWS API can take. If it exceeds the timeout, AWS API will be interrupted.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "120s"
            },
            {
              "name": "api_sleep",
              "type": "text",
              "title": "API Sleep",
              "description": "This is used to sleep between AWS FilterLogEvents API calls inside the same collection period. `FilterLogEvents` API has a quota of 5 transactions per second (TPS)/account/Region. This value should only be adjusted when there are multiple Filebeats or multiple Filebeat inputs collecting logs from the same region and AWS account.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "200ms"
            },
            {
              "name": "latency",
              "type": "text",
              "title": "Latency",
              "description": "The amount of time required for the logs to be available to CloudWatch Logs. Sample values, `1m` or `5m` — see Golang [time.ParseDuration](https://pkg.go.dev/time#ParseDuration) for more details. Latency translates the query's time range to consider the CloudWatch Logs latency. Example: `5m` means that the integration will query CloudWatch to search for logs available 5 minutes ago.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "number_of_workers",
              "type": "integer",
              "title": "Number of workers",
              "description": "The number of workers assigned to reading from log groups. Each worker will read log events from one of the log groups matching `log_group_name_prefix`. For example, if `log_group_name_prefix` matches five log groups, then `number_of_workers` should be set to `5`. The default value is `1`.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "tags",
              "type": "text",
              "title": "Tags",
              "multi": true,
              "required": true,
              "show_user": false,
              "default": [
                "forwarded",
                "aws_mq-rabbitmq-general-logs"
              ]
            },
            {
              "name": "processors",
              "type": "yaml",
              "title": "Processors",
              "description": "Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the logs are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details.\n",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "preserve_original_event",
              "type": "bool",
              "title": "Preserve original event",
              "description": "Preserves a raw copy of the original event, added to the field `event.original`",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": false
            }
          ],
          "template_path": "aws-cloudwatch.yml.hbs",
          "title": "RabbitMQ general logs",
          "description": "Collect RabbitMQ general logs using CloudWatch input.",
          "enabled": true,
          "ingestion_method": "AWS CloudWatch"
        }
      ],
      "package": "aws_mq",
      "path": "rabbitmq_general_logs"
    },
    {
      "type": "metrics",
      "dataset": "aws_mq.rabbitmq_metrics",
      "title": "RabbitMQ Metrics",
      "release": "beta",
      "ingest_pipeline": "default",
      "streams": [
        {
          "input": "aws/metrics",
          "vars": [
            {
              "name": "period",
              "type": "text",
              "title": "Collection Period",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "5m"
            },
            {
              "name": "data_granularity",
              "type": "text",
              "title": "Data Granularity",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "regions",
              "type": "text",
              "title": "Regions",
              "multi": true,
              "required": false,
              "show_user": true
            },
            {
              "name": "latency",
              "type": "text",
              "title": "Latency",
              "description": "The 'latency' parameter adjusts the Metricbeat collection start and end times. AWS CloudWatch might experience delay in processing metrics for some services causing data points to be missed during the integration collection period. To mitigate this potential issue, specify a latency parameter such as `15m`.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "tags_filter",
              "type": "yaml",
              "title": "Tags Filter",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "# - key: \"created-by\"\n  # value: \"foo\"\n"
            },
            {
              "name": "include_linked_accounts",
              "type": "bool",
              "title": "Include Linked Accounts",
              "description": "When include_linked_accounts is set to true, CloudWatch metrics will be collected from both linked accounts and the monitoring account. Default is true.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": true
            },
            {
              "name": "owning_account",
              "type": "integer",
              "title": "Owning Account",
              "description": "Accepts an AWS account ID linked to the monitoring account. Works only if include_linked_accounts is set to true. If set, monitoring data will only include data from the given account.",
              "multi": false,
              "required": false,
              "show_user": false
            },
            {
              "name": "processors",
              "type": "yaml",
              "title": "Processors",
              "description": "Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the events are shipped. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details.\n",
              "multi": false,
              "required": false,
              "show_user": false
            }
          ],
          "template_path": "stream.yml.hbs",
          "title": "RabbitMQ metrics",
          "description": "Collect RabbitMQ metrics",
          "enabled": true,
          "ingestion_method": "API"
        }
      ],
      "package": "aws_mq",
      "elasticsearch": {
        "ingest_pipeline.name": "default"
      },
      "path": "rabbitmq_metrics"
    }
  ],
  "vars": [
    {
      "name": "shared_credential_file",
      "type": "text",
      "title": "Shared Credential File",
      "description": "Directory of the shared credentials file",
      "multi": false,
      "required": false,
      "show_user": false
    },
    {
      "name": "credential_profile_name",
      "type": "text",
      "title": "Credential Profile Name",
      "multi": false,
      "required": false,
      "show_user": false
    },
    {
      "name": "access_key_id",
      "type": "password",
      "title": "Access Key ID",
      "multi": false,
      "required": false,
      "show_user": true
    },
    {
      "name": "secret_access_key",
      "type": "password",
      "title": "Secret Access Key",
      "multi": false,
      "required": false,
      "show_user": true
    },
    {
      "name": "session_token",
      "type": "password",
      "title": "Session Token",
      "multi": false,
      "required": false,
      "show_user": true
    },
    {
      "name": "role_arn",
      "type": "text",
      "title": "Role ARN",
      "multi": false,
      "required": false,
      "show_user": false
    },
    {
      "name": "endpoint",
      "type": "text",
      "title": "Endpoint",
      "description": "URL of the entry point for an AWS web service",
      "multi": false,
      "required": false,
      "show_user": false,
      "default": ""
    },
    {
      "name": "default_region",
      "type": "text",
      "title": "Default AWS Region",
      "description": "Default region to use prior to connecting to region specific services/endpoints if no AWS region is set from environment variable, credentials or instance profile. If none of the above are set and no default region is set as well, `us-east-1` is used. A region, either from environment variable, credentials or instance profile or from this default region setting, needs to be set when using regions in non-regular AWS environments such as AWS China or US Government Isolated.",
      "multi": false,
      "required": false,
      "show_user": false,
      "default": ""
    },
    {
      "name": "proxy_url",
      "type": "text",
      "title": "Proxy URL",
      "description": "URL to proxy connections in the form of http\\[s\\]://<user>:<password>@<server name/ip>:<port>",
      "multi": false,
      "required": false,
      "show_user": false
    }
  ]
}
