Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Log Ingestion

Updated on 2024-05-27 GMT+08:00

You can set log collection paths of hosts in CMDB. ICAgents then collect logs from the hosts based on your specified collection rules, and pack and send the collected log data to AOM on a log stream basis. You can view logs on the AOM console in real time.

Prerequisites

Precautions

  • To use log ingestion, enable Application Insights in Menu Settings. For details, see Menu Settings.
  • The logs of VMs running Windows cannot be reported to AOM.

Ingesting Logs

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Application Insights (Retiring) > Log Ingestion.
  3. Click Access Log in the upper right corner.
  4. Complete the following configurations based on your requirements:

    1. Select Log Stream: Log files in the selected environment are to be ingested to the specified LTS log stream.
      1. Collection Configuration Name: Enter up to 64 characters. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. The name cannot start with a period or underscore, or end with a period.
      2. Log Group: Select a created log group from the drop-down list.
      3. Log Stream: Select a created log stream from the drop-down list.
    2. Host Group configuration: Add the hosts in the selected environment to the LTS host group.
      1. Click Select Environment.
      2. Select the application and region to which the target environment belongs.
      3. Search for or expand the application tree to select the required environment.
      4. Click OK.
    3. Collection Configuration: Set log collection rules.
      1. Collection Path: Add one or more host paths. LTS will collect logs from these paths.
      2. Collect Windows Logs: To collect logs from Windows hosts, enable this option. Filter the logs to collect by configuring Log Type, First Collection Time Offset, and Event Severity.
      3. Log Format: Specifies whether the collected log file is displayed in a single line or multiple lines.
      4. Log Time: When Log Format is set to Single-line, specify whether the log collection time (System time) or log printing time (Time wildcard) is displayed at the beginning of each log line.
        NOTE:
        • System time: the time when logs are collected and sent by ICAgents to LTS.
        • Time wildcard: the time when logs are printed.
      5. Time wildcard: The log print time is used to identify a log and is displayed at the start of each log line. Logs can be filtered based on a time wildcard.
      6. Log Segmentation: must be specified if the Log Format is set to Multi-line. Log time indicates that log segmentation is implemented based on a time wildcard, whereas By regular expression indicates that log segmentation is implemented based on a regular expression.
      7. Regular Expression: used to identify a log.
      8. Click Ingest Now.

  5. View your configuration in the corresponding configuration list.

Viewing and Managing Ingestion Configuration

On the Log Ingestion page, you can search for, view, edit, and delete ingestion configurations.

  • Search

    On the Log Ingestion page, select the target application or component on the left and enter a keyword in the search box on the right.

  • View

    You can view the created ingestion rules on the Log Ingestion page. Click a log group name in the Log Group column to go to the log group details page on the LTS console.

  • Edit

    On the Log Ingestion page, click Edit in the Operation column in the row that contains the target configuration.

  • Delete

    On the Log Ingestion page, click Delete in the Operation column in the row that contains the target configuration. You can also delete configurations in batches.

    NOTE:

    Deleted access configurations or mapped log streams cannot be recovered. Exercise caution when performing this operation.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback