SAE real-time logs display only the latest 500 lines. To meet more advanced query requirements and to centrally manage and analyze logs, you can collect application file logs (from container log paths) and container stdout logs and send them to Simple Log Service (SLS) or Kafka.
-
Set up log collection to SLS: When you enable log collection to SLS, SAE automatically configures log collection during deployment and scale-out, and you can search for logs by keyword in the SLS console.
-
Set up log collection to Kafka: After you enable log collection to Kafka, you can forward data to other persistent stores such as Elasticsearch to meet your business needs.