logstash/docs/reference/serverless-monitoring-with-elastic-agent.md
Colleen McGinnis 3115c78bf8
[docs] Migrate docs from AsciiDoc to Markdown (#17159)
* delete asciidoc files
* add migrated files
2025-02-26 14:19:48 -05:00

3.4 KiB
Raw Blame History

navigation_title mapped_pages
Collect monitoring data for dashboards ({{serverless-short}} )
https://www.elastic.co/guide/en/logstash/current/serverless-monitoring-with-elastic-agent.html

Collect {{ls}} monitoring data for dashboards ({{serverless-short}}) [serverless-monitoring-with-elastic-agent]

{{ls}} monitoring is available on {{serverless-full}} through the {{ls}} Integration in Elastic Observability. {{agent}} collects monitoring data from your {{ls}} instance, sends it directly to {{serverless-full}}, and shows the data in {{ls}} dashboards.

Youll need to have an Elastic Observability project. Well provide steps to help you create one.

Prerequisite

::::{dropdown} Disable default collection of {{ls}} monitoring metrics :name: disable-default-svrless

Set monitoring.enabled to false in logstash.yml to disable default collection:

monitoring.enabled: false

::::

Add and configure the {{ls}} integration [setup-project]

Add the {{ls}} integration

  1. Log in to your cloud.elastic.co account and create an Observability serverless project.
  2. Select Get Started from the main menu.
  3. Select Start exploring (near the bottom of the page).
  4. On the Integrations page, search for {{ls}} and select it to see details.
  5. Click Add {{ls}}.
  6. Follow the instructions to install {{agent}} and add the {{ls}} integration.

For more info, check out the Elastic Observability docs.

Configure the integration to collect logs

  • Make sure that Logs is ON if you want to collect logs from your {{ls}} instance. Check the settings to be sure that they are configured correctly.
  • Modify the log paths to match your {{ls}} environment.

Configure the integration to collect metrics

  • Make sure that Metrics (Stack Monitoring) is OFF, and that Metrics (Technical Preview) is ON.
  • Set the {{ls}} URL to point to your {{ls}} instance.
    By default, the integration collects {{ls}} monitoring metrics from https://localhost:9600. If that host and port number are not correct, update the Logstash URL setting. If you configured {{ls}} to use encrypted communications and/or a username and password, you must access it using HTTPS. Expand the Advanced Settings options, and fill in the appropriate values for your {{ls}} instance.

View assets [view-assets-esvrless]

  1. Go to Project settings → Integrations to see your Installed integrations.
  2. Select the {{ls}} integration, and then select Assets to access dashboards for the {{ls}} integration.

Monitor {{ls}} logs and metrics [view-data-svrless]

From the list of assets, open the [Metrics {{ls}}] {{ls}} overview dashboard to view overall performance. Then follow the navigation panel to further drill down into {{ls}} performance.

:::{image} ../images/integration-dashboard-overview.png :alt: The {{ls}} Overview dashboard in {{kib}} with various metrics from your monitored {ls} :class: screenshot :::

You can hover over any visualization to adjust its settings, or click the Edit button to make changes to the dashboard. To learn more, refer to Dashboard and visualizations.