edit-icon download-icon

Basic questions

Last Updated: Apr 02, 2018

Question list

  1. What is Log Service?
  2. What functions does Log Service provide?
  3. What are the basic concepts of Log Service?
  4. What are the components of Log Service?
  5. How is a log defined in Log Service?

1. What is Log Service?

Log Service (abbreviated to LOG) is a platform service used to collect, store, and subscribe to logs. Various types of logs can be collected in real time, managed in a centralized way, and consumed by using Log Service.

2. What functions does Log Service provide?

  • Provide multiple ways of writing logs (use APIs, SDKs, and Logtail to access Log Service).
  • Use Logtail to define the log collection and parsing methods.
  • Use machine groups to manage log collection on thousands of machines.
  • Consume and subscribe to logs in real time.
  • Provide the simple configuration in the console, which allows you to perform all the operations on the Web.
  • Seamlessly interconnect with multiple cloud products of Alibaba Cloud in the backend.

3. What are the basic concepts of Log Service?

  • Core concepts: Project (the basic unit used to manage logs), Logstore, shard, topic (used for secondary classification of Logstores), log (number of logs), and log group.
  • Concepts about log collection: Logtail configuration (used to define how to collect logs) and machine group (used to manage machines in groups).

4. What are the components of Log Service?

Log Service consists of a log collection client, a server, and other systems. Currently, the client is a log collection agent (Logtail) that is compatible with Windows and Linux. The server is responsible for reading, writing, and configuring Log Service APIs. Other systems include Alibaba Cloud products such as Object Storage Service, that is, Log Service supports synchronizing logs to cloud products such as OSS.

5. How is a log defined in Log Service?

A log contains three parts: time (required), log content (composed of key-value pairs), and metadata (the source IP address of logs).

Thank you! We've received your feedback.