Get started with system logs

edit

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 Elastic Observability Serverless project, or open an existing one.
  2. In your Elastic Observability Serverless project, go to Add data.
  3. Under What do you want to monitor?, select HostElastic Agent: Logs & Metrics.
  4. Follow the in-product steps to auto-detect your logs and install and configure the Elastic Agent.

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.