{
  "name": "azure_application_insights",
  "title": "Azure Application Insights Metrics Overview",
  "version": "1.10.0",
  "release": "ga",
  "description": "Collect application insights metrics from Azure Monitor with Elastic Agent.",
  "type": "integration",
  "download": "/epr/azure_application_insights/azure_application_insights-1.10.0.zip",
  "path": "/package/azure_application_insights/1.10.0",
  "icons": [
    {
      "src": "/img/app_insights.png",
      "path": "/package/azure_application_insights/1.10.0/img/app_insights.png",
      "title": "logo docker",
      "size": "32x32",
      "type": "image/svg+xml"
    }
  ],
  "conditions": {
    "kibana": {
      "version": "~8.19.14 || ~9.2.8 || ^9.3.3"
    },
    "elastic": {
      "subscription": "basic"
    }
  },
  "owner": {
    "type": "elastic",
    "github": "elastic/obs-infraobs-integrations"
  },
  "categories": [
    "azure",
    "cloud",
    "observability"
  ],
  "signature_path": "/epr/azure_application_insights/azure_application_insights-1.10.0.zip.sig",
  "format_version": "3.0.2",
  "readme": "/package/azure_application_insights/1.10.0/docs/README.md",
  "license": "basic",
  "screenshots": [
    {
      "src": "/img/azure_app_insights_app_state-overview.png",
      "path": "/package/azure_application_insights/1.10.0/img/azure_app_insights_app_state-overview.png",
      "title": "App State Overview",
      "size": "5120x2562",
      "type": "image/png"
    }
  ],
  "assets": [
    "/package/azure_application_insights/1.10.0/LICENSE.txt",
    "/package/azure_application_insights/1.10.0/changelog.yml",
    "/package/azure_application_insights/1.10.0/manifest.yml",
    "/package/azure_application_insights/1.10.0/docs/README.md",
    "/package/azure_application_insights/1.10.0/docs/app_insights.md",
    "/package/azure_application_insights/1.10.0/docs/app_state.md",
    "/package/azure_application_insights/1.10.0/img/app_insights.png",
    "/package/azure_application_insights/1.10.0/img/application_insights_blue.png",
    "/package/azure_application_insights/1.10.0/img/azure_app_insights_app_state-overview.png",
    "/package/azure_application_insights/1.10.0/data_stream/app_insights/manifest.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_insights/sample_event.json",
    "/package/azure_application_insights/1.10.0/data_stream/app_state/manifest.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_state/sample_event.json",
    "/package/azure_application_insights/1.10.0/kibana/dashboard/azure_application_insights-d5fbd610-03d9-11eb-8034-63f2039e9d3f.json",
    "/package/azure_application_insights/1.10.0/data_stream/app_insights/fields/agent.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_insights/fields/base-fields.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_insights/fields/ecs.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_insights/fields/fields.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_insights/fields/package-fields.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_state/fields/agent.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_state/fields/base-fields.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_state/fields/ecs.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_state/fields/fields.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_state/fields/package-fields.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_insights/agent/stream/stream.yml.hbs",
    "/package/azure_application_insights/1.10.0/data_stream/app_insights/elasticsearch/ingest_pipeline/default.yml",
    "/package/azure_application_insights/1.10.0/data_stream/app_state/agent/stream/stream.yml.hbs"
  ],
  "policy_templates": [
    {
      "name": "app_insights",
      "title": "Azure Application Insights Metrics",
      "description": "Collect application insights metrics from Azure Monitor with Elastic Agent.",
      "data_streams": [
        "app_insights"
      ],
      "inputs": [
        {
          "type": "azure/metrics",
          "title": "Collect Azure Application Insights metrics",
          "description": "Collecting Azure Application Insights metrics",
          "input_group": "metrics"
        }
      ],
      "multiple": true,
      "icons": [
        {
          "src": "/img//app_insights.png",
          "path": "/package/azure_application_insights/1.10.0/img/app_insights.png",
          "title": "logo azure",
          "size": "32x32",
          "type": "image/svg+xml"
        }
      ],
      "screenshots": [
        {
          "src": "/img/azure_app_insights_app_state-overview.png",
          "path": "/package/azure_application_insights/1.10.0/img/azure_app_insights_app_state-overview.png",
          "title": "App State Overview",
          "size": "5002x2666",
          "type": "image/png"
        }
      ],
      "readme": "/package/azure_application_insights/1.10.0/docs/app_insights.md"
    },
    {
      "name": "app_state",
      "title": "Azure Application State Insights Metrics",
      "description": "Collect application state related metrics from Azure Monitor with Elastic Agent.",
      "data_streams": [
        "app_state"
      ],
      "inputs": [
        {
          "type": "azure/metrics",
          "title": "Collect Azure Application State Insights metrics",
          "description": "Collecting Azure Application State Insights metrics",
          "input_group": "metrics"
        }
      ],
      "multiple": true,
      "icons": [
        {
          "src": "/img/application_insights_blue.png",
          "path": "/package/azure_application_insights/1.10.0/img/application_insights_blue.png",
          "title": "logo azure",
          "size": "32x32",
          "type": "image/svg+xml"
        }
      ],
      "screenshots": [
        {
          "src": "/img/azure_app_insights_app_state-overview.png",
          "path": "/package/azure_application_insights/1.10.0/img/azure_app_insights_app_state-overview.png",
          "title": "App State Overview",
          "size": "5002x2666",
          "type": "image/png"
        }
      ],
      "readme": "/package/azure_application_insights/1.10.0/docs/app_state.md"
    }
  ],
  "data_streams": [
    {
      "type": "metrics",
      "dataset": "azure.app_insights",
      "title": "Azure Application Insights",
      "release": "ga",
      "ingest_pipeline": "default",
      "streams": [
        {
          "input": "azure/metrics",
          "vars": [
            {
              "name": "period",
              "type": "text",
              "title": "Period",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "300s"
            },
            {
              "name": "metrics",
              "type": "yaml",
              "title": "Metrics",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "- id: [\"requests/count\", \"requests/failed\"]\n  segment: [\"request/urlHost\", \"request/name\"]\n  aggregation: [\"sum\"]\n  interval: \"P5M\"\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 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": "Azure Application Insights",
          "description": "Azure Application Insights",
          "enabled": true,
          "ingestion_method": "API"
        }
      ],
      "package": "azure_application_insights",
      "elasticsearch": {
        "ingest_pipeline.name": "default"
      },
      "path": "app_insights"
    },
    {
      "type": "metrics",
      "dataset": "azure.app_state",
      "title": "Azure Application State",
      "release": "ga",
      "streams": [
        {
          "input": "azure/metrics",
          "vars": [
            {
              "name": "period",
              "type": "text",
              "title": "Period",
              "multi": false,
              "required": true,
              "show_user": true,
              "default": "300s"
            },
            {
              "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": "Azure Application State",
          "description": "Azure Application State",
          "enabled": false,
          "ingestion_method": "API"
        }
      ],
      "package": "azure_application_insights",
      "elasticsearch": {},
      "path": "app_state"
    }
  ],
  "vars": [
    {
      "name": "application_id",
      "type": "text",
      "title": "Application ID",
      "multi": false,
      "required": true,
      "show_user": true
    },
    {
      "name": "auth_type",
      "type": "select",
      "title": "Authentication Type",
      "description": "The authentication type to use. Either \"api_key\" or \"client_secret\". The \"client_secret\" option is available from Elastic 8.19.14+, 9.2.8+, and 9.3.3+.",
      "multi": false,
      "required": false,
      "show_user": true,
      "default": "client_secret"
    },
    {
      "name": "api_key",
      "type": "password",
      "title": "Api Key",
      "multi": false,
      "required": false,
      "show_user": true
    },
    {
      "name": "client_id",
      "type": "text",
      "title": "Client ID",
      "description": "The client ID for Entra ID authentication.",
      "multi": false,
      "required": false,
      "show_user": true
    },
    {
      "name": "client_secret",
      "type": "password",
      "title": "Client Secret",
      "description": "The client secret for Entra ID authentication.",
      "multi": false,
      "required": false,
      "show_user": true
    },
    {
      "name": "tenant_id",
      "type": "text",
      "title": "Tenant ID",
      "description": "The tenant ID for Entra ID authentication.",
      "multi": false,
      "required": false,
      "show_user": true
    }
  ]
}
