{
  "name": "qnap_nas",
  "title": "QNAP NAS",
  "version": "1.25.3",
  "release": "ga",
  "description": "Collect logs from QNAP NAS devices with Elastic Agent.",
  "type": "integration",
  "download": "/epr/qnap_nas/qnap_nas-1.25.3.zip",
  "path": "/package/qnap_nas/1.25.3",
  "icons": [
    {
      "src": "/img/logo.svg",
      "path": "/package/qnap_nas/1.25.3/img/logo.svg",
      "title": "QNAP logo",
      "size": "643x121",
      "type": "image/svg+xml"
    }
  ],
  "conditions": {
    "kibana": {
      "version": "^8.11.0 || ^9.0.0"
    }
  },
  "owner": {
    "type": "community",
    "github": "elastic/integration-experience"
  },
  "categories": [
    "security"
  ],
  "signature_path": "/epr/qnap_nas/qnap_nas-1.25.3.zip.sig",
  "format_version": "3.0.3",
  "readme": "/package/qnap_nas/1.25.3/docs/README.md",
  "license": "basic",
  "assets": [
    "/package/qnap_nas/1.25.3/LICENSE.txt",
    "/package/qnap_nas/1.25.3/changelog.yml",
    "/package/qnap_nas/1.25.3/manifest.yml",
    "/package/qnap_nas/1.25.3/validation.yml",
    "/package/qnap_nas/1.25.3/docs/README.md",
    "/package/qnap_nas/1.25.3/img/logo.svg",
    "/package/qnap_nas/1.25.3/kibana/tags.yml",
    "/package/qnap_nas/1.25.3/data_stream/log/manifest.yml",
    "/package/qnap_nas/1.25.3/data_stream/log/sample_event.json",
    "/package/qnap_nas/1.25.3/docs/knowledge_base/service_info.md",
    "/package/qnap_nas/1.25.3/kibana/dashboard/qnap_nas-32e28700-4b0c-11ec-b2cc-b9a3cc301b75.json",
    "/package/qnap_nas/1.25.3/kibana/search/qnap_nas-50acdec0-4b0c-11ec-b2cc-b9a3cc301b75.json",
    "/package/qnap_nas/1.25.3/data_stream/log/fields/base-fields.yml",
    "/package/qnap_nas/1.25.3/data_stream/log/fields/beats.yml",
    "/package/qnap_nas/1.25.3/data_stream/log/fields/ecs.yml",
    "/package/qnap_nas/1.25.3/data_stream/log/fields/fields.yml",
    "/package/qnap_nas/1.25.3/data_stream/log/agent/stream/tcp.yml.hbs",
    "/package/qnap_nas/1.25.3/data_stream/log/agent/stream/udp.yml.hbs",
    "/package/qnap_nas/1.25.3/data_stream/log/elasticsearch/ingest_pipeline/default.yml"
  ],
  "policy_templates": [
    {
      "name": "qnap",
      "title": "QNAP NAS Event & Access logs",
      "description": "Collect logs from QNAP NAS",
      "inputs": [
        {
          "type": "tcp",
          "title": "Collect logs from QNAP NAS via TCP",
          "description": "Collecting logs from QNAP NAS via TCP"
        },
        {
          "type": "udp",
          "title": "Collect logs from QNAP NAS via UDP",
          "description": "Collecting logs from QNAP NAS via UDP"
        }
      ],
      "multiple": true
    }
  ],
  "data_streams": [
    {
      "type": "logs",
      "dataset": "qnap_nas.log",
      "title": "QNAP NAS logs",
      "release": "ga",
      "ingest_pipeline": "default",
      "streams": [
        {
          "input": "tcp",
          "vars": [
            {
              "name": "syslog_host",
              "type": "text",
              "title": "Syslog Host",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "localhost"
            },
            {
              "name": "syslog_port",
              "type": "integer",
              "title": "Syslog Port",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": 9301
            },
            {
              "name": "tz_offset",
              "type": "text",
              "title": "Timezone Offset",
              "description": "By default, datetimes in the logs will be interpreted as relative to the timezone configured in the host where the agent is running. If ingesting logs from a host on a different timezone, use this field to set the timezone offset so that datetimes are correctly parsed. Acceptable timezone formats are: a canonical ID (e.g. \"Europe/Amsterdam\"), abbreviated (e.g. \"EST\") or an HH:mm differential (e.g. \"-05:00\") from UCT.",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "local"
            },
            {
              "name": "tags",
              "type": "text",
              "title": "Tags",
              "multi": true,
              "required": true,
              "show_user": false,
              "default": [
                "qnap-nas",
                "forwarded"
              ]
            },
            {
              "name": "ssl",
              "type": "yaml",
              "title": "SSL Configuration",
              "description": "SSL configuration options. See [documentation](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-ssl.html#ssl-common-config) for details.",
              "multi": false,
              "required": false,
              "show_user": true
            },
            {
              "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
            },
            {
              "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/beats/filebeat/current/filtering-and-enhancing-data.html) for details.\n",
              "multi": false,
              "required": false,
              "show_user": false
            }
          ],
          "template_path": "tcp.yml.hbs",
          "title": "QNAP NAS logs (TCP)",
          "description": "Collect QNAP NAS logs using TCP input",
          "enabled": true,
          "ingestion_method": "Network Protocol"
        },
        {
          "input": "udp",
          "vars": [
            {
              "name": "syslog_host",
              "type": "text",
              "title": "Syslog Host",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "localhost"
            },
            {
              "name": "syslog_port",
              "type": "integer",
              "title": "Syslog Port",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": 9301
            },
            {
              "name": "tz_offset",
              "type": "text",
              "title": "Timezone Offset",
              "description": "By default, datetimes in the logs will be interpreted as relative to the timezone configured in the host where the agent is running. If ingesting logs from a host on a different timezone, use this field to set the timezone offset so that datetimes are correctly parsed. Acceptable timezone formats are: a canonical ID (e.g. \"Europe/Amsterdam\"), abbreviated (e.g. \"EST\") or an HH:mm differential (e.g. \"-05:00\") from UCT.",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "local"
            },
            {
              "name": "tags",
              "type": "text",
              "title": "Tags",
              "multi": true,
              "required": true,
              "show_user": false,
              "default": [
                "qnap-nas",
                "forwarded"
              ]
            },
            {
              "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
            },
            {
              "name": "udp_options",
              "type": "yaml",
              "title": "Custom UDP Options",
              "description": "Specify custom configuration options for the UDP input.",
              "multi": false,
              "required": false,
              "show_user": false,
              "default": "#read_buffer: 100MiB\n#max_message_size: 50KiB\n#timeout: 300s\n"
            },
            {
              "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/beats/filebeat/current/filtering-and-enhancing-data.html) for details.",
              "multi": false,
              "required": false,
              "show_user": false
            }
          ],
          "template_path": "udp.yml.hbs",
          "title": "QNAP NAS logs (UDP)",
          "description": "Collect QNAP NAS logs using UDP input",
          "enabled": false,
          "ingestion_method": "Network Protocol"
        }
      ],
      "package": "qnap_nas",
      "path": "log"
    }
  ]
}
