Get started with system logs

edit

[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

Required role

The Admin role or higher is required to onboard log data. To learn more, refer to Assign user roles and privileges.

In this guide you’ll learn how to onboard system log data from a machine or server, then observe the data in Logs Explorer.

To onboard system log data:

  1. Create a new Observability project, or open an existing one.
  2. In your Observability project, go to Add data.
  3. Under Collect and analyze logs, click Stream host system logs. When the page loads, the system integration is installed automatically, and a new API key is created. Make sure you copy the API key and store it in a secure location.
  4. Follow the in-product steps to install and configure the Elastic Agent. Notice that you can choose to download the agent’s config automatically to avoid adding it manually.

After the agent is installed and successfully streaming log data, you can view the data in the UI:

  1. From the navigation menu, go to Discover and select the Logs Explorer tab. The view shows all log datasets. Notice you can add fields, change the view, expand a document to see details, and perform other actions to explore your data.
  2. Click All log datasets and select Systemsyslog to show syslog logs.
Screen capture of the Logs Explorer showing syslog dataset selected
Next steps
edit

Now that you’ve added system logs and explored your data, learn how to onboard other types of data:

To onboard other types of data, select Add Data from the main menu.