Basic questions

Last Updated: Jun 17, 2017

What is the Log Service?

The Log Service is a platform service used to collect, store, and subscribe to logs. The service enables you to collect in real time, centrally manage and consume various types of logs.

What functions does the Log Service provide?

  1. Multiple ways of logging (using APIs, SDKs, and Logtail)
  2. Definition of log collection and parsing methods using Logtail according to your need
  3. Management of log collection on thousands of machines in machine groups
  4. Real-time log consumption and subscription
  5. Simple configuration through the console, allowing you to perform all operations through the Web
  6. Seamless interconnection between the background and Alibaba Cloud products

How do I activate the Log Service?

Currently, the Log Service is in the open public beta stage. Visit www.aliyun.com, log on to your Alibaba Cloud account, go to the Log Service product page, and click “Activate Now”.

What are the basic concepts of the Log Service?

  1. Core concepts: project (basic unit of log management), LogStore, shard, topic (applicable to level-2 LogStore classification), log (number of logs), and LogGroup
  2. Concepts about log collection: Logtail configuration (which defines how to collect logs) and machine group (used to manage machines in groups)

What are the components of the Log Service?

The Log Service consists of a log collection agent, a server, and other systems. Currently, the log collection agent is Logtail compatible with Windows and Linux. The server is responsible for reading, writing, and configuring Log Service APIs. Other systems include MaxCompute, to which the Log Service synchronizes logs. The Log Service will include the ability to synchronize logs to OSS and AMR for consumption.

How is a log defined in the Log Service?

A log contains three parts: time (mandatory), log content (which consists of key– value pairs), and metadata (data source, which can be defined by the IP addresses of logs).

How does the Log Service work with other Alibaba Cloud services?

  1. ECS: You can install Logtail (agent) to collect logs on your ECS server.
  2. MaxCompute: Logs collected to the Log Service can be automatically posted to your MaxCompute table for online query and offline analysis.
Thank you! We've received your feedback.