Редагувати

Поділитися через


QuickStart: Get started with Elastic

In this quickstart, you use the Azure portal to integrate an instance of Elastic with your Azure solutions.

Prerequisites

  • Subscription owner - The Elastic integration with Azure can only be created by users who have Owner or Contributor permissions on the Azure subscription. Confirm that you have the appropriate access before starting the setup.
  • Single sign-on app - The ability to automatically navigate between the Azure portal and Elastic Cloud is enabled via single sign-on (SSO). This option is automatically enabled and turned on for all Azure users.

Find offer

Use the Azure portal to find the Elastic application.

  1. In a web browser, go to the Azure portal and sign in.

  2. If you've visited the Marketplace in a recent session, select the icon from the available options. Otherwise, search for Marketplace.

    Image of marketplace icon.

  3. Search for Elastic and select Elastic Cloud (Elasticsearch) - An Azure Native ISV Service from the available offerings.

  4. Select Set up + subscribe.

    select offer.

Create resource

After you've selected the offer for Elastic, you're ready to set up the application.

  1. On the Create Elastic Resource basics page, provide the following values.

    Form to set up Elastic resource.

    Property Description
    Subscription From the drop-down, select an Azure subscription where you have owner access.
    Resource group Specify whether you want to create a new resource group or use an existing resource group. A resource group is a container that holds related resources for an Azure solution. For more information, see Azure Resource Group overview.
    Elastic account name Provide the name for the Elastic account you want to create
    Region Select the region you want to deploy to.
    Pricing Plan Pay as you go.
    Price Specified based on the selected Elastic plan.

    When you've finished, select Next: Logs and Metrics.

  2. On Logs & metrics, specify which logs to send to Elastic.

    Select logs to send.

    There are two types of logs that can be emitted from Azure to Elastic.

    Subscription logs provide insights into the operations on each Azure resource in the subscription from the management plane. The logs also provide updates on Service Health events. Use the activity log to determine what, who, and when for any write operations (PUT, POST, DELETE) on the resources in your subscription. There's a single activity log for each Azure subscription.

    Azure resource logs provide insights into operations that happen within the data plane. For example, getting a secret from a key vault or making a request to a database are data plane activities. The content of resource logs varies by the Azure service and resource type. The types of Azure resource logs are listed in Azure Monitor Resource Log categories.

    To filter the Azure resources that send logs to Elastic, use resource tags. The tag rules for sending logs are:

    • By default, logs are collected for all resources.
    • Resources with Include tags send logs to Elastic.
    • Resources with Exclude tags don't send logs to Elastic.
    • If there's a conflict between inclusion and exclusion rules, exclusion takes priority.

    Select Next: Azure OpenAI configuration to create and configure Azure OpenAI connector that can be used within Elastic's AI Assistant.

  3. On Azure OpenAI configuration, specify the Azure OpenAI resource and the deployment that would be required to configure the connector. The details of the deployment (url, API keys etc.) are passed on to Elastic to prepare the connector to be used with Elastic's AI Assistant.

    Screenshot of how to configure Azure OpenAI Connector.

    Note

    Only deployments of text/chat completion models (like gpt4) are supported currently. Learn more about Elastic Connectors here.

    Select Next: Tags to set up tags for the new Elastic resource.

  4. In Tags, add custom tags for the new Elastic resource. Each tag consists of a name and value. When you've finished adding tags, select Next: Review+Create to navigate to the final step for resource creation.

    Screenshot of add tags to Elastic resource.

  5. On Review + create, your configuration is validated. You can review the selections you made in the earlier forms. You can also review the terms for this offering.

    Review and validation selections

    After validation has succeeded and you've reviewed the terms, select Create.

  6. Azure starts the deployment.

    Deployment status

  7. After the deployment is finished, select Go to resource to view the deployed resource.

    Screenshot of view status of deployment.

Next steps