* Remove tech preview from agent driven LS monitoring pages. Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
3.4 KiB
navigation_title | mapped_pages | |
---|---|---|
Collect monitoring data for dashboards ({{serverless-short}} ) |
|
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.
You’ll need to have an Elastic Observability project. We’ll 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
- Log in to your cloud.elastic.co account and create an Observability serverless project.
- Select Get Started from the main menu.
- Select Start exploring (near the bottom of the page).
- On the Integrations page, search for {{ls}} and select it to see details.
- Click Add {{ls}}.
- 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 (Elastic Agent) is turned on (default), and Metrics (Stack Monitoring) is turned off.
- Set the {{ls}} URL to point to your {{ls}} instance.
By default, the integration collects {{ls}} monitoring metrics fromhttps://localhost:9600
. If that host and port number are not correct, update theLogstash 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]
- Go to Project settings → Integrations to see your Installed integrations.
- 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.